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

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

Issue 10836218: Remove BrowserList::GetLastActive calls from window_sizer.cc et al. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
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"
8
7 // This doesn't matter for aura, which has different tiling. 9 // This doesn't matter for aura, which has different tiling.
8 // static 10 // static
9 const int WindowSizer::kWindowTilePixels = 10; 11 const int WindowSizer::kWindowTilePixels = 10;
10 12
11 // static 13 // static
12 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) { 14 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size,
15 chrome::HostDesktopType type) {
13 // 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
14 // in WindowPositioner) and remove it. 17 // in WindowPositioner) and remove it.
15 return gfx::Point(); 18 return gfx::Point();
16 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698