OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |