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

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK_GE Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/browser/invalidate_type.h" 9 #include "content/public/browser/invalidate_type.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // NavigationController's last committed entry is for this navigation. 70 // NavigationController's last committed entry is for this navigation.
71 virtual void DidNavigateMainFramePostCommit( 71 virtual void DidNavigateMainFramePostCommit(
72 const LoadCommittedDetails& details, 72 const LoadCommittedDetails& details,
73 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {} 73 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {}
74 virtual void DidNavigateAnyFramePostCommit( 74 virtual void DidNavigateAnyFramePostCommit(
75 RenderFrameHostImpl* render_frame_host, 75 RenderFrameHostImpl* render_frame_host,
76 const LoadCommittedDetails& details, 76 const LoadCommittedDetails& details,
77 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {} 77 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {}
78 78
79 virtual void SetMainFrameMimeType(const std::string& mime_type) {} 79 virtual void SetMainFrameMimeType(const std::string& mime_type) {}
80 virtual bool CanOverscrollContent(); 80 virtual bool CanOverscrollContent() const;
81 81
82 // Notification to the Navigator embedder that navigation state has 82 // Notification to the Navigator embedder that navigation state has
83 // changed. This method corresponds to 83 // changed. This method corresponds to
84 // WebContents::NotifyNavigationStateChanged. 84 // WebContents::NotifyNavigationStateChanged.
85 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} 85 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {}
86 86
87 // Notifies the Navigator embedder that it is beginning to navigate a frame. 87 // Notifies the Navigator embedder that it is beginning to navigate a frame.
88 virtual void AboutToNavigateRenderFrame( 88 virtual void AboutToNavigateRenderFrame(
89 RenderFrameHostImpl* render_frame_host) {} 89 RenderFrameHostImpl* render_frame_host) {}
90 90
(...skipping 10 matching lines...) Expand all
101 const OpenURLParams& params) {} 101 const OpenURLParams& params) {}
102 102
103 // Returns whether URLs for aborted browser-initiated navigations should be 103 // Returns whether URLs for aborted browser-initiated navigations should be
104 // preserved in the omnibox. Defaults to false. 104 // preserved in the omnibox. Defaults to false.
105 virtual bool ShouldPreserveAbortedURLs(); 105 virtual bool ShouldPreserveAbortedURLs();
106 }; 106 };
107 107
108 } // namspace content 108 } // namspace content
109 109
110 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 110 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_entry_screenshot_manager.cc ('k') | content/browser/frame_host/navigator_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698