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

Side by Side 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: Move iframe*guestview to components/ 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 unified diff | Download patch
OLDNEW
(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_CONTAINER_H_
6 #define COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_CONTAINER_H_
7
8 #include "components/guest_view/renderer/guest_view_container.h"
9
10 namespace guest_view {
11
12 class IframeGuestViewContainer : public GuestViewContainer {
13 public:
14 explicit IframeGuestViewContainer(content::RenderFrame* render_frame);
15 ~IframeGuestViewContainer() override;
16
17 // GuestViewContainer overrides.
18 bool OnMessage(const IPC::Message& message) override;
19
20 private:
21 // Weak pointer factory used for calling the element resize callback.
22 base::WeakPtrFactory<IframeGuestViewContainer> weak_ptr_factory_;
23
24 DISALLOW_COPY_AND_ASSIGN(IframeGuestViewContainer);
25 };
26
27 } // namespace guest_view
28
29 #endif // COMPONENTS_GUEST_VIEW_RENDERER_IFRAME_GUEST_VIEW_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698