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

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

Issue 9837046: Revert r128507 "Revert r128436 "relanding: disabled workspace_window_resizer test. fixed access-aft… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/aura/root_window_host.h" 10 #include "ui/aura/root_window_host.h"
(...skipping 15 matching lines...) Expand all
26 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 26 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 27 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
28 virtual void SetCapture() OVERRIDE; 28 virtual void SetCapture() OVERRIDE;
29 virtual void ReleaseCapture() OVERRIDE; 29 virtual void ReleaseCapture() OVERRIDE;
30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 30 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
31 virtual void ShowCursor(bool show) OVERRIDE; 31 virtual void ShowCursor(bool show) OVERRIDE;
32 virtual gfx::Point QueryMouseLocation() OVERRIDE; 32 virtual gfx::Point QueryMouseLocation() OVERRIDE;
33 virtual bool ConfineCursorToRootWindow() OVERRIDE; 33 virtual bool ConfineCursorToRootWindow() OVERRIDE;
34 virtual void UnConfineCursor() OVERRIDE; 34 virtual void UnConfineCursor() OVERRIDE;
35 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 35 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
36 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
36 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 37 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
37 38
38 private: 39 private:
39 BEGIN_MSG_MAP_EX(RootWindowHostWin) 40 BEGIN_MSG_MAP_EX(RootWindowHostWin)
40 // Range handlers must go first! 41 // Range handlers must go first!
41 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange) 42 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange)
42 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange) 43 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange)
43 44
44 // Mouse capture events. 45 // Mouse capture events.
45 MESSAGE_HANDLER_EX(WM_CAPTURECHANGED, OnCaptureChanged) 46 MESSAGE_HANDLER_EX(WM_CAPTURECHANGED, OnCaptureChanged)
(...skipping 26 matching lines...) Expand all
72 RECT saved_window_rect_; 73 RECT saved_window_rect_;
73 DWORD saved_window_style_; 74 DWORD saved_window_style_;
74 DWORD saved_window_ex_style_; 75 DWORD saved_window_ex_style_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); 77 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
77 }; 78 };
78 79
79 } // namespace aura 80 } // namespace aura
80 81
81 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 82 #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