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

Unified Diff: sky/viewer/document_view.h

Issue 1203143004: Make it possible to run Sky apps offline (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: gn check 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/viewer/dart_library_provider_impl.cc ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.h
diff --git a/sky/viewer/document_view.h b/sky/viewer/document_view.h
index 76b8cbe8dfb6b2b5cd391a491742e3299ba6978b..6b6c798e04e85878fa34bf542b39e45f46b2c75f 100644
--- a/sky/viewer/document_view.h
+++ b/sky/viewer/document_view.h
@@ -29,7 +29,6 @@
#include "sky/services/testing/test_harness.mojom.h"
#include "ui/events/gestures/gesture_types.h"
-
namespace mojo {
class ViewManager;
class View;
@@ -40,6 +39,7 @@ class Rasterizer;
class RasterizerBitmap;
class Layer;
class LayerHost;
+class DartLibraryProviderImpl;
class DocumentView : public blink::ServiceProvider,
public blink::WebFrameClient,
@@ -149,12 +149,14 @@ class DocumentView : public blink::ServiceProvider,
blink::WebView* web_view_;
mojo::View* root_;
mojo::ViewManagerClientFactory view_manager_client_factory_;
+ scoped_ptr<DartLibraryProviderImpl> library_provider_;
scoped_ptr<LayerHost> layer_host_;
scoped_refptr<Layer> root_layer_;
RasterizerBitmap* bitmap_rasterizer_; // Used for pixel tests.
mojo::ServiceRegistryPtr service_registry_;
scoped_ptr<mojo::StrongBinding<mojo::ServiceProvider>>
service_registry_service_provider_binding_;
+
base::WeakPtrFactory<DocumentView> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(DocumentView);
« no previous file with comments | « sky/viewer/dart_library_provider_impl.cc ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698