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

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

Issue 9837046: Revert r128507 "Revert r128436 "relanding: disabled workspace_window_resizer test. fixed access-aft… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.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 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "ui/aura/cursor.h" 10 #include "ui/aura/cursor.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // method can be expensive. 72 // method can be expensive.
73 virtual gfx::Point QueryMouseLocation() = 0; 73 virtual gfx::Point QueryMouseLocation() = 0;
74 74
75 // Clips the cursor to the bounds of the root window until UnConfineCursor(). 75 // Clips the cursor to the bounds of the root window until UnConfineCursor().
76 virtual bool ConfineCursorToRootWindow() = 0; 76 virtual bool ConfineCursorToRootWindow() = 0;
77 virtual void UnConfineCursor() = 0; 77 virtual void UnConfineCursor() = 0;
78 78
79 // Moves the cursor to the specified location relative to the root window. 79 // Moves the cursor to the specified location relative to the root window.
80 virtual void MoveCursorTo(const gfx::Point& location) = 0; 80 virtual void MoveCursorTo(const gfx::Point& location) = 0;
81 81
82 // Sets if the window should be focused when shown.
83 virtual void SetFocusWhenShown(bool focus_when_shown) = 0;
84
82 // Posts |native_event| to the platform's event queue. 85 // Posts |native_event| to the platform's event queue.
83 #if !defined(OS_MACOSX) 86 #if !defined(OS_MACOSX)
84 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; 87 virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
85 #endif 88 #endif
86 }; 89 };
87 90
88 } // namespace aura 91 } // namespace aura
89 92
90 #endif // UI_AURA_ROOT_WINDOW_HOST_H_ 93 #endif // UI_AURA_ROOT_WINDOW_HOST_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698