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

Side by Side Diff: chrome/browser/ui/panels/display_settings_provider.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
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_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
6 #define CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 6 #define CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/geometry/rect.h"
11 11
12 // Encapsulates the logic to provide display settings support, including the 12 // Encapsulates the logic to provide display settings support, including the
13 // information for: 13 // information for:
14 // 1) Work area 14 // 1) Work area
15 // 2) Auto-hiding desktop bars, like Windows taskbar and MacOSX dock. 15 // 2) Auto-hiding desktop bars, like Windows taskbar and MacOSX dock.
16 class DisplaySettingsProvider { 16 class DisplaySettingsProvider {
17 public: 17 public:
18 // Indicates which screen edge the desktop bar is aligned to. 18 // Indicates which screen edge the desktop bar is aligned to.
19 // We do not care about the desktop aligned to the top screen edge. 19 // We do not care about the desktop aligned to the top screen edge.
20 enum DesktopBarAlignment { 20 enum DesktopBarAlignment {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // True if full screen mode or presentation mode is entered. 148 // True if full screen mode or presentation mode is entered.
149 bool is_full_screen_; 149 bool is_full_screen_;
150 150
151 // Timer used to detect full-screen mode change. 151 // Timer used to detect full-screen mode change.
152 base::RepeatingTimer<DisplaySettingsProvider> full_screen_mode_timer_; 152 base::RepeatingTimer<DisplaySettingsProvider> full_screen_mode_timer_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(DisplaySettingsProvider); 154 DISALLOW_COPY_AND_ASSIGN(DisplaySettingsProvider);
155 }; 155 };
156 156
157 #endif // CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_ 157 #endif // CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/detached_panel_drag_handler.cc ('k') | chrome/browser/ui/panels/docked_panel_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698