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

Side by Side Diff: ui/aura/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
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/aura/window_tree_host_x11.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_WINDOW_TREE_HOST_X11_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_X11_H_
6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_X11_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual gfx::Insets GetInsets() const OVERRIDE; 54 virtual gfx::Insets GetInsets() const OVERRIDE;
55 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; 55 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE;
56 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; 56 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
57 virtual void SetCapture() OVERRIDE; 57 virtual void SetCapture() OVERRIDE;
58 virtual void ReleaseCapture() OVERRIDE; 58 virtual void ReleaseCapture() OVERRIDE;
59 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 59 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
60 virtual bool ConfineCursorToRootWindow() OVERRIDE; 60 virtual bool ConfineCursorToRootWindow() OVERRIDE;
61 virtual void UnConfineCursor() OVERRIDE; 61 virtual void UnConfineCursor() OVERRIDE;
62 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; 62 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE;
63 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 63 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
64 virtual void PrepareForShutdown() OVERRIDE;
65 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; 64 virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE;
66 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 65 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
67 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 66 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
68 67
69 // EnvObserver overrides. 68 // EnvObserver overrides.
70 virtual void OnWindowInitialized(Window* window) OVERRIDE; 69 virtual void OnWindowInitialized(Window* window) OVERRIDE;
71 virtual void OnHostInitialized(WindowTreeHost* host) OVERRIDE; 70 virtual void OnHostInitialized(WindowTreeHost* host) OVERRIDE;
72 71
73 // ui::EventSource overrides. 72 // ui::EventSource overrides.
74 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 73 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 namespace test { 132 namespace test {
134 133
135 // Set the default value of the override redirect flag used to 134 // Set the default value of the override redirect flag used to
136 // create a X window for WindowTreeHostX11. 135 // create a X window for WindowTreeHostX11.
137 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect); 136 AURA_EXPORT void SetUseOverrideRedirectWindowByDefault(bool override_redirect);
138 137
139 } // namespace test 138 } // namespace test
140 } // namespace aura 139 } // namespace aura
141 140
142 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_ 141 #endif // UI_AURA_WINDOW_TREE_HOST_X11_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_win.cc ('k') | ui/aura/window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698