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

Side by Side Diff: ui/aura/root_window_host_win.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
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AURA_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/aura/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/base/ui_export.h" 10 #include "ui/base/ui_export.h"
11 #include "ui/base/win/window_impl.h" 11 #include "ui/base/win/window_impl.h"
12 12
13 namespace aura { 13 namespace aura {
14 14
15 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { 15 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
16 public: 16 public:
17 RootWindowHostWin(const gfx::Rect& bounds); 17 RootWindowHostWin(const gfx::Rect& bounds);
18 virtual ~RootWindowHostWin(); 18 virtual ~RootWindowHostWin();
19 // RootWindowHost: 19 // RootWindowHost:
20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; 20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE;
21 virtual RootWindow* GetRootWindow() OVERRIDE; 21 virtual RootWindow* GetRootWindow() OVERRIDE;
22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
23 virtual void Show() OVERRIDE; 23 virtual void Show() OVERRIDE;
24 virtual void Hide() OVERRIDE; 24 virtual void Hide() OVERRIDE;
25 virtual void ToggleFullScreen() OVERRIDE; 25 virtual void ToggleFullScreen() OVERRIDE;
26 virtual gfx::Rect GetBounds() const OVERRIDE; 26 virtual gfx::Rect GetBounds() const OVERRIDE;
27 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 27 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
28 virtual gfx::Insets GetInsets() const OVERRIDE;
29 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
28 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 30 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
29 virtual void SetCapture() OVERRIDE; 31 virtual void SetCapture() OVERRIDE;
30 virtual void ReleaseCapture() OVERRIDE; 32 virtual void ReleaseCapture() OVERRIDE;
31 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 33 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
32 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 34 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
33 virtual bool ConfineCursorToRootWindow() OVERRIDE; 35 virtual bool ConfineCursorToRootWindow() OVERRIDE;
34 virtual void UnConfineCursor() OVERRIDE; 36 virtual void UnConfineCursor() OVERRIDE;
35 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; 37 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE;
36 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 38 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
37 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 39 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Set true to let RootWindowHostWin use a popup window 97 // Set true to let RootWindowHostWin use a popup window
96 // with no frame/title so that the window size and test's 98 // with no frame/title so that the window size and test's
97 // expectations matches. 99 // expectations matches.
98 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); 100 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
99 101
100 } // namespace 102 } // namespace
101 103
102 } // namespace aura 104 } // namespace aura
103 105
104 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 106 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698