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

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

Issue 10399118: 2x Cursor support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remoev extra space Created 8 years, 7 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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Grabs the snapshot of the root window by using the platform-dependent APIs. 93 // Grabs the snapshot of the root window by using the platform-dependent APIs.
94 virtual bool GrabSnapshot( 94 virtual bool GrabSnapshot(
95 const gfx::Rect& snapshot_bounds, 95 const gfx::Rect& snapshot_bounds,
96 std::vector<unsigned char>* png_representation) = 0; 96 std::vector<unsigned char>* png_representation) = 0;
97 97
98 // Posts |native_event| to the platform's event queue. 98 // Posts |native_event| to the platform's event queue.
99 #if !defined(OS_MACOSX) 99 #if !defined(OS_MACOSX)
100 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; 100 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
101 #endif 101 #endif
102
103 // Called when the device scale factor of the root window has chagned.
104 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
102 }; 105 };
103 106
104 } // namespace aura 107 } // namespace aura
105 108
106 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ 109 #endif // UI_AURA_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698