summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/location_bar_view_mac.mm
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 02:13:45 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 02:13:45 +0000
commit943d8120c51e2ed0146d85a15298d7fa30f316e0 (patch)
tree74d94e42c0590d308074ad8262cbf36656b2e708 /chrome/browser/cocoa/location_bar_view_mac.mm
parent8e0049d83d792dec1d2981d4f95369ca8a7b0558 (diff)
downloadchromium_src-943d8120c51e2ed0146d85a15298d7fa30f316e0.zip
chromium_src-943d8120c51e2ed0146d85a15298d7fa30f316e0.tar.gz
chromium_src-943d8120c51e2ed0146d85a15298d7fa30f316e0.tar.bz2
Detach reload from omnibox, combine with stop, and eliminate go.
This does the basic surgery on all three OSes without trying to fix up the visual appearance. As a result, things look pretty ugly. My intent is to at least put endcaps on the omnibox in a subsequent patch. BUG=45745,45762,45763 TEST=Reload and stop should be combined; go should be gone. Review URL: http://codereview.chromium.org/2677003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/location_bar_view_mac.mm')
-rw-r--r--chrome/browser/cocoa/location_bar_view_mac.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/location_bar_view_mac.mm b/chrome/browser/cocoa/location_bar_view_mac.mm
index ea02141..9be750a 100644
--- a/chrome/browser/cocoa/location_bar_view_mac.mm
+++ b/chrome/browser/cocoa/location_bar_view_mac.mm
@@ -124,11 +124,6 @@ PageTransition::Type LocationBarViewMac::GetPageTransition() const {
void LocationBarViewMac::AcceptInput() {
WindowOpenDisposition disposition =
event_utils::WindowOpenDispositionFromNSEvent([NSApp currentEvent]);
- AcceptInputWithDisposition(disposition);
-}
-
-void LocationBarViewMac::AcceptInputWithDisposition(
- WindowOpenDisposition disposition) {
edit_view_->model()->AcceptInput(disposition, false);
}