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

Unified Diff: sky/viewer/document_view.h

Issue 797063002: Make reftests work for sky. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 6 years 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/tools/webkitpy/layout_tests/port/base.py ('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 b580c5f49cb0e22a7e65c531db0997fd11161ac9..0d4006c1c4ca701314732994cd0ac5f08ddff01a 100644
--- a/sky/viewer/document_view.h
+++ b/sky/viewer/document_view.h
@@ -70,6 +70,8 @@ class DocumentView : public blink::ServiceProvider,
void StartDebuggerInspectorBackend();
+ void GetPixelsForTesting(std::vector<unsigned char>* pixels);
+
private:
// WebWidgetClient methods:
void initializeLayerTreeView() override;
@@ -129,9 +131,9 @@ class DocumentView : public blink::ServiceProvider,
scoped_ptr<ScriptRunner> script_runner_;
scoped_ptr<InspectorHostImpl> inspector_host_;
scoped_ptr<inspector::InspectorBackendMojo> inspector_backend_;
+ base::WeakPtrFactory<DocumentView> weak_factory_;
int debugger_id_;
- base::WeakPtrFactory<DocumentView> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(DocumentView);
};
« no previous file with comments | « sky/tools/webkitpy/layout_tests/port/base.py ('k') | sky/viewer/document_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698