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

Unified Diff: ash/display/display_controller.cc

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working on aura with --enable-begin-frame-scheduling Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/base/switches.h » ('j') | cc/base/switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_controller.cc
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
index 4fb77b8f7cf314f6006101954daf39a30e45b4bb..8ec68e6f856d0606064ee14c8f29ef0866737388 100644
--- a/ash/display/display_controller.cc
+++ b/ash/display/display_controller.cc
@@ -36,7 +36,6 @@
#include "ui/aura/window_tracker.h"
#include "ui/aura/window_tree_host.h"
#include "ui/compositor/compositor.h"
-#include "ui/compositor/compositor_vsync_manager.h"
#include "ui/gfx/display.h"
#include "ui/gfx/screen.h"
#include "ui/wm/public/activation_client.h"
@@ -127,6 +126,8 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
CreateRootWindowTransformerForDisplay(host->window(), display));
ash_host->SetRootWindowTransformer(transformer.Pass());
+ /*
+ * Should update this to somewhere.
brianderson 2014/08/21 00:13:59 Let's route it to the cc::Scheduler. Only the Brow
simonhong 2014/08/26 08:24:47 Done.
DisplayMode mode;
if (GetDisplayManager()->GetSelectedModeForDisplayId(display.id(), &mode) &&
mode.refresh_rate > 0.0f) {
@@ -134,6 +135,7 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
base::TimeDelta::FromMicroseconds(
base::Time::kMicrosecondsPerSecond / mode.refresh_rate));
}
+ */
}
aura::Window* GetWindow(AshWindowTreeHost* ash_host) {
« no previous file with comments | « no previous file | cc/base/switches.h » ('j') | cc/base/switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698