| Index: extensions/browser/api/app_view/app_view_internal_api.h
|
| diff --git a/extensions/browser/api/app_view/app_view_internal_api.h b/extensions/browser/api/app_view/app_view_internal_api.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2e11cccc0e23b63c8f6bd61c5178d15b6e9208d2
|
| --- /dev/null
|
| +++ b/extensions/browser/api/app_view/app_view_internal_api.h
|
| @@ -0,0 +1,42 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_
|
| +#define EXTENSIONS_BROWSER_API_APP_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 // EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_
|
|
|