| Index: extensions/browser/guest_view/guest_view_base.h
|
| diff --git a/extensions/browser/guest_view/guest_view_base.h b/extensions/browser/guest_view/guest_view_base.h
|
| index b6984f824dfa2c72551c6b6905f716ede8d8e707..cc5d97df6439b1f33bd4065829e73ab25aea0223 100644
|
| --- a/extensions/browser/guest_view/guest_view_base.h
|
| +++ b/extensions/browser/guest_view/guest_view_base.h
|
| @@ -272,8 +272,11 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
|
| void OnZoomChanged(
|
| const ui_zoom::ZoomController::ZoomChangedEventData& data) override;
|
|
|
| - // Dispatches an event |event_name| to the embedder with the |event| fields.
|
| - void DispatchEventToEmbedder(Event* event);
|
| + // Dispatches an event to the guest proxy.
|
| + void DispatchEventToGuestProxy(Event* event);
|
| +
|
| + // Dispatches an event to the view.
|
| + void DispatchEventToView(Event* event);
|
|
|
| protected:
|
| GuestViewBase(content::BrowserContext* browser_context,
|
| @@ -287,12 +290,18 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate,
|
|
|
| class OpenerLifetimeObserver;
|
|
|
| + void DispatchEvent(Event* event, int instance_id);
|
| +
|
| void SendQueuedEvents();
|
|
|
| void CompleteInit(scoped_ptr<base::DictionaryValue> create_params,
|
| const WebContentsCreatedCallback& callback,
|
| content::WebContents* guest_web_contents);
|
|
|
| + // Dispatches the onResize event to the embedder.
|
| + void DispatchOnResizeEvent(const gfx::Size& old_size,
|
| + const gfx::Size& new_size);
|
| +
|
| void SetUpAutoSize(const base::DictionaryValue& params);
|
|
|
| void StartTrackingEmbedderZoomLevel();
|
|
|