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

Side by Side Diff: ui/aura/root_window_host_win.h

Issue 10828133: Desktop Aura: Allow tab drags out of window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 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
« 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/win/window_impl.h" 10 #include "ui/base/win/window_impl.h"
11 11
12 namespace ui { 12 namespace ui {
13 class ViewProp; 13 class ViewProp;
14 } 14 }
15 15
16 namespace aura { 16 namespace aura {
17 17
18 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { 18 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
19 public: 19 public:
20 RootWindowHostWin(RootWindowHostDelegate* delegate, 20 RootWindowHostWin(RootWindowHostDelegate* delegate,
21 const gfx::Rect& bounds); 21 const gfx::Rect& bounds);
22 virtual ~RootWindowHostWin(); 22 virtual ~RootWindowHostWin();
23 23
24 // RootWindowHost: 24 // RootWindowHost:
25 virtual RootWindow* GetRootWindow() OVERRIDE; 25 virtual RootWindow* GetRootWindow() OVERRIDE;
26 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 26 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
27 virtual void Show() OVERRIDE; 27 virtual void Show() OVERRIDE;
28 virtual void Hide() OVERRIDE;
28 virtual void ToggleFullScreen() OVERRIDE; 29 virtual void ToggleFullScreen() OVERRIDE;
29 virtual gfx::Rect GetBounds() const OVERRIDE; 30 virtual gfx::Rect GetBounds() const OVERRIDE;
30 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 31 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
31 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 32 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
32 virtual void SetCapture() OVERRIDE; 33 virtual void SetCapture() OVERRIDE;
33 virtual void ReleaseCapture() OVERRIDE; 34 virtual void ReleaseCapture() OVERRIDE;
34 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 35 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
35 virtual void ShowCursor(bool show) OVERRIDE; 36 virtual void ShowCursor(bool show) OVERRIDE;
36 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 37 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
37 virtual bool ConfineCursorToRootWindow() OVERRIDE; 38 virtual bool ConfineCursorToRootWindow() OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 DWORD saved_window_ex_style_; 84 DWORD saved_window_ex_style_;
84 85
85 scoped_ptr<ui::ViewProp> prop_; 86 scoped_ptr<ui::ViewProp> prop_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); 88 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
88 }; 89 };
89 90
90 } // namespace aura 91 } // namespace aura
91 92
92 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 93 #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