Chromium Code Reviews| Index: content/browser/browser_plugin/browser_plugin_guest.h |
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
| index 3b7dce91edb3e6ed76976018a0556d742ba47ba7..08bfa70c0c32fc762def424148ec9064b37398d6 100644 |
| --- a/content/browser/browser_plugin/browser_plugin_guest.h |
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h |
| @@ -77,8 +77,7 @@ struct MediaStreamRequest; |
| // CreateNewWindow. The newly created guest will live in the same partition, |
| // which means it can share storage and can script this guest. |
| class CONTENT_EXPORT BrowserPluginGuest |
|
lazyboy
2014/05/23 16:06:09
nit: can fit in one line
Fady Samuel
2014/05/23 16:34:08
Done.
|
| - : public WebContentsDelegate, |
| - public WebContentsObserver { |
| + : public WebContentsObserver { |
| public: |
| virtual ~BrowserPluginGuest(); |
| @@ -161,63 +160,6 @@ class CONTENT_EXPORT BrowserPluginGuest |
| virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| - // WebContentsDelegate implementation. |
| - virtual bool AddMessageToConsole(WebContents* source, |
| - int32 level, |
| - const base::string16& message, |
| - int32 line_no, |
| - const base::string16& source_id) OVERRIDE; |
| - // If a new window is created with target="_blank" and rel="noreferrer", then |
| - // this method is called, indicating that the new WebContents is ready to be |
| - // attached. |
| - virtual void AddNewContents(WebContents* source, |
| - WebContents* new_contents, |
| - WindowOpenDisposition disposition, |
| - const gfx::Rect& initial_pos, |
| - bool user_gesture, |
| - bool* was_blocked) OVERRIDE; |
| - virtual void CanDownload(RenderViewHost* render_view_host, |
| - const GURL& url, |
| - const std::string& request_method, |
| - const base::Callback<void(bool)>& callback) OVERRIDE; |
| - virtual void LoadProgressChanged(WebContents* source, |
| - double progress) OVERRIDE; |
| - virtual void CloseContents(WebContents* source) OVERRIDE; |
| - virtual JavaScriptDialogManager* GetJavaScriptDialogManager() OVERRIDE; |
| - virtual ColorChooser* OpenColorChooser( |
| - WebContents* web_contents, |
| - SkColor color, |
| - const std::vector<ColorSuggestion>& suggestions) OVERRIDE; |
| - virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; |
| - virtual void HandleKeyboardEvent( |
| - WebContents* source, |
| - const NativeWebKeyboardEvent& event) OVERRIDE; |
| - virtual void FindReply(WebContents* contents, |
| - int request_id, |
| - int number_of_matches, |
| - const gfx::Rect& selection_rect, |
| - int active_match_ordinal, |
| - bool final_update) OVERRIDE; |
| - virtual WebContents* OpenURLFromTab(WebContents* source, |
| - const OpenURLParams& params) OVERRIDE; |
| - virtual void WebContentsCreated(WebContents* source_contents, |
| - int opener_render_frame_id, |
| - const base::string16& frame_name, |
| - const GURL& target_url, |
| - WebContents* new_contents) OVERRIDE; |
| - virtual void RendererUnresponsive(WebContents* source) OVERRIDE; |
| - virtual void RendererResponsive(WebContents* source) OVERRIDE; |
| - virtual void RunFileChooser(WebContents* web_contents, |
| - const FileChooserParams& params) OVERRIDE; |
| - virtual bool ShouldFocusPageAfterCrash() OVERRIDE; |
| - virtual void RequestMediaAccessPermission( |
| - WebContents* web_contents, |
| - const MediaStreamRequest& request, |
| - const MediaResponseCallback& callback) OVERRIDE; |
| - virtual bool PreHandleGestureEvent( |
| - content::WebContents* source, |
| - const blink::WebGestureEvent& event) OVERRIDE; |
| - |
| // Exposes the protected web_contents() from WebContentsObserver. |
| WebContentsImpl* GetWebContents() const; |