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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager.h

Issue 259253002: Add OnDisplayMetricsChanged in DisplayObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_orientation
Patch Set: Created 6 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 | « ash/touch/touch_observer_hud.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 5 #ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 6 #define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void OnOverviewModeStarting() OVERRIDE; 49 virtual void OnOverviewModeStarting() OVERRIDE;
50 virtual void OnOverviewModeEnding() OVERRIDE; 50 virtual void OnOverviewModeEnding() OVERRIDE;
51 51
52 // Overridden from WindowObserver: 52 // Overridden from WindowObserver:
53 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 53 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
54 virtual void OnWindowAdded(aura::Window* window) OVERRIDE; 54 virtual void OnWindowAdded(aura::Window* window) OVERRIDE;
55 virtual void OnWindowBoundsChanged(aura::Window* window, 55 virtual void OnWindowBoundsChanged(aura::Window* window,
56 const gfx::Rect& old_bounds, 56 const gfx::Rect& old_bounds,
57 const gfx::Rect& new_bounds) OVERRIDE; 57 const gfx::Rect& new_bounds) OVERRIDE;
58 58
59 // aura::DisplayObserver overrides: 59 // gfx::DisplayObserver overrides:
60 virtual void OnDisplayBoundsChanged(
61 const gfx::Display& display) OVERRIDE;
62 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; 60 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE;
63 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; 61 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE;
62 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
63 uint32_t metrics) OVERRIDE;
64 64
65 // ui::EventHandler override: 65 // ui::EventHandler override:
66 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 66 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
67 67
68 protected: 68 protected:
69 friend class ash::Shell; 69 friend class ash::Shell;
70 70
71 // The object should only be created by the ash::Shell. 71 // The object should only be created by the ash::Shell.
72 MaximizeModeWindowManager(); 72 MaximizeModeWindowManager();
73 73
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // True if all backdrops are hidden. 118 // True if all backdrops are hidden.
119 bool backdrops_hidden_; 119 bool backdrops_hidden_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager); 121 DISALLOW_COPY_AND_ASSIGN(MaximizeModeWindowManager);
122 }; 122 };
123 123
124 } // namespace ash 124 } // namespace ash
125 125
126 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_ 126 #endif // ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/touch/touch_observer_hud.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698