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

Side by Side Diff: ui/base/x/active_window_watcher_x_observer.h

Issue 8595003: Have panels respond to changes in work area on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move observers into their own header files. Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_
6 #define UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_
7 #pragma once
8
9 #include <gdk/gdk.h>
10
11 #include "ui/base/ui_export.h"
12
13 namespace ui {
14
15 class UI_EXPORT ActiveWindowWatcherXObserver {
16 public:
17 // |active_window| will be NULL if the active window isn't one of Chrome's.
18 virtual void ActiveWindowChanged(GdkWindow* active_window) = 0;
19
20 protected:
21 virtual ~ActiveWindowWatcherXObserver();
sky 2011/11/21 23:50:32 You can inline this. By that I mean put the {} rig
prasadt 2011/11/22 00:46:34 Done.
22 };
23
24 } // namespace ui
25
26 #endif // UI_BASE_X_ACTIVE_WINDOW_WATCHER_X_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698