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

Side by Side Diff: chrome/browser/views/location_bar_view.cc

Issue 100198: Redraw the location bar on reload (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/location_bar_view.h ('k') | chrome/test/test_location_bar.h » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/location_bar_view.h" 5 #include "chrome/browser/views/location_bar_view.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/app/chrome_dll_resource.h" 9 #include "chrome/app/chrome_dll_resource.h"
10 #include "chrome/browser/alternate_nav_url_fetcher.h" 10 #include "chrome/browser/alternate_nav_url_fetcher.h"
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 } 1119 }
1120 1120
1121 void LocationBarView::FocusSearch() { 1121 void LocationBarView::FocusSearch() {
1122 location_entry_->SetUserText(L"?"); 1122 location_entry_->SetUserText(L"?");
1123 location_entry_->SetFocus(); 1123 location_entry_->SetFocus();
1124 } 1124 }
1125 1125
1126 void LocationBarView::SaveStateToContents(TabContents* contents) { 1126 void LocationBarView::SaveStateToContents(TabContents* contents) {
1127 location_entry_->SaveStateToTab(contents); 1127 location_entry_->SaveStateToTab(contents);
1128 } 1128 }
1129
1130 void LocationBarView::Revert() {
1131 location_entry_->RevertAll();
1132 }
1133
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar_view.h ('k') | chrome/test/test_location_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698