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" | 7 #include "chrome/browser/ui/host_desktop.h" |
8 | 8 |
9 // This doesn't matter for aura, which has different tiling. | 9 // This doesn't matter for aura, which has different tiling. |
10 // static | 10 // static |
11 const int WindowSizer::kWindowTilePixels = 10; | 11 const int WindowSizer::kWindowTilePixels = 10; |
12 | 12 |
13 // static | 13 // static |
14 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, | 14 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, |
15 chrome::HostDesktopType type) { | 15 ui::HostDesktopType type) { |
16 // TODO(skuhne): Check if this isn't needed anymore (since it is implemented | 16 // TODO(skuhne): Check if this isn't needed anymore (since it is implemented |
17 // in WindowPositioner) and remove it. | 17 // in WindowPositioner) and remove it. |
18 return gfx::Point(); | 18 return gfx::Point(); |
19 } | 19 } |
OLD | NEW |