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

Side by Side Diff: chrome/browser/ui/search/search_tab_helper.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DetermineIfPageSupportsInstant_NonLocal); 125 DetermineIfPageSupportsInstant_NonLocal);
126 FRIEND_TEST_ALL_PREFIXES(InstantTabTest, 126 FRIEND_TEST_ALL_PREFIXES(InstantTabTest,
127 PageURLDoesntBelongToInstantRenderer); 127 PageURLDoesntBelongToInstantRenderer);
128 FRIEND_TEST_ALL_PREFIXES(InstantTabTest, PageSupportsInstant); 128 FRIEND_TEST_ALL_PREFIXES(InstantTabTest, PageSupportsInstant);
129 129
130 explicit SearchTabHelper(content::WebContents* web_contents); 130 explicit SearchTabHelper(content::WebContents* web_contents);
131 131
132 // Overridden from contents::WebContentsObserver: 132 // Overridden from contents::WebContentsObserver:
133 void DidStartNavigationToPendingEntry( 133 void DidStartNavigationToPendingEntry(
134 const GURL& url, 134 const GURL& url,
135 content::NavigationController::ReloadType reload_type) override; 135 content::ReloadType reload_type) override;
136 void DidNavigateMainFrame( 136 void DidNavigateMainFrame(
137 const content::LoadCommittedDetails& details, 137 const content::LoadCommittedDetails& details,
138 const content::FrameNavigateParams& params) override; 138 const content::FrameNavigateParams& params) override;
139 void DidFinishLoad(content::RenderFrameHost* render_frame_host, 139 void DidFinishLoad(content::RenderFrameHost* render_frame_host,
140 const GURL& validated_url) override; 140 const GURL& validated_url) override;
141 void NavigationEntryCommitted( 141 void NavigationEntryCommitted(
142 const content::LoadCommittedDetails& load_details) override; 142 const content::LoadCommittedDetails& load_details) override;
143 143
144 // Overridden from SearchIPCRouter::Delegate: 144 // Overridden from SearchIPCRouter::Delegate:
145 void OnInstantSupportDetermined(bool supports_instant) override; 145 void OnInstantSupportDetermined(bool supports_instant) override;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // Delegate for notifying our owner about the SearchTabHelper state. Not owned 200 // Delegate for notifying our owner about the SearchTabHelper state. Not owned
201 // by us. 201 // by us.
202 // NULL on iOS and Android because they don't use the Instant framework. 202 // NULL on iOS and Android because they don't use the Instant framework.
203 SearchTabHelperDelegate* delegate_; 203 SearchTabHelperDelegate* delegate_;
204 204
205 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 205 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
206 }; 206 };
207 207
208 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 208 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698