| Index: components/framelet/renderer/framelet_container.h
|
| diff --git a/components/framelet/renderer/framelet_container.h b/components/framelet/renderer/framelet_container.h
|
| index b242ad84150d38f4de1fa4e9f5e573f4bcf6cc12..8397e2ac15a910ad174e3003af453427e710ecf7 100644
|
| --- a/components/framelet/renderer/framelet_container.h
|
| +++ b/components/framelet/renderer/framelet_container.h
|
| @@ -7,13 +7,41 @@
|
|
|
| #include "components/guest_view/renderer/guest_view_container.h"
|
|
|
| +#include "third_party/WebKit/public/platform/WebURLLoader.h"
|
| +#include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
|
| +#include "ui/gfx/geometry/size.h"
|
| +
|
| namespace guest_view {
|
|
|
| class FrameletContainer : public GuestViewContainer {
|
| public:
|
| explicit FrameletContainer(content::RenderFrame* render_frame);
|
|
|
| + // GuestViewContainer implementation.
|
| + bool OnMessage(const IPC::Message& message) override;
|
| +
|
| + // BrowserPluginDelegate implementation.
|
| + void DidResizeElement(const gfx::Size& new_size) override;
|
| + void DidFinishLoading() override;
|
| +
|
| private:
|
| + // Message handlers.
|
| + void OnCreateFrameletGuestACK(int element_instance_id);
|
| + void OnGuestAttached(int element_instance_id,
|
| + int guest_proxy_routing_id);
|
| +
|
| + void CreateFrameletGuest();
|
| +
|
| + // The RenderView routing ID of the guest.
|
| + int guest_proxy_routing_id_;
|
| +
|
| + // The URL to navigate to.
|
| + std::string url_;
|
| +
|
| + gfx::Size element_size_;
|
| +
|
| + bool is_embedded_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(FrameletContainer);
|
| };
|
|
|
|
|