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

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

Issue 10909043: Cancel drag if display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix, adjust test screen size Created 8 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
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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // Initializes the root window. 108 // Initializes the root window.
109 void Init(); 109 void Init();
110 110
111 // Shows the root window host. 111 // Shows the root window host.
112 void ShowRootWindow(); 112 void ShowRootWindow();
113 113
114 // Hides the root window host. 114 // Hides the root window host.
115 void HideRootWindow(); 115 void HideRootWindow();
116 116
117 // Stop listening events in preparation for shutdown.
118 void StopListeningEvents();
sky 2012/09/10 14:11:37 StopListeningForEvents here and on RootWindowHost.
oshima 2012/09/10 15:49:11 Renamed to PrepareForShutdown.
119
117 RootWindowHostDelegate* AsRootWindowHostDelegate(); 120 RootWindowHostDelegate* AsRootWindowHostDelegate();
118 121
119 // Sets the size of the root window. 122 // Sets the size of the root window.
120 void SetHostSize(const gfx::Size& size_in_pixel); 123 void SetHostSize(const gfx::Size& size_in_pixel);
121 gfx::Size GetHostSize() const; 124 gfx::Size GetHostSize() const;
122 125
123 // Sets the bounds of the host window. 126 // Sets the bounds of the host window.
124 void SetHostBounds(const gfx::Rect& size_in_pixel); 127 void SetHostBounds(const gfx::Rect& size_in_pixel);
125 128
126 // Returns where the RootWindow is on screen. 129 // Returns where the RootWindow is on screen.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 408
406 CompositorLock* compositor_lock_; 409 CompositorLock* compositor_lock_;
407 bool draw_on_compositor_unlock_; 410 bool draw_on_compositor_unlock_;
408 411
409 DISALLOW_COPY_AND_ASSIGN(RootWindow); 412 DISALLOW_COPY_AND_ASSIGN(RootWindow);
410 }; 413 };
411 414
412 } // namespace aura 415 } // namespace aura
413 416
414 #endif // UI_AURA_ROOT_WINDOW_H_ 417 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698