Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_REQUEST_H_ | |
| 6 #define COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_REQUEST_H_ | |
| 7 | |
| 8 #include "components/guest_view/renderer/guest_view_request.h" | |
| 9 #include "ipc/ipc_message.h" | |
| 10 #include "v8/include/v8.h" | |
| 11 | |
| 12 namespace guest_view { | |
| 13 class GuestViewContainer; | |
| 14 | |
| 15 class GuestViewAttachIframeRequest : public guest_view::GuestViewRequest { | |
|
Fady Samuel
2015/06/24 22:01:10
nit: Add a description of this class and what it d
lazyboy
2015/06/24 23:01:51
Done.
| |
| 16 public: | |
| 17 GuestViewAttachIframeRequest(GuestViewContainer* container, | |
| 18 int render_frame_routing_id, | |
| 19 int guest_instance_id, | |
| 20 scoped_ptr<base::DictionaryValue> params, | |
| 21 v8::Local<v8::Function> callback, | |
| 22 v8::Isolate* isolate); | |
| 23 ~GuestViewAttachIframeRequest() override; | |
| 24 | |
| 25 void PerformRequest() override; | |
| 26 void HandleResponse(const IPC::Message& message) override; | |
| 27 | |
| 28 private: | |
| 29 const int render_frame_routing_id_; | |
| 30 const int guest_instance_id_; | |
| 31 scoped_ptr<base::DictionaryValue> params_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(GuestViewAttachIframeRequest); | |
| 34 }; | |
| 35 | |
| 36 } // namespace guest_view | |
| 37 | |
| 38 #endif // COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_REQUEST_H_ | |
| OLD | NEW |