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

Side by Side Diff: ui/aura/root_window.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/monitor_manager.cc ('k') | ui/aura/root_window.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_ROOT_WINDOW_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_H_
6 #define UI_AURA_ROOT_WINDOW_H_ 6 #define UI_AURA_ROOT_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // These methods are used to defer the processing of mouse events related 182 // These methods are used to defer the processing of mouse events related
183 // to resize. A client (typically a RenderWidgetHostViewAura) can call 183 // to resize. A client (typically a RenderWidgetHostViewAura) can call
184 // HoldMouseMoves when an resize is initiated and then ReleaseMouseMoves 184 // HoldMouseMoves when an resize is initiated and then ReleaseMouseMoves
185 // once the resize is completed. 185 // once the resize is completed.
186 // 186 //
187 // More than one hold can be invoked and each hold must be cancelled by a 187 // More than one hold can be invoked and each hold must be cancelled by a
188 // release before we resume normal operation. 188 // release before we resume normal operation.
189 void HoldMouseMoves(); 189 void HoldMouseMoves();
190 void ReleaseMouseMoves(); 190 void ReleaseMouseMoves();
191 191
192 // Sets if the window should be focused when shown.
193 void SetFocusWhenShown(bool focus_when_shown);
194
192 // Overridden from Window: 195 // Overridden from Window:
193 virtual RootWindow* GetRootWindow() OVERRIDE; 196 virtual RootWindow* GetRootWindow() OVERRIDE;
194 virtual const RootWindow* GetRootWindow() const OVERRIDE; 197 virtual const RootWindow* GetRootWindow() const OVERRIDE;
195 virtual void SetTransform(const ui::Transform& transform) OVERRIDE; 198 virtual void SetTransform(const ui::Transform& transform) OVERRIDE;
196 199
197 // Overridden from ui::CompositorDelegate: 200 // Overridden from ui::CompositorDelegate:
198 virtual void ScheduleDraw() OVERRIDE; 201 virtual void ScheduleDraw() OVERRIDE;
199 202
200 // Overridden from ui::CompositorObserver: 203 // Overridden from ui::CompositorObserver:
201 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE; 204 virtual void OnCompositingStarted(ui::Compositor*) OVERRIDE;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 int mouse_move_hold_count_; 322 int mouse_move_hold_count_;
320 bool should_hold_mouse_moves_; 323 bool should_hold_mouse_moves_;
321 scoped_ptr<MouseEvent> held_mouse_move_; 324 scoped_ptr<MouseEvent> held_mouse_move_;
322 325
323 DISALLOW_COPY_AND_ASSIGN(RootWindow); 326 DISALLOW_COPY_AND_ASSIGN(RootWindow);
324 }; 327 };
325 328
326 } // namespace aura 329 } // namespace aura
327 330
328 #endif // UI_AURA_ROOT_WINDOW_H_ 331 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/monitor_manager.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698