OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 const ResourceRedirectDetails& details); | 179 const ResourceRedirectDetails& details); |
180 | 180 |
181 // WebContents ------------------------------------------------------ | 181 // WebContents ------------------------------------------------------ |
182 virtual WebContentsDelegate* GetDelegate() OVERRIDE; | 182 virtual WebContentsDelegate* GetDelegate() OVERRIDE; |
183 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; | 183 virtual void SetDelegate(WebContentsDelegate* delegate) OVERRIDE; |
184 virtual NavigationControllerImpl& GetController() OVERRIDE; | 184 virtual NavigationControllerImpl& GetController() OVERRIDE; |
185 virtual const NavigationControllerImpl& GetController() const OVERRIDE; | 185 virtual const NavigationControllerImpl& GetController() const OVERRIDE; |
186 virtual BrowserContext* GetBrowserContext() const OVERRIDE; | 186 virtual BrowserContext* GetBrowserContext() const OVERRIDE; |
187 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; | 187 virtual RenderProcessHost* GetRenderProcessHost() const OVERRIDE; |
188 virtual RenderFrameHost* GetMainFrame() OVERRIDE; | 188 virtual RenderFrameHost* GetMainFrame() OVERRIDE; |
| 189 virtual RenderFrameHost* GetFocusedFrame() OVERRIDE; |
189 virtual void ForEachFrame( | 190 virtual void ForEachFrame( |
190 const base::Callback<void(RenderFrameHost*)>& on_frame) OVERRIDE; | 191 const base::Callback<void(RenderFrameHost*)>& on_frame) OVERRIDE; |
191 virtual void SendToAllFrames(IPC::Message* message) OVERRIDE; | 192 virtual void SendToAllFrames(IPC::Message* message) OVERRIDE; |
192 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; | 193 virtual RenderViewHost* GetRenderViewHost() const OVERRIDE; |
193 virtual WebContents* GetEmbedderWebContents() const OVERRIDE; | 194 virtual WebContents* GetEmbedderWebContents() const OVERRIDE; |
194 virtual int GetEmbeddedInstanceID() const OVERRIDE; | 195 virtual int GetEmbeddedInstanceID() const OVERRIDE; |
195 virtual int GetRoutingID() const OVERRIDE; | 196 virtual int GetRoutingID() const OVERRIDE; |
196 virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE; | 197 virtual RenderWidgetHostView* GetRenderWidgetHostView() const OVERRIDE; |
197 virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const | 198 virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const |
198 OVERRIDE; | 199 OVERRIDE; |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 // Whether this WebContents is responsible for displaying a subframe in a | 1042 // Whether this WebContents is responsible for displaying a subframe in a |
1042 // different process from its parent page. | 1043 // different process from its parent page. |
1043 bool is_subframe_; | 1044 bool is_subframe_; |
1044 | 1045 |
1045 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1046 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1046 }; | 1047 }; |
1047 | 1048 |
1048 } // namespace content | 1049 } // namespace content |
1049 | 1050 |
1050 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1051 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |