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