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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 301303003: GuestView: Move Disable Drag and Drop Out to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@change_browser_plugin_guest_delegate_lifetime
Patch Set: Addressed Istiaque's comments Created 6 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // A BrowserPluginGuest is the browser side of a browser <--> embedder 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder
7 // renderer side of browser <--> embedder renderer communication. 7 // renderer side of browser <--> embedder renderer communication.
8 // 8 //
9 // BrowserPluginGuest lives on the UI thread of the browser process. Any 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any
10 // messages about the guest render process that the embedder might be interested 10 // messages about the guest render process that the embedder might be interested
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const; 147 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
148 148
149 // WebContentsObserver implementation. 149 // WebContentsObserver implementation.
150 virtual void DidCommitProvisionalLoadForFrame( 150 virtual void DidCommitProvisionalLoadForFrame(
151 int64 frame_id, 151 int64 frame_id,
152 const base::string16& frame_unique_name, 152 const base::string16& frame_unique_name,
153 bool is_main_frame, 153 bool is_main_frame,
154 const GURL& url, 154 const GURL& url,
155 PageTransition transition_type, 155 PageTransition transition_type,
156 RenderViewHost* render_view_host) OVERRIDE; 156 RenderViewHost* render_view_host) OVERRIDE;
157 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
158 157
159 virtual void RenderViewReady() OVERRIDE; 158 virtual void RenderViewReady() OVERRIDE;
160 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 159 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
161 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 160 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
162 161
163 // Exposes the protected web_contents() from WebContentsObserver. 162 // Exposes the protected web_contents() from WebContentsObserver.
164 WebContentsImpl* GetWebContents() const; 163 WebContentsImpl* GetWebContents() const;
165 164
166 gfx::Point GetScreenCoordinates(const gfx::Point& relative_position) const; 165 gfx::Point GetScreenCoordinates(const gfx::Point& relative_position) const;
167 166
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Weak pointer used to ask GeolocationPermissionContext about geolocation 402 // Weak pointer used to ask GeolocationPermissionContext about geolocation
404 // permission. 403 // permission.
405 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 404 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
406 405
407 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 406 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
408 }; 407 };
409 408
410 } // namespace content 409 } // namespace content
411 410
412 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 411 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/web_view/web_view_guest.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698