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

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

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+ Created 4 years, 4 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 RenderFrameHostImpl* render_frame_host, 566 RenderFrameHostImpl* render_frame_host,
567 const LoadCommittedDetails& details, 567 const LoadCommittedDetails& details,
568 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 568 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
569 void DidNavigateAnyFramePostCommit( 569 void DidNavigateAnyFramePostCommit(
570 RenderFrameHostImpl* render_frame_host, 570 RenderFrameHostImpl* render_frame_host,
571 const LoadCommittedDetails& details, 571 const LoadCommittedDetails& details,
572 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 572 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
573 void SetMainFrameMimeType(const std::string& mime_type) override; 573 void SetMainFrameMimeType(const std::string& mime_type) override;
574 bool CanOverscrollContent() const override; 574 bool CanOverscrollContent() const override;
575 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; 575 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override;
576 void DidStartNavigationToPendingEntry( 576 void DidStartNavigationToPendingEntry(const GURL& url,
577 const GURL& url, 577 ReloadType reload_type) override;
578 NavigationController::ReloadType reload_type) override;
579 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 578 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
580 const OpenURLParams& params) override; 579 const OpenURLParams& params) override;
581 bool ShouldTransferNavigation() override; 580 bool ShouldTransferNavigation() override;
582 bool ShouldPreserveAbortedURLs() override; 581 bool ShouldPreserveAbortedURLs() override;
583 void DidStartLoading(FrameTreeNode* frame_tree_node, 582 void DidStartLoading(FrameTreeNode* frame_tree_node,
584 bool to_different_document) override; 583 bool to_different_document) override;
585 void DidStopLoading() override; 584 void DidStopLoading() override;
586 void DidChangeLoadProgress() override; 585 void DidChangeLoadProgress() override;
587 586
588 // RenderWidgetHostDelegate -------------------------------------------------- 587 // RenderWidgetHostDelegate --------------------------------------------------
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 // Adds/removes a callback called on creation of each new WebContents. 1432 // Adds/removes a callback called on creation of each new WebContents.
1434 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1433 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1435 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1434 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1436 1435
1437 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1436 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1438 }; 1437 };
1439 1438
1440 } // namespace content 1439 } // namespace content
1441 1440
1442 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1441 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698