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

Unified Diff: sky/viewer/document_view.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/BUILD.gn ('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 018214448821999ed716382354d6b111c91319b8..c71d2611f36f3793a2aa962b1de275926b6fc6ef 100644
--- a/sky/viewer/document_view.h
+++ b/sky/viewer/document_view.h
@@ -22,7 +22,6 @@
#include "sky/engine/public/platform/ServiceProvider.h"
#include "sky/engine/public/web/WebFrameClient.h"
#include "sky/engine/public/web/WebViewClient.h"
-#include "sky/viewer/services/inspector_impl.h"
#include "ui/events/gestures/gesture_types.h"
namespace mojo {
@@ -30,15 +29,9 @@ class ViewManager;
class View;
}
-namespace inspector {
-class InspectorBackendMojo;
-}
-
namespace sky {
-class InspectorHostImpl;
class Rasterizer;
class RasterizerBitmap;
-class ScriptRunner;
class Layer;
class LayerHost;
@@ -93,9 +86,8 @@ class DocumentView : public blink::ServiceProvider,
const blink::WebString& source_name,
unsigned source_line,
const blink::WebString& stack_trace) override;
- void didCreateScriptContext(
- blink::WebLocalFrame*,
- v8::Handle<v8::Context>) override;
+ void didCreateIsolate(blink::WebLocalFrame* frame,
+ Dart_Isolate isolate) override;
// WebViewClient methods:
blink::ServiceProvider* services() override;
@@ -136,15 +128,9 @@ class DocumentView : public blink::ServiceProvider,
blink::WebView* web_view_;
mojo::View* root_;
mojo::ViewManagerClientFactory view_manager_client_factory_;
- InspectorServiceFactory inspector_service_factory_;
- mojo::ServiceProviderImpl inspector_service_provider_impl_;
scoped_ptr<LayerHost> layer_host_;
scoped_refptr<Layer> root_layer_;
RasterizerBitmap* bitmap_rasterizer_; // Used for pixel tests.
- scoped_ptr<ScriptRunner> script_runner_;
- scoped_ptr<InspectorHostImpl> inspector_host_;
- scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
- int debugger_id_;
base::WeakPtrFactory<DocumentView> weak_factory_;
« no previous file with comments | « sky/viewer/BUILD.gn ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698