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

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

Issue 2108933003: Reorder browser list on workspace switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Desktop class and remove global OnWorkspaceChanged 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
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_OBSERVER_H_
6 #define UI_DISPLAY_DESKTOP_OBSERVER_H_
7
8 #include <string>
9
10 #include "ui/display/display_export.h"
11
12 namespace display {
13
14 // Observers for desktop configuration changes.
15 class DISPLAY_EXPORT DesktopObserver {
16 public:
17 // Called when the (platform-specific) workspace ID changes to
18 // |new_workspace|.
19 virtual void OnWorkspaceChanged(const std::string& new_workspace) = 0;
20
21 protected:
22 virtual ~DesktopObserver();
23 };
24
25 } // namespace display
26
27 #endif // UI_DISPLAY_DESKTOP_OBSERVER_H_
OLDNEW
« ui/display/BUILD.gn ('K') | « ui/display/BUILD.gn ('k') | ui/display/desktop_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698