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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_observer_x11.h

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 months 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace views { 10 namespace views {
11 11
12 // Allows for the observation of lower level window events. 12 // Allows for the observation of lower level window events.
13 class VIEWS_EXPORT DesktopRootWindowHostObserverX11 { 13 class VIEWS_EXPORT DesktopWindowTreeHostObserverX11 {
14 public: 14 public:
15 virtual ~DesktopRootWindowHostObserverX11() {} 15 virtual ~DesktopWindowTreeHostObserverX11() {}
16 16
17 // Called after we receive a MapNotify event (the X11 server has allocated 17 // Called after we receive a MapNotify event (the X11 server has allocated
18 // resources for it). 18 // resources for it).
19 virtual void OnWindowMapped(unsigned long xid) = 0; 19 virtual void OnWindowMapped(unsigned long xid) = 0;
20 20
21 // Called after we receive an UnmapNotify event (the X11 server has freed 21 // Called after we receive an UnmapNotify event (the X11 server has freed
22 // resources for it). 22 // resources for it).
23 virtual void OnWindowUnmapped(unsigned long xid) = 0; 23 virtual void OnWindowUnmapped(unsigned long xid) = 0;
24 }; 24 };
25 25
26 } // namespace views 26 } // namespace views
27 27
28 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_ 28 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_
29 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698