summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 21:31:39 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 21:31:39 +0000
commit599ea9fd7f5f029661916c191ff89b7358719f81 (patch)
treec72cab547f6dee71007cad75402a774e8bce735f /chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
parent4e78ee1663d14ef7a087cefbd644652e53b9bdcb (diff)
downloadchromium_src-599ea9fd7f5f029661916c191ff89b7358719f81.zip
chromium_src-599ea9fd7f5f029661916c191ff89b7358719f81.tar.gz
chromium_src-599ea9fd7f5f029661916c191ff89b7358719f81.tar.bz2
[Mac] Convert Omnibox paste-and-go to use AutocompleteTextFieldObserver.
Obvious result of Rohit's addition of paste-and-go and my refactor to add AutocompleteTextFieldObserver. Bonus prize of unit tests for cocoa/ part of Rohit's change. Review URL: http://codereview.chromium.org/207047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_view_mac.mm')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
index 6e468af..d3b5c5b 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
@@ -326,6 +326,7 @@ void AutocompletePopupViewMac::CreatePopupIfNeeded() {
void AutocompletePopupViewMac::UpdatePopupAppearance() {
const AutocompleteResult& result = model_->result();
if (result.empty()) {
+ NSLog(@"Empty results in UpdatePopupAppearance");
[[popup_ parentWindow] removeChildWindow:popup_];
[popup_ orderOut:nil];