diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-08 20:50:05 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-08 20:50:05 +0000 |
commit | f1d306e67b8676336f55aae95652d7cd51359534 (patch) | |
tree | 6f25205e78ba4c69e7b45468b3fdd0f6bed259f5 /chrome/browser/views/location_bar_view.cc | |
parent | b3d565264e6073bd00e4dfd81c8f887ea01fb58c (diff) | |
download | chromium_src-f1d306e67b8676336f55aae95652d7cd51359534.zip chromium_src-f1d306e67b8676336f55aae95652d7cd51359534.tar.gz chromium_src-f1d306e67b8676336f55aae95652d7cd51359534.tar.bz2 |
Cleanup, part 1.
* Consistently use underscores between words in identifiers (IDC_NEWTAB -> IDC_NEW_TAB)
* Make some identifiers clearer or more up-to-date (IDC_DUPLICATE -> IDC_DUPLICATE_TAB, IDC_GOOFFTHERECORD -> IDC_NEW_INCOGNITO_WINDOW, IDC_NEWPROFILEWINDOW -> IDC_PROFILE_MENU)
* Try and make string identifiers (IDS_xxx) match their corresponding IDC_xxx commands. Tony tells me this will not cause any need for retranslation.
* As much as possible (without modifying automated UI test XML files), use "Bookmark Bar", not "Bookmarks Bar" (this seemed to be prevailing usage in the code)
* Fix 80-column issues
This patch touches move files than any subsequent patches, but should be the most rubber-stampable.
Review URL: http://codereview.chromium.org/13633
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.cc')
-rw-r--r-- | chrome/browser/views/location_bar_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc index c8a4ebc..30a8a8c 100644 --- a/chrome/browser/views/location_bar_view.cc +++ b/chrome/browser/views/location_bar_view.cc @@ -321,7 +321,7 @@ void LocationBarView::OnAutocompleteAccept( if (controller_) { if (alternate_nav_url.empty()) { - controller_->ExecuteCommand(IDC_OPENURL); + controller_->ExecuteCommand(IDC_OPEN_CURRENT_URL); return; } @@ -330,7 +330,7 @@ void LocationBarView::OnAutocompleteAccept( // The AlternateNavURLFetcher will listen for the pending navigation // notification that will be issued as a result of the "open URL." It // will automatically install itself into that navigation controller. - controller_->ExecuteCommand(IDC_OPENURL); + controller_->ExecuteCommand(IDC_OPEN_CURRENT_URL); if (fetcher->state() == AlternateNavURLFetcher::NOT_STARTED) { // I'm not sure this should be reachable, but I'm not also sure enough // that it shouldn't to stick in a NOTREACHED(). In any case, this is |