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

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: 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
« no previous file with comments | « ui/aura/client/window_move_client.h ('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 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // Initializes the root window. 120 // Initializes the root window.
121 void Init(); 121 void Init();
122 122
123 // Shows the root window host. 123 // Shows the root window host.
124 void ShowRootWindow(); 124 void ShowRootWindow();
125 125
126 // Hides the root window host. 126 // Hides the root window host.
127 void HideRootWindow(); 127 void HideRootWindow();
128 128
129 // Stop listening events in preparation for shutdown.
130 void PrepareForShutdown();
131
129 RootWindowHostDelegate* AsRootWindowHostDelegate(); 132 RootWindowHostDelegate* AsRootWindowHostDelegate();
130 133
131 // Sets the size of the root window. 134 // Sets the size of the root window.
132 void SetHostSize(const gfx::Size& size_in_pixel); 135 void SetHostSize(const gfx::Size& size_in_pixel);
133 gfx::Size GetHostSize() const; 136 gfx::Size GetHostSize() const;
134 137
135 // Sets the bounds of the host window. 138 // Sets the bounds of the host window.
136 void SetHostBounds(const gfx::Rect& size_in_pixel); 139 void SetHostBounds(const gfx::Rect& size_in_pixel);
137 140
138 // Returns where the RootWindow is on screen. 141 // Returns where the RootWindow is on screen.
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 420
418 CompositorLock* compositor_lock_; 421 CompositorLock* compositor_lock_;
419 bool draw_on_compositor_unlock_; 422 bool draw_on_compositor_unlock_;
420 423
421 DISALLOW_COPY_AND_ASSIGN(RootWindow); 424 DISALLOW_COPY_AND_ASSIGN(RootWindow);
422 }; 425 };
423 426
424 } // namespace aura 427 } // namespace aura
425 428
426 #endif // UI_AURA_ROOT_WINDOW_H_ 429 #endif // UI_AURA_ROOT_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/client/window_move_client.h ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698