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

Unified Diff: sky/engine/public/web/WebView.h

Issue 1152313002: Make SkyView vs. WebView controlable via url path (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebView.h
diff --git a/sky/engine/public/web/WebView.h b/sky/engine/public/web/WebView.h
index 19dcc8dbe520324e885949c5cb0869949b1e800b..842015fa8e8b673a9743fdda709527438fce8d12 100644
--- a/sky/engine/public/web/WebView.h
+++ b/sky/engine/public/web/WebView.h
@@ -37,6 +37,8 @@
#include "sky/engine/public/web/WebPageVisibilityState.h"
#include "sky/engine/public/web/WebWidget.h"
+class GURL;
+
namespace blink {
class WebFrame;
@@ -48,6 +50,9 @@ struct WebPoint;
class WebView : public WebWidget {
public:
+ // I've added this here so that it dies when WebView does. :)
+ static bool shouldUseWebView(const GURL& url);
+
// Initialization ------------------------------------------------------
// Creates a WebView that is NOT yet initialized. You will need to
« no previous file with comments | « no previous file | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698