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

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

Issue 183893031: x11: Simplify some more event-rewrite code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge 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 | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | ui/aura/window_tree_host.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_H_ 5 #ifndef UI_AURA_WINDOW_TREE_HOST_H_
6 #define UI_AURA_WINDOW_TREE_HOST_H_ 6 #define UI_AURA_WINDOW_TREE_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/event_types.h" 10 #include "base/event_types.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 void DestroyDispatcher(); 178 void DestroyDispatcher();
179 179
180 void CreateCompositor(gfx::AcceleratedWidget accelerated_widget); 180 void CreateCompositor(gfx::AcceleratedWidget accelerated_widget);
181 181
182 // Returns the location of the RootWindow on native screen. 182 // Returns the location of the RootWindow on native screen.
183 virtual gfx::Point GetLocationOnNativeScreen() const = 0; 183 virtual gfx::Point GetLocationOnNativeScreen() const = 0;
184 184
185 void OnHostMoved(const gfx::Point& new_location); 185 void OnHostMoved(const gfx::Point& new_location);
186 void OnHostResized(const gfx::Size& new_size); 186 void OnHostResized(const gfx::Size& new_size);
187 void OnHostCloseRequested(); 187 void OnHostCloseRequested();
188 void OnKeyboardMappingChanged();
189 188
190 // Sets the currently displayed cursor. 189 // Sets the currently displayed cursor.
191 virtual void SetCursorNative(gfx::NativeCursor cursor) = 0; 190 virtual void SetCursorNative(gfx::NativeCursor cursor) = 0;
192 191
193 // Moves the cursor to the specified location relative to the root window. 192 // Moves the cursor to the specified location relative to the root window.
194 virtual void MoveCursorToNative(const gfx::Point& location) = 0; 193 virtual void MoveCursorToNative(const gfx::Point& location) = 0;
195 194
196 // kCalled when the cursor visibility has changed. 195 // kCalled when the cursor visibility has changed.
197 virtual void OnCursorVisibilityChangedNative(bool show) = 0; 196 virtual void OnCursorVisibilityChangedNative(bool show) = 0;
198 197
(...skipping 23 matching lines...) Expand all
222 gfx::NativeCursor last_cursor_; 221 gfx::NativeCursor last_cursor_;
223 222
224 scoped_ptr<ui::ViewProp> prop_; 223 scoped_ptr<ui::ViewProp> prop_;
225 224
226 DISALLOW_COPY_AND_ASSIGN(WindowTreeHost); 225 DISALLOW_COPY_AND_ASSIGN(WindowTreeHost);
227 }; 226 };
228 227
229 } // namespace aura 228 } // namespace aura
230 229
231 #endif // UI_AURA_WINDOW_TREE_HOST_H_ 230 #endif // UI_AURA_WINDOW_TREE_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698