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

Side by Side Diff: ash/wm/mru_window_tracker.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/wm/maximize_mode/workspace_backdrop_delegate.h ('k') | ash/wm/overlay_event_filter.h » ('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 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_MRU_WINDOW_TRACKER_H_ 5 #ifndef ASH_WM_MRU_WINDOW_TRACKER_H_
6 #define ASH_WM_MRU_WINDOW_TRACKER_H_ 6 #define ASH_WM_MRU_WINDOW_TRACKER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // windows to the front of the MRU window list. 55 // windows to the front of the MRU window list.
56 void SetIgnoreActivations(bool ignore); 56 void SetIgnoreActivations(bool ignore);
57 57
58 private: 58 private:
59 // Updates the mru_windows_ list to insert/move |active_window| at/to the 59 // Updates the mru_windows_ list to insert/move |active_window| at/to the
60 // front. 60 // front.
61 void SetActiveWindow(aura::Window* active_window); 61 void SetActiveWindow(aura::Window* active_window);
62 62
63 // Overridden from aura::client::ActivationChangeObserver: 63 // Overridden from aura::client::ActivationChangeObserver:
64 virtual void OnWindowActivated(aura::Window* gained_active, 64 virtual void OnWindowActivated(aura::Window* gained_active,
65 aura::Window* lost_active) OVERRIDE; 65 aura::Window* lost_active) override;
66 66
67 // Overridden from WindowObserver: 67 // Overridden from WindowObserver:
68 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 68 virtual void OnWindowDestroyed(aura::Window* window) override;
69 69
70 // List of windows that have been activated in containers that we cycle 70 // List of windows that have been activated in containers that we cycle
71 // through, sorted by most recently used. 71 // through, sorted by most recently used.
72 std::list<aura::Window*> mru_windows_; 72 std::list<aura::Window*> mru_windows_;
73 73
74 aura::client::ActivationClient* activation_client_; 74 aura::client::ActivationClient* activation_client_;
75 75
76 bool ignore_window_activations_; 76 bool ignore_window_activations_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(MruWindowTracker); 78 DISALLOW_COPY_AND_ASSIGN(MruWindowTracker);
79 }; 79 };
80 80
81 } // namespace ash 81 } // namespace ash
82 82
83 #endif // ASH_WM_MRU_WINDOW_TRACKER_H_ 83 #endif // ASH_WM_MRU_WINDOW_TRACKER_H_
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/workspace_backdrop_delegate.h ('k') | ash/wm/overlay_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698