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

Unified Diff: extensions/browser/extension_message_filter.h

Issue 856563002: Added the infrastructure for surfaceProxy.onResize() and SurfaceView.onResize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment by kalman@. Created 5 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
Index: extensions/browser/extension_message_filter.h
diff --git a/extensions/browser/extension_message_filter.h b/extensions/browser/extension_message_filter.h
index ef7f1931533fc97d67cf716fb3e8335ca4dccbb3..1344c7bfe24c78029ae0135510af125e12caf1d1 100644
--- a/extensions/browser/extension_message_filter.h
+++ b/extensions/browser/extension_message_filter.h
@@ -15,6 +15,7 @@
#include "url/gurl.h"
struct ExtensionHostMsg_Request_Params;
+struct ExtensionHostMsg_CreateMimeHandlerViewGuest_Params;
namespace base {
class DictionaryValue;
@@ -25,6 +26,10 @@ class BrowserContext;
class WebContents;
}
+namespace gfx {
+class Size;
+}
+
namespace extensions {
class InfoMap;
@@ -64,11 +69,9 @@ class ExtensionMessageFilter : public content::BrowserMessageFilter {
int element_instance_id,
int guest_instance_id,
const base::DictionaryValue& attach_params);
- void OnExtensionCreateMimeHandlerViewGuest(int render_frame_id,
- const std::string& url,
- const std::string& content_url,
- const std::string& mime_type,
- int element_instance_id);
+ void OnExtensionCreateMimeHandlerViewGuest(
+ int render_frame_id,
+ const ExtensionHostMsg_CreateMimeHandlerViewGuest_Params& params);
void OnExtensionRemoveLazyListener(const std::string& extension_id,
const std::string& event_name);
void OnExtensionAddFilteredListener(const std::string& extension_id,
@@ -96,6 +99,7 @@ class ExtensionMessageFilter : public content::BrowserMessageFilter {
int embedder_render_process_id,
int embedder_render_frame_id,
const std::string& src,
+ const gfx::Size& element_size,
content::WebContents* web_contents);
const int render_process_id_;

Powered by Google App Engine
This is Rietveld 408576698