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

Unified Diff: sky/viewer/internals.cc

Issue 1222483002: Remove the ability to load ".sky" files (Closed) Base URL: git@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 side-by-side diff with in-line comments
Download patch
« sky/engine/web/WebViewImpl.cpp ('K') | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/internals.cc
diff --git a/sky/viewer/internals.cc b/sky/viewer/internals.cc
index db23c8180665592cf516bf98765ce9d6951a2f0e..208f698a80b0cb3098b452daa94c442e27cf3744 100644
--- a/sky/viewer/internals.cc
+++ b/sky/viewer/internals.cc
@@ -6,9 +6,6 @@
#include "mojo/public/cpp/application/connect.h"
#include "mojo/public/cpp/bindings/array.h"
-#include "sky/engine/public/web/WebDocument.h"
-#include "sky/engine/public/web/WebFrame.h"
-#include "sky/engine/public/web/WebView.h"
#include "sky/engine/tonic/dart_builtin.h"
#include "sky/engine/tonic/dart_converter.h"
#include "sky/engine/tonic/dart_error.h"
@@ -112,16 +109,11 @@ Internals::~Internals() {
}
std::string Internals::RenderTreeAsText() {
- if (!document_view_)
- return std::string();
- return document_view_->web_view()->mainFrame()->renderTreeAsText().utf8();
+ return std::string();
}
std::string Internals::ContentAsText() {
- if (!document_view_)
- return std::string();
- return document_view_->web_view()->mainFrame()->contentAsText(
- 1024*1024).utf8();
+ return std::string();
}
void Internals::NotifyTestComplete(const std::string& test_result) {
« sky/engine/web/WebViewImpl.cpp ('K') | « sky/viewer/document_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698