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

Side by Side Diff: sky/viewer/document_view.cc

Issue 1174063002: Remove use of MessageLoopProxy (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « shell/task_runners.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sky/viewer/document_view.h" 5 #include "sky/viewer/document_view.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop/message_loop_proxy.h"
10 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
11 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
12 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
13 #include "mojo/converters/geometry/geometry_type_converters.h" 12 #include "mojo/converters/geometry/geometry_type_converters.h"
14 #include "mojo/converters/input_events/input_events_type_converters.h" 13 #include "mojo/converters/input_events/input_events_type_converters.h"
15 #include "mojo/public/cpp/application/connect.h" 14 #include "mojo/public/cpp/application/connect.h"
16 #include "mojo/public/cpp/system/data_pipe.h" 15 #include "mojo/public/cpp/system/data_pipe.h"
17 #include "mojo/public/interfaces/application/shell.mojom.h" 16 #include "mojo/public/interfaces/application/shell.mojom.h"
18 #include "mojo/services/view_manager/public/cpp/view.h" 17 #include "mojo/services/view_manager/public/cpp/view.h"
19 #include "mojo/services/view_manager/public/cpp/view_manager.h" 18 #include "mojo/services/view_manager/public/cpp/view_manager.h"
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 new mojo::StrongBinding<mojo::ServiceProvider>(sp_impl, &sp)); 436 new mojo::StrongBinding<mojo::ServiceProvider>(sp_impl, &sp));
438 service_registry_->AddServices(interface_names.Pass(), sp.Pass()); 437 service_registry_->AddServices(interface_names.Pass(), sp.Pass());
439 } 438 }
440 439
441 void DocumentView::ScheduleFrame() { 440 void DocumentView::ScheduleFrame() {
442 DCHECK(sky_view_); 441 DCHECK(sky_view_);
443 layer_host_->SetNeedsAnimate(); 442 layer_host_->SetNeedsAnimate();
444 } 443 }
445 444
446 } // namespace sky 445 } // namespace sky
OLDNEW
« no previous file with comments | « shell/task_runners.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698