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

Unified Diff: chrome/browser/gtk/location_bar_view_gtk.cc

Issue 53020: Redone http://codereview.chromium.org/42571 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.h ('k') | chrome/browser/location_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/location_bar_view_gtk.cc
===================================================================
--- chrome/browser/gtk/location_bar_view_gtk.cc (revision 12390)
+++ chrome/browser/gtk/location_bar_view_gtk.cc (working copy)
@@ -149,9 +149,14 @@
}
void LocationBarViewGtk::AcceptInput() {
- location_entry_->model()->AcceptInput(CURRENT_TAB, false);
+ AcceptInputWithDisposition(CURRENT_TAB);
}
+void LocationBarViewGtk::AcceptInputWithDisposition(
+ WindowOpenDisposition disposition) {
+ location_entry_->model()->AcceptInput(disposition, false);
+}
+
void LocationBarViewGtk::FocusLocation() {
location_entry_->SetFocus();
location_entry_->SelectAll(true);
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.h ('k') | chrome/browser/location_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698