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

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

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual gfx::Insets GetInsets() const OVERRIDE; 138 virtual gfx::Insets GetInsets() const OVERRIDE;
139 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 139 virtual void SetInsets(const gfx::Insets& insets) 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; 143 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
144 virtual bool ConfineCursorToRootWindow() OVERRIDE; 144 virtual bool ConfineCursorToRootWindow() OVERRIDE;
145 virtual void UnConfineCursor() OVERRIDE; 145 virtual void UnConfineCursor() OVERRIDE;
146 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 146 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
147 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 147 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
148 virtual void PrepareForShutdown() OVERRIDE;
149 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 148 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
150 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 149 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
151 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 150 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
152 151
153 // Overridden frm ui::EventSource 152 // Overridden frm ui::EventSource
154 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 153 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
155 154
156 private: 155 private:
157 // Initializes our X11 surface to draw on. This method performs all 156 // Initializes our X11 surface to draw on. This method performs all
158 // initialization related to talking to the X11 server. 157 // initialization related to talking to the X11 server.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 scoped_ptr<X11ScopedCapture> x11_capture_; 290 scoped_ptr<X11ScopedCapture> x11_capture_;
292 291
293 base::string16 window_title_; 292 base::string16 window_title_;
294 293
295 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); 294 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
296 }; 295 };
297 296
298 } // namespace views 297 } // namespace views
299 298
300 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ 299 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698