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

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

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void ToggleFullScreen() OVERRIDE; 75 virtual void ToggleFullScreen() OVERRIDE;
76 virtual gfx::Rect GetBounds() const OVERRIDE; 76 virtual gfx::Rect GetBounds() const OVERRIDE;
77 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 77 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
78 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 78 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
79 virtual void SetCapture() OVERRIDE; 79 virtual void SetCapture() OVERRIDE;
80 virtual void ReleaseCapture() OVERRIDE; 80 virtual void ReleaseCapture() OVERRIDE;
81 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 81 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
82 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 82 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
83 virtual bool ConfineCursorToRootWindow() OVERRIDE; 83 virtual bool ConfineCursorToRootWindow() OVERRIDE;
84 virtual void UnConfineCursor() OVERRIDE; 84 virtual void UnConfineCursor() OVERRIDE;
85 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; 85 virtual void OnCursorEnableStateChanged(bool enabled) OVERRIDE;
86 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 86 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
87 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 87 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
88 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, 88 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds,
89 const gfx::Point& dest_offset, 89 const gfx::Point& dest_offset,
90 SkCanvas* canvas) OVERRIDE; 90 SkCanvas* canvas) OVERRIDE;
91 virtual bool GrabSnapshot( 91 virtual bool GrabSnapshot(
92 const gfx::Rect& snapshot_bounds, 92 const gfx::Rect& snapshot_bounds,
93 std::vector<unsigned char>* png_representation) OVERRIDE; 93 std::vector<unsigned char>* png_representation) OVERRIDE;
94 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 94 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
95 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 95 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
96 virtual void PrepareForShutdown() OVERRIDE; 96 virtual void PrepareForShutdown() OVERRIDE;
97 97
98 RootWindowHostDelegate* delegate_; 98 RootWindowHostDelegate* delegate_;
99 IPC::Sender* host_; 99 IPC::Sender* host_;
100 scoped_ptr<ui::ViewProp> prop_; 100 scoped_ptr<ui::ViewProp> prop_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin); 102 DISALLOW_COPY_AND_ASSIGN(RemoteRootWindowHostWin);
103 }; 103 };
104 104
105 } // namespace aura 105 } // namespace aura
106 106
107 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_ 107 #endif // UI_AURA_REMOTE_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698