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

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

Issue 14299009: In Windows desktop Chrome AURA the HandleVisibilityChanged function on the HWNDMessageHandlerDelega… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 (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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; 132 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE;
133 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 133 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
134 virtual bool IsFullscreen() const OVERRIDE; 134 virtual bool IsFullscreen() const OVERRIDE;
135 virtual void SetOpacity(unsigned char opacity) OVERRIDE; 135 virtual void SetOpacity(unsigned char opacity) OVERRIDE;
136 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 136 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
137 const gfx::ImageSkia& app_icon) OVERRIDE; 137 const gfx::ImageSkia& app_icon) OVERRIDE;
138 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 138 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
139 virtual void FlashFrame(bool flash_frame) OVERRIDE; 139 virtual void FlashFrame(bool flash_frame) OVERRIDE;
140 virtual void OnNativeWidgetFocus() OVERRIDE; 140 virtual void OnNativeWidgetFocus() OVERRIDE;
141 virtual void OnNativeWidgetBlur() OVERRIDE; 141 virtual void OnNativeWidgetBlur() OVERRIDE;
142 virtual void AlwaysPaintActivated(bool value) OVERRIDE;
142 143
143 // Overridden from aura::RootWindowHost: 144 // Overridden from aura::RootWindowHost:
144 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; 145 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE;
145 virtual aura::RootWindow* GetRootWindow() OVERRIDE; 146 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
146 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 147 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
147 virtual void Show() OVERRIDE; 148 virtual void Show() OVERRIDE;
148 virtual void Hide() OVERRIDE; 149 virtual void Hide() OVERRIDE;
149 virtual void ToggleFullScreen() OVERRIDE; 150 virtual void ToggleFullScreen() OVERRIDE;
150 virtual gfx::Rect GetBounds() const OVERRIDE; 151 virtual gfx::Rect GetBounds() const OVERRIDE;
151 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 152 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // can notify widgets when they have lost capture, which controls a bunch of 231 // can notify widgets when they have lost capture, which controls a bunch of
231 // things in views like hiding menus. 232 // things in views like hiding menus.
232 static DesktopRootWindowHostX11* g_current_capture; 233 static DesktopRootWindowHostX11* g_current_capture;
233 234
234 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); 235 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11);
235 }; 236 };
236 237
237 } // namespace views 238 } // namespace views
238 239
239 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 240 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698