Index: chrome/browser/extensions/api/guest_view/app_view_internal_api.h |
diff --git a/chrome/browser/extensions/api/guest_view/app_view_internal_api.h b/chrome/browser/extensions/api/guest_view/app_view_internal_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b3aafcd2f4b5af86ccf06d648bd6e254510e43d8 |
--- /dev/null |
+++ b/chrome/browser/extensions/api/guest_view/app_view_internal_api.h |
@@ -0,0 +1,42 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
lazyboy
2014/07/07 21:34:44
this file should go under
c/b/extensions/api/app_v
Fady Samuel
2014/07/08 15:47:08
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_APP_VIEW_INTERNAL_API_H_ |
+#define CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_APP_VIEW_INTERNAL_API_H_ |
+ |
+#include "extensions/browser/extension_function.h" |
+ |
+namespace extensions { |
+ |
+class AppViewInternalAttachFrameFunction : public AsyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("appViewInternal.attachFrame", |
+ APPVIEWINTERNAL_ATTACHFRAME); |
+ AppViewInternalAttachFrameFunction(); |
+ |
+ protected: |
+ virtual ~AppViewInternalAttachFrameFunction() {} |
+ virtual bool RunAsync() OVERRIDE FINAL; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(AppViewInternalAttachFrameFunction); |
+}; |
+ |
+class AppViewInternalDenyRequestFunction : public AsyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("appViewInternal.denyRequest", |
+ APPVIEWINTERNAL_DENYREQUEST); |
+ AppViewInternalDenyRequestFunction(); |
+ |
+ protected: |
+ virtual ~AppViewInternalDenyRequestFunction() {} |
+ virtual bool RunAsync() OVERRIDE FINAL; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(AppViewInternalDenyRequestFunction); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_API_GUEST_VIEW_APP_VIEW_INTERNAL_API_H_ |