Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: components/guest_view/renderer/iframe_guest_view_container.h

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: Address comments move destruction callback to GuestViewContainer Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/guest_view/renderer/iframe_guest_view_container.h
diff --git a/components/guest_view/renderer/iframe_guest_view_container.h b/components/guest_view/renderer/iframe_guest_view_container.h
new file mode 100644
index 0000000000000000000000000000000000000000..0d16b77a5845061b2c264bc28369bff52eb6ed2d
--- /dev/null
+++ b/components/guest_view/renderer/iframe_guest_view_container.h
@@ -0,0 +1,26 @@
+// 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 COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_CONTAINER_H_
+#define COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_CONTAINER_H_
+
+#include "components/guest_view/renderer/guest_view_container.h"
+
+namespace guest_view {
+
+class IframeGuestViewContainer : public GuestViewContainer {
Fady Samuel 2015/06/24 22:01:10 nit: Description of this class and what it does th
lazyboy 2015/06/24 23:01:51 Done.
+ public:
+ explicit IframeGuestViewContainer(content::RenderFrame* render_frame);
+ ~IframeGuestViewContainer() override;
+
+ // GuestViewContainer overrides.
+ bool OnMessage(const IPC::Message& message) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(IframeGuestViewContainer);
+};
+
+} // namespace guest_view
+
+#endif // COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_CONTAINER_H_

Powered by Google App Engine
This is Rietveld 408576698