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

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

Issue 22455002: linux_aura: Implement the static part of the dbus menu for Unity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: The gyp fix Created 7 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
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_
7
8 #include "ui/views/views_export.h"
9
10 namespace views {
11
12 // Allows for the observation of lower level window events.
13 class VIEWS_EXPORT DesktopRootWindowHostObserverX11 {
14 public:
15 virtual ~DesktopRootWindowHostObserverX11() {}
16
17 // Called after we receive a MapNotify event (the X11 server has allocated
18 // resources for it).
19 virtual void OnWindowMapped(unsigned long xid) = 0;
20
21 // Called after we receive an UnmapNotify event (the X11 server has freed
22 // resources for it).
23 virtual void OnWindowUnmapped(unsigned long xid) = 0;
24 };
25
26 } // namespace views
27
28 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_OBSERVER_X11_H_
29
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698