Index: chrome/browser/extensions/api/webview/webview_api.h |
diff --git a/chrome/browser/extensions/api/webview/webview_api.h b/chrome/browser/extensions/api/webview/webview_api.h |
index 2e23bfd25842348849338eda2ca991e9dd918ea7..e0b9efe79596f87a331ea0be42f428759de9cd28 100644 |
--- a/chrome/browser/extensions/api/webview/webview_api.h |
+++ b/chrome/browser/extensions/api/webview/webview_api.h |
@@ -204,6 +204,21 @@ class WebviewCaptureVisibleRegionFunction |
DISALLOW_COPY_AND_ASSIGN(WebviewCaptureVisibleRegionFunction); |
}; |
+class WebviewSetNameFunction : public WebviewExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("webview.setName", WEBVIEW_SETNAME); |
+ |
+ WebviewSetNameFunction(); |
+ |
+ protected: |
+ virtual ~WebviewSetNameFunction(); |
+ |
+ private: |
+ virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(WebviewSetNameFunction); |
+}; |
+ |
class WebviewSetZoomFunction : public WebviewExtensionFunction { |
public: |
DECLARE_EXTENSION_FUNCTION("webview.setZoom", WEBVIEW_SETZOOM); |