OLD | NEW |
(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_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_HANDLER_OBSERVER_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_DESKTOP_HANDLER_OBSERVER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "ui/views/views_export.h" |
| 11 |
| 12 namespace views { |
| 13 |
| 14 class VIEWS_EXPORT X11DesktopHandlerObserver { |
| 15 public: |
| 16 // Called when the (platform-specific) workspace ID changes to |
| 17 // |new_workspace|. |
| 18 virtual void OnWorkspaceChanged(const std::string& new_workspace) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~X11DesktopHandlerObserver() {} |
| 22 }; |
| 23 |
| 24 } // namespace views |
| 25 |
| 26 #endif // UI_DISPLAY_DESKTOP_OBSERVER_H_ |
OLD | NEW |