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

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

Issue 23483041: [Cleanup] Remove mac code from aura/ash/views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_mac.h » ('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_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/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Called when the cursor visibility has changed. 91 // Called when the cursor visibility has changed.
92 virtual void OnCursorVisibilityChanged(bool show) = 0; 92 virtual void OnCursorVisibilityChanged(bool show) = 0;
93 93
94 // Moves the cursor to the specified location relative to the root window. 94 // Moves the cursor to the specified location relative to the root window.
95 virtual void MoveCursorTo(const gfx::Point& location) = 0; 95 virtual void MoveCursorTo(const gfx::Point& location) = 0;
96 96
97 // Sets if the window should be focused when shown. 97 // Sets if the window should be focused when shown.
98 virtual void SetFocusWhenShown(bool focus_when_shown) = 0; 98 virtual void SetFocusWhenShown(bool focus_when_shown) = 0;
99 99
100 // Posts |native_event| to the platform's event queue. 100 // Posts |native_event| to the platform's event queue.
101 #if !defined(OS_MACOSX)
102 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; 101 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
103 #endif
104 102
105 // Called when the device scale factor of the root window has chagned. 103 // Called when the device scale factor of the root window has chagned.
106 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0; 104 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) = 0;
107 105
108 // Stop listening events in preparation for shutdown. 106 // Stop listening events in preparation for shutdown.
109 virtual void PrepareForShutdown() = 0; 107 virtual void PrepareForShutdown() = 0;
110 }; 108 };
111 109
112 } // namespace aura 110 } // namespace aura
113 111
114 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ 112 #endif // UI_AURA_ROOT_WINDOW_HOST_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698