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

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

Issue 261363002: Rename BrowserPluginGuestManagerDelegate to BrowserPluginGuestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_cleanupguestmanager
Patch Set: Fixed Android Build (Hopefully) Created 6 years, 7 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 namespace blink { 52 namespace blink {
53 class WebInputEvent; 53 class WebInputEvent;
54 } 54 }
55 55
56 namespace gfx { 56 namespace gfx {
57 class Range; 57 class Range;
58 } 58 }
59 59
60 namespace content { 60 namespace content {
61 61
62 class BrowserPluginGuestManagerDelegate; 62 class BrowserPluginGuestManager;
63 class BrowserPluginHostFactory; 63 class BrowserPluginHostFactory;
64 class RenderWidgetHostView; 64 class RenderWidgetHostView;
65 class SiteInstance; 65 class SiteInstance;
66 class WebCursor; 66 class WebCursor;
67 struct DropData; 67 struct DropData;
68 struct MediaStreamRequest; 68 struct MediaStreamRequest;
69 69
70 // A browser plugin guest provides functionality for WebContents to operate in 70 // A browser plugin guest provides functionality for WebContents to operate in
71 // the guest role and implements guest-specific overrides for ViewHostMsg_* 71 // the guest role and implements guest-specific overrides for ViewHostMsg_*
72 // messages. 72 // messages.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Returns whether the mouse pointer was unlocked. 143 // Returns whether the mouse pointer was unlocked.
144 bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event); 144 bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event);
145 145
146 void UpdateVisibility(); 146 void UpdateVisibility();
147 147
148 void CopyFromCompositingSurface( 148 void CopyFromCompositingSurface(
149 gfx::Rect src_subrect, 149 gfx::Rect src_subrect,
150 gfx::Size dst_size, 150 gfx::Size dst_size,
151 const base::Callback<void(bool, const SkBitmap&)>& callback); 151 const base::Callback<void(bool, const SkBitmap&)>& callback);
152 152
153 BrowserPluginGuestManagerDelegate* GetBrowserPluginGuestManager() const; 153 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
154 154
155 // WebContentsObserver implementation. 155 // WebContentsObserver implementation.
156 virtual void DidCommitProvisionalLoadForFrame( 156 virtual void DidCommitProvisionalLoadForFrame(
157 int64 frame_id, 157 int64 frame_id,
158 const base::string16& frame_unique_name, 158 const base::string16& frame_unique_name,
159 bool is_main_frame, 159 bool is_main_frame,
160 const GURL& url, 160 const GURL& url,
161 PageTransition transition_type, 161 PageTransition transition_type,
162 RenderViewHost* render_view_host) OVERRIDE; 162 RenderViewHost* render_view_host) OVERRIDE;
163 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; 163 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // Weak pointer used to ask GeolocationPermissionContext about geolocation 529 // Weak pointer used to ask GeolocationPermissionContext about geolocation
530 // permission. 530 // permission.
531 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 531 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
532 532
533 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 533 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
534 }; 534 };
535 535
536 } // namespace content 536 } // namespace content
537 537
538 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 538 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_embedder.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