Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: chrome/browser/ui/window_sizer/window_sizer_aura.cc

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "ui/gfx/host_desktop_type.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 ui::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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer.cc ('k') | chrome/browser/ui/window_sizer/window_sizer_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698