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

Side by Side Diff: ui/display/desktop.h

Issue 2108933003: Reorder browser list on workspace switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase & add desktop.* :P Created 4 years, 5 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 | « ui/display/BUILD.gn ('k') | ui/display/desktop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_DISPLAY_DESKTOP_H_
6 #define UI_DISPLAY_DESKTOP_H_
7
8 #include "base/lazy_instance.h"
9 #include "base/observer_list.h"
10 #include "ui/display/display_export.h"
11
12 namespace display {
13
14 class DesktopObserver;
15
16 class DISPLAY_EXPORT Desktop {
sky 2016/07/01 22:18:33 Sorry for not being clear. I was suggesting you ha
17 public:
18 static void AddObserver(DesktopObserver* observer);
19 static void RemoveObserver(DesktopObserver* observer);
20 protected:
21 static base::LazyInstance<base::ObserverList<DesktopObserver>>::Leaky
22 desktop_observer_list_;
23 };
24
25 } // namespace display
26
27 #endif
OLDNEW
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698