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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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/window_sizer/window_sizer.h ('k') | chrome/common/badge_util.cc » ('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_COMMON_UNITTEST_H_ 5 #ifndef CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_COMMON_UNITTEST_H_
6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_COMMON_UNITTEST_H_ 6 #define CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_COMMON_UNITTEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/browser/ui/window_sizer/window_sizer.h" 11 #include "chrome/browser/ui/window_sizer/window_sizer.h"
12 #include "chrome/test/base/test_browser_window.h" 12 #include "chrome/test/base/test_browser_window.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/geometry/rect.h"
14 14
15 // Some standard primary monitor sizes (no task bar). 15 // Some standard primary monitor sizes (no task bar).
16 static const gfx::Rect p1024x768(0, 0, 1024, 768); 16 static const gfx::Rect p1024x768(0, 0, 1024, 768);
17 static const gfx::Rect p1280x1024(0, 0, 1280, 1024); 17 static const gfx::Rect p1280x1024(0, 0, 1280, 1024);
18 static const gfx::Rect p1600x1200(0, 0, 1600, 1200); 18 static const gfx::Rect p1600x1200(0, 0, 1600, 1200);
19 static const gfx::Rect p1680x1050(0, 0, 1680, 1050); 19 static const gfx::Rect p1680x1050(0, 0, 1680, 1050);
20 static const gfx::Rect p1920x1200(0, 0, 1920, 1200); 20 static const gfx::Rect p1920x1200(0, 0, 1920, 1200);
21 21
22 // Represents a 1024x768 monitor that is the secondary monitor, arranged to 22 // Represents a 1024x768 monitor that is the secondary monitor, arranged to
23 // the immediate left of the primary 1024x768 monitor. 23 // the immediate left of the primary 1024x768 monitor.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // |source|. The |display_config| is the primary display configuration used. 128 // |source|. The |display_config| is the primary display configuration used.
129 ui::WindowShowState GetWindowShowState( 129 ui::WindowShowState GetWindowShowState(
130 ui::WindowShowState show_state_persisted, 130 ui::WindowShowState show_state_persisted,
131 ui::WindowShowState show_state_last, 131 ui::WindowShowState show_state_last,
132 Source source, 132 Source source,
133 const Browser* browser, 133 const Browser* browser,
134 const gfx::Rect& bounds, 134 const gfx::Rect& bounds,
135 const gfx::Rect& display_config); 135 const gfx::Rect& display_config);
136 136
137 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_COMMON_UNITTEST_H_ 137 #endif // CHROME_BROWSER_UI_WINDOW_SIZER_WINDOW_SIZER_COMMON_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/window_sizer/window_sizer.h ('k') | chrome/common/badge_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698