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

Side by Side Diff: ash/display/display_controller.h

Issue 17099003: Use primary display as hangout/gtalk broadcast window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « no previous file | ash/display/display_controller.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 ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_CONTROLLER_H_
6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 const DisplayLayout& layout); 224 const DisplayLayout& layout);
225 225
226 void RegisterLayoutForDisplayIdPairInternal( 226 void RegisterLayoutForDisplayIdPairInternal(
227 int64 id1, 227 int64 id1,
228 int64 id2, 228 int64 id2,
229 const DisplayLayout& layout, 229 const DisplayLayout& layout,
230 bool override); 230 bool override);
231 231
232 void OnFadeOutForSwapDisplayFinished(); 232 void OnFadeOutForSwapDisplayFinished();
233 233
234 void UpdateHostWindowNames();
235
234 bool in_bootstrap() const { return in_bootstrap_; } 236 bool in_bootstrap() const { return in_bootstrap_; }
235 237
236 class DisplayChangeLimiter { 238 class DisplayChangeLimiter {
237 public: 239 public:
238 DisplayChangeLimiter(); 240 DisplayChangeLimiter();
239 241
240 // Sets how long the throttling should last. 242 // Sets how long the throttling should last.
241 void SetThrottleTimeout(int64 throttle_ms); 243 void SetThrottleTimeout(int64 throttle_ms);
242 244
243 bool IsThrottled() const; 245 bool IsThrottled() const;
(...skipping 27 matching lines...) Expand all
271 bool in_bootstrap_; 273 bool in_bootstrap_;
272 274
273 scoped_ptr<internal::FocusActivationStore> focus_activation_store_; 275 scoped_ptr<internal::FocusActivationStore> focus_activation_store_;
274 276
275 DISALLOW_COPY_AND_ASSIGN(DisplayController); 277 DISALLOW_COPY_AND_ASSIGN(DisplayController);
276 }; 278 };
277 279
278 } // namespace ash 280 } // namespace ash
279 281
280 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 282 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/display/display_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698