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

Unified Diff: extensions/browser/api/guest_view/guest_view_internal_api.h

Issue 847893002: Implemented explicit resizing from guestview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another small fix. Created 5 years, 11 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: extensions/browser/api/guest_view/guest_view_internal_api.h
diff --git a/extensions/browser/api/guest_view/guest_view_internal_api.h b/extensions/browser/api/guest_view/guest_view_internal_api.h
index 3f0b63e7ed9edc2c78443fe5dfcf552564360bf2..3f76ab938da7be58feecc986975af61479519c60 100644
--- a/extensions/browser/api/guest_view/guest_view_internal_api.h
+++ b/extensions/browser/api/guest_view/guest_view_internal_api.h
@@ -39,19 +39,19 @@ class GuestViewInternalDestroyGuestFunction : public AsyncExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(GuestViewInternalDestroyGuestFunction);
};
-class GuestViewInternalSetAutoSizeFunction : public AsyncExtensionFunction {
+class GuestViewInternalSetSizeFunction : public AsyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION("guestViewInternal.setAutoSize",
+ DECLARE_EXTENSION_FUNCTION("guestViewInternal.setSize",
GUESTVIEWINTERNAL_SETAUTOSIZE);
- GuestViewInternalSetAutoSizeFunction();
+ GuestViewInternalSetSizeFunction();
protected:
- ~GuestViewInternalSetAutoSizeFunction() override;
+ ~GuestViewInternalSetSizeFunction() override;
bool RunAsync() final;
private:
- DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetAutoSizeFunction);
+ DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetSizeFunction);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698