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

Side by Side Diff: ui/aura/root_window_host_linux.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_ROOT_WINDOW_HOST_LINUX_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void ToggleFullScreen() OVERRIDE; 47 virtual void ToggleFullScreen() OVERRIDE;
48 virtual gfx::Rect GetBounds() const OVERRIDE; 48 virtual gfx::Rect GetBounds() const OVERRIDE;
49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
50 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 50 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
51 virtual void SetCapture() OVERRIDE; 51 virtual void SetCapture() OVERRIDE;
52 virtual void ReleaseCapture() OVERRIDE; 52 virtual void ReleaseCapture() OVERRIDE;
53 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE; 53 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE;
54 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 54 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
55 virtual bool ConfineCursorToRootWindow() OVERRIDE; 55 virtual bool ConfineCursorToRootWindow() OVERRIDE;
56 virtual void UnConfineCursor() OVERRIDE; 56 virtual void UnConfineCursor() OVERRIDE;
57 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; 57 virtual void OnCursorEnableStateChanged(bool enabled) OVERRIDE;
58 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; 58 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
59 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; 59 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE;
60 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds, 60 virtual bool CopyAreaToSkCanvas(const gfx::Rect& source_bounds,
61 const gfx::Point& dest_offset, 61 const gfx::Point& dest_offset,
62 SkCanvas* canvas) OVERRIDE; 62 SkCanvas* canvas) OVERRIDE;
63 virtual bool GrabSnapshot( 63 virtual bool GrabSnapshot(
64 const gfx::Rect& snapshot_bounds, 64 const gfx::Rect& snapshot_bounds,
65 std::vector<unsigned char>* png_representation) OVERRIDE; 65 std::vector<unsigned char>* png_representation) OVERRIDE;
66 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; 66 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE;
67 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 67 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 scoped_ptr<MouseMoveFilter> mouse_move_filter_; 125 scoped_ptr<MouseMoveFilter> mouse_move_filter_;
126 126
127 ui::X11AtomCache atom_cache_; 127 ui::X11AtomCache atom_cache_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); 129 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux);
130 }; 130 };
131 131
132 } // namespace aura 132 } // namespace aura
133 133
134 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ 134 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698