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

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

Issue 12746002: Re-implement overscan & Implement Display Rotation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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_LINUX_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // Overridden from aura::RootWindowHost: 142 // Overridden from aura::RootWindowHost:
143 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; 143 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE;
144 virtual aura::RootWindow* GetRootWindow() OVERRIDE; 144 virtual aura::RootWindow* GetRootWindow() OVERRIDE;
145 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 145 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
146 virtual void Show() OVERRIDE; 146 virtual void Show() OVERRIDE;
147 virtual void Hide() OVERRIDE; 147 virtual void Hide() OVERRIDE;
148 virtual void ToggleFullScreen() OVERRIDE; 148 virtual void ToggleFullScreen() OVERRIDE;
149 virtual gfx::Rect GetBounds() const OVERRIDE; 149 virtual gfx::Rect GetBounds() const OVERRIDE;
150 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 150 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
151 virtual gfx::Insets GetInsets() const OVERRIDE;
152 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
151 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 153 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
152 virtual void SetCapture() OVERRIDE; 154 virtual void SetCapture() OVERRIDE;
153 virtual void ReleaseCapture() OVERRIDE; 155 virtual void ReleaseCapture() OVERRIDE;
154 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 156 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
155 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 157 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
156 virtual bool ConfineCursorToRootWindow() OVERRIDE; 158 virtual bool ConfineCursorToRootWindow() OVERRIDE;
157 virtual void UnConfineCursor() OVERRIDE; 159 virtual void UnConfineCursor() OVERRIDE;
158 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; 160 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE;
159 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 161 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
160 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 162 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // can notify widgets when they have lost capture, which controls a bunch of 229 // can notify widgets when they have lost capture, which controls a bunch of
228 // things in views like hiding menus. 230 // things in views like hiding menus.
229 static DesktopRootWindowHostLinux* g_current_capture; 231 static DesktopRootWindowHostLinux* g_current_capture;
230 232
231 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); 233 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux);
232 }; 234 };
233 235
234 } // namespace views 236 } // namespace views
235 237
236 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 238 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698