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