| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ | 6 #define EXTENSIONS_BROWSER_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_API_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "extensions/browser/api/capture_web_contents_function.h" | |
| 10 #include "extensions/browser/api/execute_code_function.h" | 9 #include "extensions/browser/api/execute_code_function.h" |
| 11 #include "extensions/browser/extension_function.h" | 10 #include "extensions/browser/extension_function.h" |
| 12 #include "extensions/browser/guest_view/extension_view/extension_view_guest.h" | 11 #include "extensions/browser/guest_view/extension_view/extension_view_guest.h" |
| 13 | 12 |
| 14 namespace extensions { | 13 namespace extensions { |
| 15 | 14 |
| 16 // An abstract base class for async extensionview APIs. It does a process ID | 15 // An abstract base class for async extensionview APIs. It does a process ID |
| 17 // check in RunAsync, and then calls RunAsyncSafe which must be overriden by | 16 // check in RunAsync, and then calls RunAsyncSafe which must be overriden by |
| 18 // all subclasses. | 17 // all subclasses. |
| 19 class ExtensionViewInternalExtensionFunction : public AsyncExtensionFunction { | 18 class ExtensionViewInternalExtensionFunction : public AsyncExtensionFunction { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 private: | 60 private: |
| 62 // ExtensionViewInternalParseSrcFunction implementation. | 61 // ExtensionViewInternalParseSrcFunction implementation. |
| 63 bool RunAsync() final; | 62 bool RunAsync() final; |
| 64 | 63 |
| 65 DISALLOW_COPY_AND_ASSIGN(ExtensionViewInternalParseSrcFunction); | 64 DISALLOW_COPY_AND_ASSIGN(ExtensionViewInternalParseSrcFunction); |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace extensions | 67 } // namespace extensions |
| 69 | 68 |
| 70 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_
API_H_ | 69 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_VIEW_EXTENSION_VIEW_INTERNAL_
API_H_ |
| OLD | NEW |