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