Index: extensions/renderer/guest_view/extensions_iframe_guest_view_container.h |
diff --git a/extensions/renderer/guest_view/extensions_iframe_guest_view_container.h b/extensions/renderer/guest_view/extensions_iframe_guest_view_container.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..992e37adcfdec525328a98c27a7850876dc0ae9d |
--- /dev/null |
+++ b/extensions/renderer/guest_view/extensions_iframe_guest_view_container.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER_H_ |
+#define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER_H_ |
+ |
+#include "extensions/renderer/guest_view/extensions_guest_view_container.h" |
+ |
+namespace gfx { |
+class Size; |
+} |
+ |
+namespace extensions { |
+ |
+class ExtensionsIframeGuestViewContainer : public ExtensionsGuestViewContainer { |
+ public: |
+ explicit ExtensionsIframeGuestViewContainer( |
+ content::RenderFrame* render_frame); |
+ ~ExtensionsIframeGuestViewContainer() override; |
+ |
+ // GuestViewContainer overrides. |
+ bool OnMessage(const IPC::Message& message) override; |
+ |
+ private: |
+ // Weak pointer factory used for calling the element resize callback. |
+ base::WeakPtrFactory<ExtensionsIframeGuestViewContainer> weak_ptr_factory_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ExtensionsIframeGuestViewContainer); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_CONTAINER_H_ |