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

Unified Diff: trunk/src/content/public/browser/browser_plugin_guest_delegate.h

Issue 446823002: Revert 287732 "<webview>: Move autosize from content to chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/public/browser/browser_plugin_guest_delegate.h
===================================================================
--- trunk/src/content/public/browser/browser_plugin_guest_delegate.h (revision 287745)
+++ trunk/src/content/public/browser/browser_plugin_guest_delegate.h (working copy)
@@ -40,16 +40,10 @@
// Requests the instance ID associated with the delegate.
virtual int GetGuestInstanceID() const;
- // Notification that the BrowserPlugin has resized.
- virtual void ElementSizeChanged(const gfx::Size& old_size,
- const gfx::Size& new_size) {}
+ // Notifies that the content size of the guest has changed in autosize mode.
+ virtual void SizeChanged(const gfx::Size& old_size,
+ const gfx::Size& new_size) {}
- // Notifies that the content size of the guest has changed.
- // Note: In autosize mode, it si possible that the guest size may not match
- // the element size.
- virtual void GuestSizeChanged(const gfx::Size& old_size,
- const gfx::Size& new_size) {}
-
// Asks the delegate if the given guest can lock the pointer.
// Invoking the |callback| synchronously is OK.
virtual void RequestPointerLockPermission(

Powered by Google App Engine
This is Rietveld 408576698