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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 virtual bool HandleWheelEvent( | 504 virtual bool HandleWheelEvent( |
505 const blink::WebMouseWheelEvent& event) OVERRIDE; | 505 const blink::WebMouseWheelEvent& event) OVERRIDE; |
506 virtual bool PreHandleGestureEvent( | 506 virtual bool PreHandleGestureEvent( |
507 const blink::WebGestureEvent& event) OVERRIDE; | 507 const blink::WebGestureEvent& event) OVERRIDE; |
508 virtual bool HandleGestureEvent( | 508 virtual bool HandleGestureEvent( |
509 const blink::WebGestureEvent& event) OVERRIDE; | 509 const blink::WebGestureEvent& event) OVERRIDE; |
510 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE; | 510 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) OVERRIDE; |
511 #if defined(OS_WIN) | 511 #if defined(OS_WIN) |
512 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; | 512 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; |
513 #endif | 513 #endif |
| 514 virtual void DispatchMessageWithSwapFrame(const IPC::Message&) OVERRIDE; |
514 | 515 |
515 // RenderFrameHostManager::Delegate ------------------------------------------ | 516 // RenderFrameHostManager::Delegate ------------------------------------------ |
516 | 517 |
517 virtual bool CreateRenderViewForRenderManager( | 518 virtual bool CreateRenderViewForRenderManager( |
518 RenderViewHost* render_view_host, | 519 RenderViewHost* render_view_host, |
519 int opener_route_id, | 520 int opener_route_id, |
520 CrossProcessFrameConnector* frame_connector) OVERRIDE; | 521 CrossProcessFrameConnector* frame_connector) OVERRIDE; |
521 virtual void BeforeUnloadFiredFromRenderManager( | 522 virtual void BeforeUnloadFiredFromRenderManager( |
522 bool proceed, const base::TimeTicks& proceed_time, | 523 bool proceed, const base::TimeTicks& proceed_time, |
523 bool* proceed_to_fire_unload) OVERRIDE; | 524 bool* proceed_to_fire_unload) OVERRIDE; |
524 virtual void RenderProcessGoneFromRenderManager( | 525 virtual void RenderProcessGoneFromRenderManager( |
525 RenderViewHost* render_view_host) OVERRIDE; | 526 RenderViewHost* render_view_host) OVERRIDE; |
526 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; | 527 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; |
527 virtual void CancelModalDialogsForRenderManager() OVERRIDE; | 528 virtual void CancelModalDialogsForRenderManager() OVERRIDE; |
528 virtual void NotifySwappedFromRenderManager( | 529 virtual void NotifySwappedFromRenderManager( |
529 RenderViewHost* old_host, RenderViewHost* new_host) OVERRIDE; | 530 RenderViewHost* old_host, RenderViewHost* new_host) OVERRIDE; |
530 virtual int CreateOpenerRenderViewsForRenderManager( | 531 virtual int CreateOpenerRenderViewsForRenderManager( |
531 SiteInstance* instance) OVERRIDE; | 532 SiteInstance* instance) OVERRIDE; |
532 virtual NavigationControllerImpl& | 533 virtual NavigationControllerImpl& |
533 GetControllerForRenderManager() OVERRIDE; | 534 GetControllerForRenderManager() OVERRIDE; |
534 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; | 535 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; |
535 virtual NavigationEntry* | 536 virtual NavigationEntry* |
536 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE; | 537 GetLastCommittedNavigationEntryForRenderManager() OVERRIDE; |
537 virtual bool FocusLocationBarByDefault() OVERRIDE; | 538 virtual bool FocusLocationBarByDefault() OVERRIDE; |
538 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 539 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
539 virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) OVERRIDE; | 540 virtual void CreateViewAndSetSizeForRVH(RenderViewHost* rvh) OVERRIDE; |
540 virtual bool IsHidden() OVERRIDE; | 541 virtual bool IsHidden() OVERRIDE; |
| 542 virtual void WidgetVisibleStateChanged( |
| 543 int32 page_id, |
| 544 WidgetVisibleState widget_visible_state) OVERRIDE; |
541 | 545 |
542 // NotificationObserver ------------------------------------------------------ | 546 // NotificationObserver ------------------------------------------------------ |
543 | 547 |
544 virtual void Observe(int type, | 548 virtual void Observe(int type, |
545 const NotificationSource& source, | 549 const NotificationSource& source, |
546 const NotificationDetails& details) OVERRIDE; | 550 const NotificationDetails& details) OVERRIDE; |
547 | 551 |
548 // NavigationControllerDelegate ---------------------------------------------- | 552 // NavigationControllerDelegate ---------------------------------------------- |
549 | 553 |
550 virtual WebContents* GetWebContents() OVERRIDE; | 554 virtual WebContents* GetWebContents() OVERRIDE; |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 | 1109 |
1106 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1110 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
1107 bool last_dialog_suppressed_; | 1111 bool last_dialog_suppressed_; |
1108 | 1112 |
1109 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1113 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1110 }; | 1114 }; |
1111 | 1115 |
1112 } // namespace content | 1116 } // namespace content |
1113 | 1117 |
1114 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1118 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |