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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 RenderFrameHost* render_frame_host, | 432 RenderFrameHost* render_frame_host, |
433 int browser_plugin_instance_id) override; | 433 int browser_plugin_instance_id) override; |
434 GeolocationServiceContext* GetGeolocationServiceContext() override; | 434 GeolocationServiceContext* GetGeolocationServiceContext() override; |
435 WakeLockServiceContext* GetWakeLockServiceContext() override; | 435 WakeLockServiceContext* GetWakeLockServiceContext() override; |
436 void EnterFullscreenMode(const GURL& origin) override; | 436 void EnterFullscreenMode(const GURL& origin) override; |
437 void ExitFullscreenMode() override; | 437 void ExitFullscreenMode() override; |
438 bool ShouldRouteMessageEvent( | 438 bool ShouldRouteMessageEvent( |
439 RenderFrameHost* target_rfh, | 439 RenderFrameHost* target_rfh, |
440 SiteInstance* source_site_instance) const override; | 440 SiteInstance* source_site_instance) const override; |
441 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; | 441 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; |
| 442 scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url) override; |
442 #if defined(OS_WIN) | 443 #if defined(OS_WIN) |
443 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; | 444 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; |
444 #endif | 445 #endif |
445 | 446 |
446 // RenderViewHostDelegate ---------------------------------------------------- | 447 // RenderViewHostDelegate ---------------------------------------------------- |
447 RenderViewHostDelegateView* GetDelegateView() override; | 448 RenderViewHostDelegateView* GetDelegateView() override; |
448 bool OnMessageReceived(RenderViewHost* render_view_host, | 449 bool OnMessageReceived(RenderViewHost* render_view_host, |
449 const IPC::Message& message) override; | 450 const IPC::Message& message) override; |
450 // RenderFrameHostDelegate has the same method, so list it there because this | 451 // RenderFrameHostDelegate has the same method, so list it there because this |
451 // interface is going away. | 452 // interface is going away. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 RenderViewHost* render_view_host) override; | 621 RenderViewHost* render_view_host) override; |
621 void UpdateRenderViewSizeForRenderManager() override; | 622 void UpdateRenderViewSizeForRenderManager() override; |
622 void CancelModalDialogsForRenderManager() override; | 623 void CancelModalDialogsForRenderManager() override; |
623 void NotifySwappedFromRenderManager(RenderFrameHost* old_host, | 624 void NotifySwappedFromRenderManager(RenderFrameHost* old_host, |
624 RenderFrameHost* new_host, | 625 RenderFrameHost* new_host, |
625 bool is_main_frame) override; | 626 bool is_main_frame) override; |
626 void NotifyMainFrameSwappedFromRenderManager( | 627 void NotifyMainFrameSwappedFromRenderManager( |
627 RenderViewHost* old_host, | 628 RenderViewHost* old_host, |
628 RenderViewHost* new_host) override; | 629 RenderViewHost* new_host) override; |
629 NavigationControllerImpl& GetControllerForRenderManager() override; | 630 NavigationControllerImpl& GetControllerForRenderManager() override; |
630 scoped_ptr<WebUIImpl> CreateWebUIForRenderManager(const GURL& url) override; | |
631 NavigationEntry* GetLastCommittedNavigationEntryForRenderManager() override; | 631 NavigationEntry* GetLastCommittedNavigationEntryForRenderManager() override; |
632 bool FocusLocationBarByDefault() override; | 632 bool FocusLocationBarByDefault() override; |
633 void SetFocusToLocationBar(bool select_all) override; | 633 void SetFocusToLocationBar(bool select_all) override; |
634 bool IsHidden() override; | 634 bool IsHidden() override; |
635 int GetOuterDelegateFrameTreeNodeID() override; | 635 int GetOuterDelegateFrameTreeNodeID() override; |
636 | 636 |
637 // NotificationObserver ------------------------------------------------------ | 637 // NotificationObserver ------------------------------------------------------ |
638 | 638 |
639 void Observe(int type, | 639 void Observe(int type, |
640 const NotificationSource& source, | 640 const NotificationSource& source, |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 // Adds/removes a callback called on creation of each new WebContents. | 1338 // Adds/removes a callback called on creation of each new WebContents. |
1339 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1339 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1340 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1340 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1341 | 1341 |
1342 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1342 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1343 }; | 1343 }; |
1344 | 1344 |
1345 } // namespace content | 1345 } // namespace content |
1346 | 1346 |
1347 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1347 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |