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

Unified Diff: sky/engine/core/loader/FrameLoaderClient.h

Issue 708903002: Initial work on a new <view> element backed by a mojo::View. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/loader/FrameLoaderClient.h
diff --git a/sky/engine/core/loader/FrameLoaderClient.h b/sky/engine/core/loader/FrameLoaderClient.h
index dd9c9e7afcb8b0f620dcef379f249c86aac942f6..df721125bfb7db0668cb037da03540d1b60eccb3 100644
--- a/sky/engine/core/loader/FrameLoaderClient.h
+++ b/sky/engine/core/loader/FrameLoaderClient.h
@@ -49,6 +49,7 @@ namespace blink {
class FetchRequest;
class FrameLoader;
class FrameNetworkingContext;
+ class HTMLViewElement;
class IntSize;
class KURL;
class LocalFrame;
@@ -87,6 +88,9 @@ namespace blink {
virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0;
+ // TODO(mpcomplete): return surface ID?
+ virtual void createView(const KURL&, HTMLViewElement*) = 0;
+
// Transmits the change in the set of watched CSS selectors property
// that match any element on the frame.
virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;

Powered by Google App Engine
This is Rietveld 408576698