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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 11 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 | « content/public/browser/guest_host.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 45686b56691dcf5aeb668d28b8e3dbbedef9d21a..6ee9f2424719910a5498b81cb90a49b145c4ffac 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -17,6 +17,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "content/public/common/content_client.h"
+#include "ipc/ipc_sender.h"
#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "third_party/WebKit/public/web/WebNavigationPolicy.h"
#include "third_party/WebKit/public/web/WebNavigationType.h"
@@ -36,6 +37,7 @@ class WebAppBannerClient;
class WebAudioDevice;
class WebClipboard;
class WebFrame;
+class WebFrameletClient;
class WebLocalFrame;
class WebMIDIAccessor;
class WebMIDIAccessorClient;
@@ -114,6 +116,12 @@ class CONTENT_EXPORT ContentRendererClient {
const std::string& mime_type,
const GURL& original_url);
+ // Creates a framelet container.
+ virtual blink::WebFrameletClient* CreateFramelet(
+ RenderFrame* render_frame,
+ const GURL& url,
+ IPC::Sender* thread_safe_sender);
+
// Returns true if the embedder has an error page to show for the given http
// status code. If so |error_domain| should be set to according to WebURLError
// and the embedder's GetNavigationErrorHtml will be called afterwards to get
« no previous file with comments | « content/public/browser/guest_host.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698