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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_handler_observer.h

Issue 2108933003: Reorder browser list on workspace switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed endl 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/x11_desktop_handler_observer.h
diff --git a/ui/views/widget/desktop_aura/x11_desktop_handler_observer.h b/ui/views/widget/desktop_aura/x11_desktop_handler_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..252ca21334314f61aa6ff32ddda6e0c7ea088d0e
--- /dev/null
+++ b/ui/views/widget/desktop_aura/x11_desktop_handler_observer.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_HANDLER_OBSERVER_H_
+#define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_HANDLER_OBSERVER_H_
+
+#include <string>
+
+#include "ui/views/views_export.h"
+
+namespace views {
+
+class VIEWS_EXPORT X11DesktopHandlerObserver {
+ public:
+ // Called when the (platform-specific) workspace ID changes to
+ // |new_workspace|.
+ virtual void OnWorkspaceChanged(const std::string& new_workspace) = 0;
+
+ protected:
+ virtual ~X11DesktopHandlerObserver() {}
+};
+
+} // namespace views
+
+#endif // UI_DISPLAY_DESKTOP_OBSERVER_H_
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698