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