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 EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER_H_ |
| 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER_H_ |
| 7 |
| 8 #include "extensions/renderer/guest_view/extensions_guest_view_container.h" |
| 9 |
| 10 namespace gfx { |
| 11 class Size; |
| 12 } |
| 13 |
| 14 namespace extensions { |
| 15 |
| 16 class ExtensionsIframeGuestViewContainer : public ExtensionsGuestViewContainer { |
| 17 public: |
| 18 explicit ExtensionsIframeGuestViewContainer( |
| 19 content::RenderFrame* render_frame); |
| 20 ~ExtensionsIframeGuestViewContainer() override; |
| 21 |
| 22 // GuestViewContainer overrides. |
| 23 bool OnMessage(const IPC::Message& message) override; |
| 24 |
| 25 private: |
| 26 // Weak pointer factory used for calling the element resize callback. |
| 27 base::WeakPtrFactory<ExtensionsIframeGuestViewContainer> weak_ptr_factory_; |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(ExtensionsIframeGuestViewContainer); |
| 30 }; |
| 31 |
| 32 } // namespace extensions |
| 33 |
| 34 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER
_H_ |
OLD | NEW |