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