| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ | 5 #ifndef UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ |
| 6 #define UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ | 6 #define UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
| 9 | 9 |
| 10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_base_export.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 | 13 |
| 14 class UI_EXPORT ActiveWindowWatcherXObserver { | 14 class UI_BASE_EXPORT ActiveWindowWatcherXObserver { |
| 15 public: | 15 public: |
| 16 // |active_window| will be NULL if the active window isn't one of Chrome's. | 16 // |active_window| will be NULL if the active window isn't one of Chrome's. |
| 17 virtual void ActiveWindowChanged(GdkWindow* active_window) = 0; | 17 virtual void ActiveWindowChanged(GdkWindow* active_window) = 0; |
| 18 | 18 |
| 19 protected: | 19 protected: |
| 20 virtual ~ActiveWindowWatcherXObserver() {} | 20 virtual ~ActiveWindowWatcherXObserver() {} |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace ui | 23 } // namespace ui |
| 24 | 24 |
| 25 #endif // UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ | 25 #endif // UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_ |
| OLD | NEW |