| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 int browser_plugin_instance_id) override; | 438 int browser_plugin_instance_id) override; |
| 439 GeolocationServiceContext* GetGeolocationServiceContext() override; | 439 GeolocationServiceContext* GetGeolocationServiceContext() override; |
| 440 WakeLockServiceContext* GetWakeLockServiceContext() override; | 440 WakeLockServiceContext* GetWakeLockServiceContext() override; |
| 441 void EnterFullscreenMode(const GURL& origin) override; | 441 void EnterFullscreenMode(const GURL& origin) override; |
| 442 void ExitFullscreenMode() override; | 442 void ExitFullscreenMode() override; |
| 443 bool ShouldRouteMessageEvent( | 443 bool ShouldRouteMessageEvent( |
| 444 RenderFrameHost* target_rfh, | 444 RenderFrameHost* target_rfh, |
| 445 SiteInstance* source_site_instance) const override; | 445 SiteInstance* source_site_instance) const override; |
| 446 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 446 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
| 447 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; | 447 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; |
| 448 void TriedDisplayingInsecureContent(RenderFrameHost* rfh, |
| 449 const GURL& origin, |
| 450 const GURL& url) override; |
| 451 void TriedRunningInsecureContent(RenderFrameHost* rfh, |
| 452 const GURL& origin, |
| 453 const GURL& url) override; |
| 448 #if defined(OS_WIN) | 454 #if defined(OS_WIN) |
| 449 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | 455 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
| 450 #endif | 456 #endif |
| 451 | 457 |
| 452 // RenderViewHostDelegate ---------------------------------------------------- | 458 // RenderViewHostDelegate ---------------------------------------------------- |
| 453 RenderViewHostDelegateView* GetDelegateView() override; | 459 RenderViewHostDelegateView* GetDelegateView() override; |
| 454 bool OnMessageReceived(RenderViewHost* render_view_host, | 460 bool OnMessageReceived(RenderViewHost* render_view_host, |
| 455 const IPC::Message& message) override; | 461 const IPC::Message& message) override; |
| 456 // RenderFrameHostDelegate has the same method, so list it there because this | 462 // RenderFrameHostDelegate has the same method, so list it there because this |
| 457 // interface is going away. | 463 // interface is going away. |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 // Adds/removes a callback called on creation of each new WebContents. | 1322 // Adds/removes a callback called on creation of each new WebContents. |
| 1317 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1323 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1318 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1324 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1319 | 1325 |
| 1320 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1326 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1321 }; | 1327 }; |
| 1322 | 1328 |
| 1323 } // namespace content | 1329 } // namespace content |
| 1324 | 1330 |
| 1325 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1331 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |