Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2684143002: Remove deprecated navigation callbacks on WebContentsObserver that are now unused. (Closed)
Patch Set: call old RFH's BrowserAccessibilityManager Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 bool IsOverridingUserAgent() override; 564 bool IsOverridingUserAgent() override;
565 bool IsJavaScriptDialogShowing() const override; 565 bool IsJavaScriptDialogShowing() const override;
566 bool HideDownloadUI() const override; 566 bool HideDownloadUI() const override;
567 567
568 // NavigatorDelegate --------------------------------------------------------- 568 // NavigatorDelegate ---------------------------------------------------------
569 569
570 void DidStartNavigation(NavigationHandle* navigation_handle) override; 570 void DidStartNavigation(NavigationHandle* navigation_handle) override;
571 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; 571 void DidRedirectNavigation(NavigationHandle* navigation_handle) override;
572 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; 572 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
573 void DidFinishNavigation(NavigationHandle* navigation_handle) override; 573 void DidFinishNavigation(NavigationHandle* navigation_handle) override;
574 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
575 const GURL& validated_url,
576 bool is_error_page) override;
577 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host,
578 const GURL& validated_url,
579 int error_code,
580 const base::string16& error_description,
581 bool was_ignored_by_handler) override;
582 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 574 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
583 const GURL& url, 575 const GURL& url,
584 int error_code, 576 int error_code,
585 const base::string16& error_description, 577 const base::string16& error_description,
586 bool was_ignored_by_handler) override; 578 bool was_ignored_by_handler) override;
587 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host,
588 const GURL& url,
589 ui::PageTransition transition_type) override;
590 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; 579 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override;
591 void DidNavigateMainFramePostCommit( 580 void DidNavigateMainFramePostCommit(
592 RenderFrameHostImpl* render_frame_host, 581 RenderFrameHostImpl* render_frame_host,
593 const LoadCommittedDetails& details, 582 const LoadCommittedDetails& details,
594 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 583 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
595 void DidNavigateAnyFramePostCommit( 584 void DidNavigateAnyFramePostCommit(
596 RenderFrameHostImpl* render_frame_host, 585 RenderFrameHostImpl* render_frame_host,
597 const LoadCommittedDetails& details, 586 const LoadCommittedDetails& details,
598 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 587 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
599 void SetMainFrameMimeType(const std::string& mime_type) override; 588 void SetMainFrameMimeType(const std::string& mime_type) override;
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 // Adds/removes a callback called on creation of each new WebContents. 1508 // Adds/removes a callback called on creation of each new WebContents.
1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1509 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1510 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1522 1511
1523 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1512 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1524 }; 1513 };
1525 1514
1526 } // namespace content 1515 } // namespace content
1527 1516
1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1517 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698