OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_ |
| 7 |
| 8 #include "extensions/browser/extension_function.h" |
| 9 |
| 10 namespace extensions { |
| 11 |
| 12 class AppViewInternalAttachFrameFunction : public AsyncExtensionFunction { |
| 13 public: |
| 14 DECLARE_EXTENSION_FUNCTION("appViewInternal.attachFrame", |
| 15 APPVIEWINTERNAL_ATTACHFRAME); |
| 16 AppViewInternalAttachFrameFunction(); |
| 17 |
| 18 protected: |
| 19 virtual ~AppViewInternalAttachFrameFunction() {} |
| 20 virtual bool RunAsync() OVERRIDE FINAL; |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(AppViewInternalAttachFrameFunction); |
| 24 }; |
| 25 |
| 26 class AppViewInternalDenyRequestFunction : public AsyncExtensionFunction { |
| 27 public: |
| 28 DECLARE_EXTENSION_FUNCTION("appViewInternal.denyRequest", |
| 29 APPVIEWINTERNAL_DENYREQUEST); |
| 30 AppViewInternalDenyRequestFunction(); |
| 31 |
| 32 protected: |
| 33 virtual ~AppViewInternalDenyRequestFunction() {} |
| 34 virtual bool RunAsync() OVERRIDE FINAL; |
| 35 |
| 36 private: |
| 37 DISALLOW_COPY_AND_ASSIGN(AppViewInternalDenyRequestFunction); |
| 38 }; |
| 39 |
| 40 } // namespace extensions |
| 41 |
| 42 #endif // EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_INTERNAL_API_H_ |
OLD | NEW |