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

Side by Side Diff: ui/aura/root_window_host.h

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix, adjust test screen size Created 8 years, 3 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_AURA_ROOT_WINDOW_HOST_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const gfx::Rect& snapshot_bounds, 98 const gfx::Rect& snapshot_bounds,
99 std::vector<unsigned char>* png_representation) = 0; 99 std::vector<unsigned char>* png_representation) = 0;
100 100
101 // Posts |native_event| to the platform's event queue. 101 // Posts |native_event| to the platform's event queue.
102 #if !defined(OS_MACOSX) 102 #if !defined(OS_MACOSX)
103 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; 103 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
104 #endif 104 #endif
105 105
106 // Called when the device scale factor of the root window has chagned. 106 // Called when the device scale factor of the root window has chagned.
107 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; 107 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
108
109 // Stop listening events in preparation for shutdown.
110 virtual void StopListeningEvents() = 0;
108 }; 111 };
109 112
110 } // namespace aura 113 } // namespace aura
111 114
112 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ 115 #endif // UI_AURA_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698