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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 const GURL& GetLastCommittedURL() const override; | 228 const GURL& GetLastCommittedURL() const override; |
229 RenderProcessHost* GetRenderProcessHost() const override; | 229 RenderProcessHost* GetRenderProcessHost() const override; |
230 RenderFrameHostImpl* GetMainFrame() override; | 230 RenderFrameHostImpl* GetMainFrame() override; |
231 RenderFrameHostImpl* GetFocusedFrame() override; | 231 RenderFrameHostImpl* GetFocusedFrame() override; |
232 void ForEachFrame( | 232 void ForEachFrame( |
233 const base::Callback<void(RenderFrameHost*)>& on_frame) override; | 233 const base::Callback<void(RenderFrameHost*)>& on_frame) override; |
234 void SendToAllFrames(IPC::Message* message) override; | 234 void SendToAllFrames(IPC::Message* message) override; |
235 RenderViewHostImpl* GetRenderViewHost() const override; | 235 RenderViewHostImpl* GetRenderViewHost() const override; |
236 int GetRoutingID() const override; | 236 int GetRoutingID() const override; |
237 RenderWidgetHostView* GetRenderWidgetHostView() const override; | 237 RenderWidgetHostView* GetRenderWidgetHostView() const override; |
| 238 void ClosePage() override; |
238 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; | 239 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; |
239 SkColor GetThemeColor() const override; | 240 SkColor GetThemeColor() const override; |
240 WebUI* CreateWebUI(const GURL& url) override; | 241 WebUI* CreateWebUI(const GURL& url) override; |
241 WebUI* GetWebUI() const override; | 242 WebUI* GetWebUI() const override; |
242 WebUI* GetCommittedWebUI() const override; | 243 WebUI* GetCommittedWebUI() const override; |
243 void SetUserAgentOverride(const std::string& override) override; | 244 void SetUserAgentOverride(const std::string& override) override; |
244 const std::string& GetUserAgentOverride() const override; | 245 const std::string& GetUserAgentOverride() const override; |
245 void EnableTreeOnlyAccessibilityMode() override; | 246 void EnableTreeOnlyAccessibilityMode() override; |
246 bool IsTreeOnlyAccessibilityModeForTesting() const override; | 247 bool IsTreeOnlyAccessibilityModeForTesting() const override; |
247 bool IsFullAccessibilityModeForTesting() const override; | 248 bool IsFullAccessibilityModeForTesting() const override; |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 // Adds/removes a callback called on creation of each new WebContents. | 1283 // Adds/removes a callback called on creation of each new WebContents. |
1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1285 | 1286 |
1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1287 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1287 }; | 1288 }; |
1288 | 1289 |
1289 } // namespace content | 1290 } // namespace content |
1290 | 1291 |
1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |