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

Side by Side Diff: components/view_manager/surfaces/surfaces_scheduler.cc

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/surfaces/surfaces_scheduler.h" 5 #include "components/view_manager/surfaces/surfaces_scheduler.h"
6 6
7 #include "cc/surfaces/display.h" 7 #include "cc/surfaces/display.h"
8 8
9 namespace surfaces { 9 namespace surfaces {
10 10
11 SurfacesScheduler::SurfacesScheduler() { 11 SurfacesScheduler::SurfacesScheduler() {
12 cc::SchedulerSettings settings; 12 cc::SchedulerSettings settings;
13 scheduler_ = cc::Scheduler::Create( 13 scheduler_ = cc::Scheduler::Create(
14 this, settings, 0, base::MessageLoop::current()->task_runner(), nullptr); 14 this, settings, 0, base::MessageLoop::current()->task_runner(), nullptr);
15 scheduler_->SetCanStart(); 15 scheduler_->SetCanStart();
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 112
113 void SurfacesScheduler::SendBeginFramesToChildren( 113 void SurfacesScheduler::SendBeginFramesToChildren(
114 const cc::BeginFrameArgs& args) { 114 const cc::BeginFrameArgs& args) {
115 } 115 }
116 116
117 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() { 117 void SurfacesScheduler::SendBeginMainFrameNotExpectedSoon() {
118 } 118 }
119 119
120 } // namespace mojo 120 } // namespace mojo
OLDNEW
« no previous file with comments | « components/view_manager/surfaces/surfaces_scheduler.h ('k') | components/view_manager/surfaces/surfaces_service_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698