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 COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_REQUEST_H_ | 5 #ifndef COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_REQUEST_H_ |
6 #define COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_REQUEST_H_ | 6 #define COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_REQUEST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
9 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
10 | 11 |
11 namespace guest_view { | 12 namespace guest_view { |
12 | 13 |
13 class GuestViewContainer; | 14 class GuestViewContainer; |
14 | 15 |
15 // A GuestViewRequest is the base class for an asynchronous operation performed | 16 // A GuestViewRequest is the base class for an asynchronous operation performed |
16 // on a GuestView or GuestViewContainer from JavaScript. This operation may be | 17 // on a GuestView or GuestViewContainer from JavaScript. This operation may be |
17 // queued until the container is ready to be operated upon (it has geometry). | 18 // queued until the container is ready to be operated upon (it has geometry). |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void PerformRequest() override; | 89 void PerformRequest() override; |
89 void HandleResponse(const IPC::Message& message) override; | 90 void HandleResponse(const IPC::Message& message) override; |
90 | 91 |
91 private: | 92 private: |
92 DISALLOW_COPY_AND_ASSIGN(GuestViewDetachRequest); | 93 DISALLOW_COPY_AND_ASSIGN(GuestViewDetachRequest); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace guest_view | 96 } // namespace guest_view |
96 | 97 |
97 #endif // COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_H_ | 98 #endif // COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_H_ |
OLD | NEW |