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

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

Issue 1296363003: Remove stale function declaration in BrowserPluginGuest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 void set_attached_for_test(bool attached) { 263 void set_attached_for_test(bool attached) {
264 attached_ = attached; 264 attached_ = attached;
265 } 265 }
266 266
267 private: 267 private:
268 class EmbedderVisibilityObserver; 268 class EmbedderVisibilityObserver;
269 269
270 void InitInternal(const BrowserPluginHostMsg_Attach_Params& params, 270 void InitInternal(const BrowserPluginHostMsg_Attach_Params& params,
271 WebContentsImpl* owner_web_contents); 271 WebContentsImpl* owner_web_contents);
272 272
273 bool InAutoSizeBounds(const gfx::Size& size) const;
274
275 void OnSatisfySequence(int instance_id, const cc::SurfaceSequence& sequence); 273 void OnSatisfySequence(int instance_id, const cc::SurfaceSequence& sequence);
276 void OnRequireSequence(int instance_id, 274 void OnRequireSequence(int instance_id,
277 const cc::SurfaceId& id, 275 const cc::SurfaceId& id,
278 const cc::SurfaceSequence& sequence); 276 const cc::SurfaceSequence& sequence);
279 // Message handlers for messages from embedder. 277 // Message handlers for messages from embedder.
280 void OnCompositorFrameSwappedACK( 278 void OnCompositorFrameSwappedACK(
281 int instance_id, 279 int instance_id,
282 const FrameHostMsg_CompositorFrameSwappedACK_Params& params); 280 const FrameHostMsg_CompositorFrameSwappedACK_Params& params);
283 void OnDetach(int instance_id); 281 void OnDetach(int instance_id);
284 // Handles drag events from the embedder. 282 // Handles drag events from the embedder.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 // Weak pointer used to ask GeolocationPermissionContext about geolocation 456 // Weak pointer used to ask GeolocationPermissionContext about geolocation
459 // permission. 457 // permission.
460 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 458 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
461 459
462 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 460 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
463 }; 461 };
464 462
465 } // namespace content 463 } // namespace content
466 464
467 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 465 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698