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

Side by Side Diff: chrome/browser/ui/search/search_tab_helper.h

Issue 78443005: New Tab: fix tab title flickering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 DetermineIfPageSupportsInstant_NonLocal); 113 DetermineIfPageSupportsInstant_NonLocal);
114 FRIEND_TEST_ALL_PREFIXES(InstantPageTest, 114 FRIEND_TEST_ALL_PREFIXES(InstantPageTest,
115 PageURLDoesntBelongToInstantRenderer); 115 PageURLDoesntBelongToInstantRenderer);
116 FRIEND_TEST_ALL_PREFIXES(InstantPageTest, PageSupportsInstant); 116 FRIEND_TEST_ALL_PREFIXES(InstantPageTest, PageSupportsInstant);
117 117
118 explicit SearchTabHelper(content::WebContents* web_contents); 118 explicit SearchTabHelper(content::WebContents* web_contents);
119 119
120 // Overridden from contents::WebContentsObserver: 120 // Overridden from contents::WebContentsObserver:
121 virtual void RenderViewCreated( 121 virtual void RenderViewCreated(
122 content::RenderViewHost* render_view_host) OVERRIDE; 122 content::RenderViewHost* render_view_host) OVERRIDE;
123 virtual void DidStartNavigationToPendingEntry(
124 const GURL& url,
125 content::NavigationController::ReloadType reload_type) OVERRIDE;
123 virtual void DidNavigateMainFrame( 126 virtual void DidNavigateMainFrame(
124 const content::LoadCommittedDetails& details, 127 const content::LoadCommittedDetails& details,
125 const content::FrameNavigateParams& params) OVERRIDE; 128 const content::FrameNavigateParams& params) OVERRIDE;
126 virtual void DidFailProvisionalLoad( 129 virtual void DidFailProvisionalLoad(
127 int64 frame_id, 130 int64 frame_id,
128 const string16& frame_unique_name, 131 const string16& frame_unique_name,
129 bool is_main_frame, 132 bool is_main_frame,
130 const GURL& validated_url, 133 const GURL& validated_url,
131 int error_code, 134 int error_code,
132 const string16& error_description, 135 const string16& error_description,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 content::WebContents* web_contents_; 198 content::WebContents* web_contents_;
196 199
197 SearchIPCRouter ipc_router_; 200 SearchIPCRouter ipc_router_;
198 201
199 InstantService* instant_service_; 202 InstantService* instant_service_;
200 203
201 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); 204 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
202 }; 205 };
203 206
204 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ 207 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698