OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ | 5 #ifndef UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ |
6 #define UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ | 6 #define UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ |
7 | 7 |
8 #include "ui/base/ui_export.h" | 8 #include "ui/base/ui_base_export.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
11 | 11 |
12 // This interface should be implemented by classes that want to be notified | 12 // This interface should be implemented by classes that want to be notified |
13 // when the work area has changed due to something like screen resolution or | 13 // when the work area has changed due to something like screen resolution or |
14 // taskbar changes. | 14 // taskbar changes. |
15 class UI_EXPORT WorkAreaWatcherObserver { | 15 class UI_BASE_EXPORT WorkAreaWatcherObserver { |
16 public: | 16 public: |
17 virtual void WorkAreaChanged() = 0; | 17 virtual void WorkAreaChanged() = 0; |
18 | 18 |
19 protected: | 19 protected: |
20 virtual ~WorkAreaWatcherObserver() {} | 20 virtual ~WorkAreaWatcherObserver() {} |
21 }; | 21 }; |
22 | 22 |
23 } // namespace ui | 23 } // namespace ui |
24 | 24 |
25 #endif // UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ | 25 #endif // UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_ |
OLD | NEW |