| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/window_sizer/window_sizer.h" | 5 #include "chrome/browser/ui/window_sizer/window_sizer.h" |
| 6 | 6 |
| 7 #include "chrome/browser/ui/host_desktop.h" | |
| 8 | |
| 9 // This doesn't matter for aura, which has different tiling. | 7 // This doesn't matter for aura, which has different tiling. |
| 10 // static | 8 // static |
| 11 const int WindowSizer::kWindowTilePixels = 10; | 9 const int WindowSizer::kWindowTilePixels = 10; |
| 12 | 10 |
| 13 // static | 11 // static |
| 14 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, | 12 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) { |
| 15 chrome::HostDesktopType type) { | |
| 16 // TODO(skuhne): Check if this isn't needed anymore (since it is implemented | 13 // TODO(skuhne): Check if this isn't needed anymore (since it is implemented |
| 17 // in WindowPositioner) and remove it. | 14 // in WindowPositioner) and remove it. |
| 18 return gfx::Point(); | 15 return gfx::Point(); |
| 19 } | 16 } |
| OLD | NEW |