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

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

Issue 752653002: Enable the Sky compositor (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_ 5 #ifndef SKY_VIEWER_DOCUMENT_VIEW_H_
6 #define SKY_VIEWER_DOCUMENT_VIEW_H_ 6 #define SKY_VIEWER_DOCUMENT_VIEW_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/public/cpp/application/lazy_interface_ptr.h" 10 #include "mojo/public/cpp/application/lazy_interface_ptr.h"
11 #include "mojo/public/cpp/application/service_provider_impl.h" 11 #include "mojo/public/cpp/application/service_provider_impl.h"
12 #include "mojo/public/cpp/bindings/interface_impl.h" 12 #include "mojo/public/cpp/bindings/interface_impl.h"
13 #include "mojo/public/interfaces/application/application.mojom.h" 13 #include "mojo/public/interfaces/application/application.mojom.h"
14 #include "mojo/services/public/cpp/view_manager/view_manager_client_factory.h" 14 #include "mojo/services/public/cpp/view_manager/view_manager_client_factory.h"
15 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" 15 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h"
16 #include "mojo/services/public/cpp/view_manager/view_observer.h" 16 #include "mojo/services/public/cpp/view_manager/view_observer.h"
17 #include "mojo/services/public/interfaces/content_handler/content_handler.mojom. h" 17 #include "mojo/services/public/interfaces/content_handler/content_handler.mojom. h"
18 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h" 18 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h"
19 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" 19 #include "mojo/services/public/interfaces/network/url_loader.mojom.h"
20 #include "sky/compositor/layer_client.h" 20 #include "sky/compositor/layer_client.h"
21 #include "sky/compositor/layer_host_client.h" 21 #include "sky/compositor/layer_host_client.h"
22 #include "sky/engine/public/platform/ServiceProvider.h" 22 #include "sky/engine/public/platform/ServiceProvider.h"
23 #include "sky/engine/public/web/WebFrameClient.h" 23 #include "sky/engine/public/web/WebFrameClient.h"
24 #include "sky/engine/public/web/WebViewClient.h" 24 #include "sky/engine/public/web/WebViewClient.h"
25 #include "sky/viewer/services/inspector_impl.h" 25 #include "sky/viewer/services/inspector_impl.h"
26 26
27 // You can try enabling the Sky compositor, but it's a bit buggy. 27 // You can try enabling the Sky compositor, but it's a bit buggy.
28 #define ENABLE_SKY_COMPOSITOR 0 28 #define ENABLE_SKY_COMPOSITOR 1
29 29
30 namespace base { 30 namespace base {
31 class MessageLoopProxy; 31 class MessageLoopProxy;
32 } 32 }
33 33
34 namespace mojo { 34 namespace mojo {
35 class ViewManager; 35 class ViewManager;
36 class View; 36 class View;
37 } 37 }
38 38
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_; 153 scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
154 int debugger_id_; 154 int debugger_id_;
155 155
156 base::WeakPtrFactory<DocumentView> weak_factory_; 156 base::WeakPtrFactory<DocumentView> weak_factory_;
157 DISALLOW_COPY_AND_ASSIGN(DocumentView); 157 DISALLOW_COPY_AND_ASSIGN(DocumentView);
158 }; 158 };
159 159
160 } // namespace sky 160 } // namespace sky
161 161
162 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_ 162 #endif // SKY_VIEWER_DOCUMENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698