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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 const base::string16& error_description) OVERRIDE; | 447 const base::string16& error_description) OVERRIDE; |
448 virtual void DidRedirectProvisionalLoad( | 448 virtual void DidRedirectProvisionalLoad( |
449 RenderFrameHostImpl* render_frame_host, | 449 RenderFrameHostImpl* render_frame_host, |
450 const GURL& validated_target_url) OVERRIDE; | 450 const GURL& validated_target_url) OVERRIDE; |
451 virtual void DidCommitProvisionalLoad( | 451 virtual void DidCommitProvisionalLoad( |
452 RenderFrameHostImpl* render_frame_host, | 452 RenderFrameHostImpl* render_frame_host, |
453 const base::string16& frame_unique_name, | 453 const base::string16& frame_unique_name, |
454 bool is_main_frame, | 454 bool is_main_frame, |
455 const GURL& url, | 455 const GURL& url, |
456 PageTransition transition_type) OVERRIDE; | 456 PageTransition transition_type) OVERRIDE; |
| 457 virtual void DidNavigateMainFramePreCommit( |
| 458 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) OVERRIDE; |
457 virtual void DidNavigateMainFramePostCommit( | 459 virtual void DidNavigateMainFramePostCommit( |
458 const LoadCommittedDetails& details, | 460 const LoadCommittedDetails& details, |
459 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) OVERRIDE; | 461 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) OVERRIDE; |
460 virtual void DidNavigateAnyFramePostCommit( | 462 virtual void DidNavigateAnyFramePostCommit( |
461 RenderFrameHostImpl* render_frame_host, | 463 RenderFrameHostImpl* render_frame_host, |
462 const LoadCommittedDetails& details, | 464 const LoadCommittedDetails& details, |
463 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) OVERRIDE; | 465 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) OVERRIDE; |
464 virtual void SetMainFrameMimeType(const std::string& mime_type) OVERRIDE; | 466 virtual void SetMainFrameMimeType(const std::string& mime_type) OVERRIDE; |
465 virtual bool CanOverscrollContent() OVERRIDE; | 467 virtual bool CanOverscrollContent() OVERRIDE; |
466 virtual void NotifyChangedNavigationState( | 468 virtual void NotifyChangedNavigationState( |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 // Whether this WebContents is responsible for displaying a subframe in a | 1051 // Whether this WebContents is responsible for displaying a subframe in a |
1050 // different process from its parent page. | 1052 // different process from its parent page. |
1051 bool is_subframe_; | 1053 bool is_subframe_; |
1052 | 1054 |
1053 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1055 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1054 }; | 1056 }; |
1055 | 1057 |
1056 } // namespace content | 1058 } // namespace content |
1057 | 1059 |
1058 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1060 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |