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_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_ |
OLD | NEW |