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

Side by Side Diff: extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ Created 3 years, 9 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_ H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "components/guest_view/browser/guest_view.h" 10 #include "components/guest_view/browser/guest_view.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 static const char Type[]; 59 static const char Type[];
60 60
61 // BrowserPluginGuestDelegate overrides. 61 // BrowserPluginGuestDelegate overrides.
62 bool CanUseCrossProcessFrames() override; 62 bool CanUseCrossProcessFrames() override;
63 bool CanBeEmbeddedInsideCrossProcessFrames() override; 63 bool CanBeEmbeddedInsideCrossProcessFrames() override;
64 content::RenderWidgetHost* GetOwnerRenderWidgetHost() override; 64 content::RenderWidgetHost* GetOwnerRenderWidgetHost() override;
65 content::SiteInstance* GetOwnerSiteInstance() override; 65 content::SiteInstance* GetOwnerSiteInstance() override;
66 66
67 void SetEmbedderFrame(int process_id, int routing_id); 67 void SetEmbedderFrame(int process_id, int routing_id);
68 void DidAttachToOuterFrame();
68 69
69 protected: 70 protected:
70 explicit MimeHandlerViewGuest(content::WebContents* owner_web_contents); 71 explicit MimeHandlerViewGuest(content::WebContents* owner_web_contents);
71 ~MimeHandlerViewGuest() override; 72 ~MimeHandlerViewGuest() override;
72 73
73 private: 74 private:
74 friend class TestMimeHandlerViewGuest; 75 friend class TestMimeHandlerViewGuest;
75 76
76 // GuestViewBase implementation. 77 // GuestViewBase implementation.
77 const char* GetAPINamespace() const final; 78 const char* GetAPINamespace() const final;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 int embedder_frame_process_id_; 111 int embedder_frame_process_id_;
111 int embedder_frame_routing_id_; 112 int embedder_frame_routing_id_;
112 int embedder_widget_routing_id_; 113 int embedder_widget_routing_id_;
113 114
114 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); 115 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest);
115 }; 116 };
116 117
117 } // namespace extensions 118 } // namespace extensions
118 119
119 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE ST_H_ 120 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE ST_H_
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698