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