OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ |
6 #define EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ | 6 #define EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "extensions/browser/extension_function.h" | 9 #include "extensions/browser/extension_function.h" |
9 | 10 |
10 namespace extensions { | 11 namespace extensions { |
11 | 12 |
12 class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction { | 13 class GuestViewInternalCreateGuestFunction : public AsyncExtensionFunction { |
13 public: | 14 public: |
14 DECLARE_EXTENSION_FUNCTION("guestViewInternal.createGuest", | 15 DECLARE_EXTENSION_FUNCTION("guestViewInternal.createGuest", |
15 GUESTVIEWINTERNAL_CREATEGUEST); | 16 GUESTVIEWINTERNAL_CREATEGUEST); |
16 GuestViewInternalCreateGuestFunction(); | 17 GuestViewInternalCreateGuestFunction(); |
17 | 18 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 ~GuestViewInternalSetSizeFunction() override; | 51 ~GuestViewInternalSetSizeFunction() override; |
51 bool RunAsync() final; | 52 bool RunAsync() final; |
52 | 53 |
53 private: | 54 private: |
54 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetSizeFunction); | 55 DISALLOW_COPY_AND_ASSIGN(GuestViewInternalSetSizeFunction); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace extensions | 58 } // namespace extensions |
58 | 59 |
59 #endif // EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ | 60 #endif // EXTENSIONS_BROWSER_API_GUEST_VIEW_GUEST_VIEW_INTERNAL_API_H_ |
OLD | NEW |