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 void GetRenderViewHostAtPosition( | 194 virtual void GetRenderViewHostAtPosition( |
194 int x, | 195 int x, |
195 int y, | 196 int y, |
196 const GetRenderViewHostCallback& callback) OVERRIDE; | 197 const GetRenderViewHostCallback& callback) OVERRIDE; |
197 virtual WebContents* GetEmbedderWebContents() const OVERRIDE; | 198 virtual WebContents* GetEmbedderWebContents() const OVERRIDE; |
198 virtual int GetEmbeddedInstanceID() const OVERRIDE; | 199 virtual int GetEmbeddedInstanceID() const OVERRIDE; |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 // Whether this WebContents is responsible for displaying a subframe in a | 1046 // Whether this WebContents is responsible for displaying a subframe in a |
1046 // different process from its parent page. | 1047 // different process from its parent page. |
1047 bool is_subframe_; | 1048 bool is_subframe_; |
1048 | 1049 |
1049 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1050 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1050 }; | 1051 }; |
1051 | 1052 |
1052 } // namespace content | 1053 } // namespace content |
1053 | 1054 |
1054 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1055 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |