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

Side by Side Diff: content/public/renderer/render_frame.h

Issue 444813002: Remove BrowserPlugin's -internal-attach method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't crash on tear down Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_listener.h" 10 #include "ipc/ipc_listener.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Return true if this frame is hidden. 89 // Return true if this frame is hidden.
90 virtual bool IsHidden() = 0; 90 virtual bool IsHidden() = 0;
91 91
92 // Returns the ServiceRegistry for this frame. 92 // Returns the ServiceRegistry for this frame.
93 virtual ServiceRegistry* GetServiceRegistry() = 0; 93 virtual ServiceRegistry* GetServiceRegistry() = 0;
94 94
95 // Returns true if this frame is a FTP directory listing. 95 // Returns true if this frame is a FTP directory listing.
96 virtual bool IsFTPDirectoryListing() = 0; 96 virtual bool IsFTPDirectoryListing() = 0;
97 97
98 // Attaches the browser plugin identified by |element_instance_id| to guest
99 // content created by the embedder.
100 virtual void AttachGuest(int element_instance_id) = 0;
101
98 protected: 102 protected:
99 virtual ~RenderFrame() {} 103 virtual ~RenderFrame() {}
100 104
101 private: 105 private:
102 // This interface should only be implemented inside content. 106 // This interface should only be implemented inside content.
103 friend class RenderFrameImpl; 107 friend class RenderFrameImpl;
104 RenderFrame() {} 108 RenderFrame() {}
105 }; 109 };
106 110
107 } // namespace content 111 } // namespace content
108 112
109 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 113 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_manager.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698