1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_
8 #include "extensions/browser/extension_function.h"
10 namespace extensions
{
12 class AppViewGuestInternalAttachFrameFunction
: public AsyncExtensionFunction
{
14 DECLARE_EXTENSION_FUNCTION("appViewGuestInternal.attachFrame",
15 APPVIEWINTERNAL_ATTACHFRAME
);
16 AppViewGuestInternalAttachFrameFunction();
19 ~AppViewGuestInternalAttachFrameFunction() override
{}
20 bool RunAsync() final
;
23 DISALLOW_COPY_AND_ASSIGN(AppViewGuestInternalAttachFrameFunction
);
26 class AppViewGuestInternalDenyRequestFunction
: public AsyncExtensionFunction
{
28 DECLARE_EXTENSION_FUNCTION("appViewGuestInternal.denyRequest",
29 APPVIEWINTERNAL_DENYREQUEST
);
30 AppViewGuestInternalDenyRequestFunction();
33 ~AppViewGuestInternalDenyRequestFunction() override
{}
34 bool RunAsync() final
;
37 DISALLOW_COPY_AND_ASSIGN(AppViewGuestInternalDenyRequestFunction
);
40 } // namespace extensions
42 #endif // EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_