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

Side by Side Diff: ash/wm/overview/window_selector.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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_OVERVIEW_WINDOW_SELECTOR_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Cancels window selection. 61 // Cancels window selection.
62 void CancelSelection(); 62 void CancelSelection();
63 63
64 // ui::EventHandler: 64 // ui::EventHandler:
65 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 65 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
66 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 66 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
67 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 67 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
68 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 68 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
69 69
70 // gfx::DisplayObserver: 70 // gfx::DisplayObserver:
71 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE;
72 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; 71 virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE;
73 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; 72 virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE;
73 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
74 uint32_t metrics) OVERRIDE;
74 75
75 // aura::WindowObserver: 76 // aura::WindowObserver:
76 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; 77 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
77 virtual void OnWindowBoundsChanged(aura::Window* window, 78 virtual void OnWindowBoundsChanged(aura::Window* window,
78 const gfx::Rect& old_bounds, 79 const gfx::Rect& old_bounds,
79 const gfx::Rect& new_bounds) OVERRIDE; 80 const gfx::Rect& new_bounds) OVERRIDE;
80 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 81 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
81 82
82 // aura::client::ActivationChangeObserver: 83 // aura::client::ActivationChangeObserver:
83 virtual void OnWindowActivated(aura::Window* gained_active, 84 virtual void OnWindowActivated(aura::Window* gained_active,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Tracks windows which were hidden because they were not part of the 142 // Tracks windows which were hidden because they were not part of the
142 // overview. 143 // overview.
143 aura::WindowTracker hidden_windows_; 144 aura::WindowTracker hidden_windows_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(WindowSelector); 146 DISALLOW_COPY_AND_ASSIGN(WindowSelector);
146 }; 147 };
147 148
148 } // namespace ash 149 } // namespace ash
149 150
150 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_ 151 #endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_manager.cc ('k') | ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698