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

Side by Side Diff: chrome/browser/ui/window_sizer/window_sizer.h

Issue 1965073002: Rename gfx::Display to display::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/app_list/win/app_list_win.h ('k') | components/test_runner/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ 5 #ifndef CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_
6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ 6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/base/ui_base_types.h" 11 #include "ui/base/ui_base_types.h"
12 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 13
14 class Browser; 14 class Browser;
15 15
16 namespace gfx { 16 namespace display {
17 class Display; 17 class Display;
18 }
19
20 namespace display {
21 using Display = gfx::Display;
22 class Screen; 18 class Screen;
23 } 19 }
24 20
25 /////////////////////////////////////////////////////////////////////////////// 21 ///////////////////////////////////////////////////////////////////////////////
26 // WindowSizer 22 // WindowSizer
27 // 23 //
28 // A class that determines the best new size and position for a window to be 24 // A class that determines the best new size and position for a window to be
29 // shown at based several factors, including the position and size of the last 25 // shown at based several factors, including the position and size of the last
30 // window of the same type, the last saved bounds of the window from the 26 // window of the same type, the last saved bounds of the window from the
31 // previous session, and default system metrics if neither of the above two 27 // previous session, and default system metrics if neither of the above two
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 std::unique_ptr<TargetDisplayProvider> target_display_provider_; 185 std::unique_ptr<TargetDisplayProvider> target_display_provider_;
190 display::Screen* screen_; // not owned. 186 display::Screen* screen_; // not owned.
191 187
192 // Note that this browser handle might be NULL. 188 // Note that this browser handle might be NULL.
193 const Browser* browser_; 189 const Browser* browser_;
194 190
195 DISALLOW_COPY_AND_ASSIGN(WindowSizer); 191 DISALLOW_COPY_AND_ASSIGN(WindowSizer);
196 }; 192 };
197 193
198 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_ 194 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/app_list/win/app_list_win.h ('k') | components/test_runner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698