| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; | 319 virtual void RenderViewReady(RenderViewHost* render_view_host) OVERRIDE; |
| 320 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 320 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
| 321 base::TerminationStatus status, | 321 base::TerminationStatus status, |
| 322 int error_code) OVERRIDE; | 322 int error_code) OVERRIDE; |
| 323 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; | 323 virtual void RenderViewDeleted(RenderViewHost* render_view_host) OVERRIDE; |
| 324 virtual void DidRedirectProvisionalLoad( | 324 virtual void DidRedirectProvisionalLoad( |
| 325 RenderViewHost* render_view_host, | 325 RenderViewHost* render_view_host, |
| 326 int32 page_id, | 326 int32 page_id, |
| 327 const GURL& source_url, | 327 const GURL& source_url, |
| 328 const GURL& target_url) OVERRIDE; | 328 const GURL& target_url) OVERRIDE; |
| 329 virtual void DidFailProvisionalLoadWithError( | |
| 330 RenderViewHost* render_view_host, | |
| 331 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params) | |
| 332 OVERRIDE; | |
| 333 virtual void DidNavigate( | 329 virtual void DidNavigate( |
| 334 RenderViewHost* render_view_host, | 330 RenderViewHost* render_view_host, |
| 335 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 331 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| 336 virtual void UpdateState(RenderViewHost* render_view_host, | 332 virtual void UpdateState(RenderViewHost* render_view_host, |
| 337 int32 page_id, | 333 int32 page_id, |
| 338 const PageState& page_state) OVERRIDE; | 334 const PageState& page_state) OVERRIDE; |
| 339 virtual void UpdateTitle(RenderViewHost* render_view_host, | 335 virtual void UpdateTitle(RenderViewHost* render_view_host, |
| 340 int32 page_id, | 336 int32 page_id, |
| 341 const base::string16& title, | 337 const base::string16& title, |
| 342 base::i18n::TextDirection title_direction) OVERRIDE; | 338 base::i18n::TextDirection title_direction) OVERRIDE; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 // NavigatorDelegate --------------------------------------------------------- | 449 // NavigatorDelegate --------------------------------------------------------- |
| 454 | 450 |
| 455 virtual void DidStartProvisionalLoad( | 451 virtual void DidStartProvisionalLoad( |
| 456 RenderFrameHostImpl* render_frame_host, | 452 RenderFrameHostImpl* render_frame_host, |
| 457 int64 frame_id, | 453 int64 frame_id, |
| 458 int64 parent_frame_id, | 454 int64 parent_frame_id, |
| 459 bool is_main_frame, | 455 bool is_main_frame, |
| 460 const GURL& validated_url, | 456 const GURL& validated_url, |
| 461 bool is_error_page, | 457 bool is_error_page, |
| 462 bool is_iframe_srcdoc) OVERRIDE; | 458 bool is_iframe_srcdoc) OVERRIDE; |
| 459 virtual void DidFailProvisionalLoadWithError( |
| 460 RenderFrameHostImpl* render_frame_host, |
| 461 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 462 OVERRIDE; |
| 463 virtual void NotifyChangedNavigationState( | 463 virtual void NotifyChangedNavigationState( |
| 464 InvalidateTypes changed_flags) OVERRIDE; | 464 InvalidateTypes changed_flags) OVERRIDE; |
| 465 | 465 |
| 466 // RenderWidgetHostDelegate -------------------------------------------------- | 466 // RenderWidgetHostDelegate -------------------------------------------------- |
| 467 | 467 |
| 468 virtual void RenderWidgetDeleted( | 468 virtual void RenderWidgetDeleted( |
| 469 RenderWidgetHostImpl* render_widget_host) OVERRIDE; | 469 RenderWidgetHostImpl* render_widget_host) OVERRIDE; |
| 470 virtual bool PreHandleKeyboardEvent( | 470 virtual bool PreHandleKeyboardEvent( |
| 471 const NativeWebKeyboardEvent& event, | 471 const NativeWebKeyboardEvent& event, |
| 472 bool* is_keyboard_shortcut) OVERRIDE; | 472 bool* is_keyboard_shortcut) OVERRIDE; |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1039 // Whether this WebContents is responsible for displaying a subframe in a | 1039 // Whether this WebContents is responsible for displaying a subframe in a |
| 1040 // different process from its parent page. | 1040 // different process from its parent page. |
| 1041 bool is_subframe_; | 1041 bool is_subframe_; |
| 1042 | 1042 |
| 1043 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1043 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1044 }; | 1044 }; |
| 1045 | 1045 |
| 1046 } // namespace content | 1046 } // namespace content |
| 1047 | 1047 |
| 1048 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1048 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |