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

Side by Side Diff: trunk/src/ui/aura/window_tree_host_win.h

Issue 205313002: Revert 258077 "Remove PrepareForShutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/ui/aura/window_tree_host_ozone.cc ('k') | trunk/src/ui/aura/window_tree_host_win.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_WIN_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window_tree_host.h" 10 #include "ui/aura/window_tree_host.h"
(...skipping 21 matching lines...) Expand all
32 virtual void SetCapture() OVERRIDE; 32 virtual void SetCapture() OVERRIDE;
33 virtual void ReleaseCapture() OVERRIDE; 33 virtual void ReleaseCapture() OVERRIDE;
34 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; 34 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
35 virtual bool ConfineCursorToRootWindow() OVERRIDE; 35 virtual bool ConfineCursorToRootWindow() OVERRIDE;
36 virtual void UnConfineCursor() OVERRIDE; 36 virtual void UnConfineCursor() OVERRIDE;
37 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; 37 virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;
38 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; 38 virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE;
39 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE; 39 virtual void OnCursorVisibilityChangedNative(bool show) OVERRIDE;
40 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE; 40 virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
41 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 41 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
42 virtual void PrepareForShutdown() OVERRIDE;
42 43
43 // ui::EventSource: 44 // ui::EventSource:
44 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 45 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
45 46
46 private: 47 private:
47 CR_BEGIN_MSG_MAP_EX(WindowTreeHostWin) 48 CR_BEGIN_MSG_MAP_EX(WindowTreeHostWin)
48 // Range handlers must go first! 49 // Range handlers must go first!
49 CR_MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange) 50 CR_MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange)
50 CR_MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, 51 CR_MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE,
51 WM_NCXBUTTONDBLCLK, 52 WM_NCXBUTTONDBLCLK,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Set true to let WindowTreeHostWin use a popup window 94 // Set true to let WindowTreeHostWin use a popup window
94 // with no frame/title so that the window size and test's 95 // with no frame/title so that the window size and test's
95 // expectations matches. 96 // expectations matches.
96 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); 97 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
97 98
98 } // namespace 99 } // namespace
99 100
100 } // namespace aura 101 } // namespace aura
101 102
102 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_ 103 #endif // UI_AURA_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « trunk/src/ui/aura/window_tree_host_ozone.cc ('k') | trunk/src/ui/aura/window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698