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

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: 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 BrowserPluginGuestManager; 62 class BrowserPluginGuestManager;
63 class BrowserPluginGuestManagerDelegate; 63 class BrowserPluginGuestManager;
lazyboy 2014/05/05 21:47:46 Dup
Fady Samuel 2014/05/07 19:01:51 Done.
64 class BrowserPluginHostFactory; 64 class BrowserPluginHostFactory;
65 class RenderWidgetHostView; 65 class RenderWidgetHostView;
66 class SiteInstance; 66 class SiteInstance;
67 class WebCursor; 67 class WebCursor;
68 struct DropData; 68 struct DropData;
69 struct MediaStreamRequest; 69 struct MediaStreamRequest;
70 70
71 // A browser plugin guest provides functionality for WebContents to operate in 71 // A browser plugin guest provides functionality for WebContents to operate in
72 // the guest role and implements guest-specific overrides for ViewHostMsg_* 72 // the guest role and implements guest-specific overrides for ViewHostMsg_*
73 // messages. 73 // messages.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Returns whether the mouse pointer was unlocked. 144 // Returns whether the mouse pointer was unlocked.
145 bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event); 145 bool UnlockMouseIfNecessary(const NativeWebKeyboardEvent& event);
146 146
147 void UpdateVisibility(); 147 void UpdateVisibility();
148 148
149 void CopyFromCompositingSurface( 149 void CopyFromCompositingSurface(
150 gfx::Rect src_subrect, 150 gfx::Rect src_subrect,
151 gfx::Size dst_size, 151 gfx::Size dst_size,
152 const base::Callback<void(bool, const SkBitmap&)>& callback); 152 const base::Callback<void(bool, const SkBitmap&)>& callback);
153 153
154 BrowserPluginGuestManagerDelegate* GetBrowserPluginGuestManager() const; 154 BrowserPluginGuestManager* GetBrowserPluginGuestManager() const;
155 155
156 // WebContentsObserver implementation. 156 // WebContentsObserver implementation.
157 virtual void DidCommitProvisionalLoadForFrame( 157 virtual void DidCommitProvisionalLoadForFrame(
158 int64 frame_id, 158 int64 frame_id,
159 const base::string16& frame_unique_name, 159 const base::string16& frame_unique_name,
160 bool is_main_frame, 160 bool is_main_frame,
161 const GURL& url, 161 const GURL& url,
162 PageTransition transition_type, 162 PageTransition transition_type,
163 RenderViewHost* render_view_host) OVERRIDE; 163 RenderViewHost* render_view_host) OVERRIDE;
164 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; 164 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 // Weak pointer used to ask GeolocationPermissionContext about geolocation 530 // Weak pointer used to ask GeolocationPermissionContext about geolocation
531 // permission. 531 // permission.
532 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 532 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
533 533
534 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 534 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
535 }; 535 };
536 536
537 } // namespace content 537 } // namespace content
538 538
539 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 539 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698