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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 251743004: aura: Remove WindowTreeHost::QueryMouseLocation(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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
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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <X11/extensions/shape.h> 8 #include <X11/extensions/shape.h>
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Overridden from aura::WindowTreeHost: 133 // Overridden from aura::WindowTreeHost:
134 virtual ui::EventSource* GetEventSource() OVERRIDE; 134 virtual ui::EventSource* GetEventSource() OVERRIDE;
135 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 135 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
136 virtual void Show() OVERRIDE; 136 virtual void Show() OVERRIDE;
137 virtual void Hide() OVERRIDE; 137 virtual void Hide() OVERRIDE;
138 virtual gfx::Rect GetBounds() const OVERRIDE; 138 virtual gfx::Rect GetBounds() const OVERRIDE;
139 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 139 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
140 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 140 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
141 virtual void SetCapture() OVERRIDE; 141 virtual void SetCapture() OVERRIDE;
142 virtual void ReleaseCapture() OVERRIDE; 142 virtual void ReleaseCapture() OVERRIDE;
143 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
144 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 143 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
145 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 144 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
146 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 145 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
147 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 146 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
148 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 147 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
149 148
150 // Overridden frm ui::EventSource 149 // Overridden frm ui::EventSource
151 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 150 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
152 151
153 private: 152 private:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // attention to the window or completely ignore the hint. We stop flashing 294 // attention to the window or completely ignore the hint. We stop flashing
296 // the frame when |xwindow_| gains focus or handles a mouse button event. 295 // the frame when |xwindow_| gains focus or handles a mouse button event.
297 bool urgency_hint_set_; 296 bool urgency_hint_set_;
298 297
299 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 298 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
300 }; 299 };
301 300
302 } // namespace views 301 } // namespace views
303 302
304 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 303 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698