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

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

Issue 427883002: <webview>: Move autosize from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_frame_url
Patch Set: Initialize variable 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
diff --git a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
index aca245916e46162aa50d670a171cddfbf7fb632e..7fd1f3ca0961f8712d46ea364f885bfb4df122b9 100644
--- a/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
+++ b/chrome/browser/extensions/api/guest_view/guest_view_internal_api.h
@@ -24,6 +24,21 @@ class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(GuestViewInternalCreateGuestFunction);
};
+class GuestViewInternalSetAutoSizeFunction : public AsyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("guestViewInternal.setAutoSize",
+ GUESTVIEWINTERNAL_SETAUTOSIZE);
+
+ GuestViewInternalSetAutoSizeFunction();
+
+ protected:
+ virtual ~GuestViewInternalSetAutoSizeFunction();
+ virtual bool RunAsync() OVERRIDE FINAL;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetAutoSizeFunction);
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698