diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 19:45:35 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 19:45:35 +0000 |
commit | 713b2daf0e3cbd53e023c10073a7d7cbcb0b992c (patch) | |
tree | 91bb90116ccbd513f91dbbcb9294e8fa5dd2ebb3 /chrome/browser | |
parent | f31751e08e747f0ffc0ae1602b38f41c37b2f406 (diff) | |
download | chromium_src-713b2daf0e3cbd53e023c10073a7d7cbcb0b992c.zip chromium_src-713b2daf0e3cbd53e023c10073a7d7cbcb0b992c.tar.gz chromium_src-713b2daf0e3cbd53e023c10073a7d7cbcb0b992c.tar.bz2 |
[Mac] Disable Omnibox editing in popup windows.
http://crbug.com/20243
TEST=Go to www.popuptest.com. Select test #2, allow one of the popups
through. Try to edit in the omnibox. Should be able to select and
copy, but not enter text.
Review URL: http://codereview.chromium.org/183043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/cocoa/toolbar_controller.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm index f3c7b13..5db38fb 100644 --- a/chrome/browser/cocoa/toolbar_controller.mm +++ b/chrome/browser/cocoa/toolbar_controller.mm @@ -302,8 +302,8 @@ class PrefObserverBridge : public NotificationObserver { // TODO(???): add more code here when implementing app mode to allow // turning off both toolbar AND location bar. - // TODO(jrg): add mode code to make the location bar NOT editable - // when in a pop-up. + // Make location bar not editable when in a pop-up. + [locationBar_ setEditable:toolbar]; } - (NSView*)view { |