15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved. 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file. 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "chrome/browser/ui/window_sizer/window_sizer.h" 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "chrome/browser/ui/host_desktop.h" 85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// This doesn't matter for aura, which has different tiling. 105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// static 115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)const int WindowSizer::kWindowTilePixels = 10; 125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// static 145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, 155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) chrome::HostDesktopType type) { 165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) // TODO(skuhne): Check if this isn't needed anymore (since it is implemented 175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) // in WindowPositioner) and remove it. 185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) return gfx::Point(); 195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)} 20