diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 18:57:03 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-12 18:57:03 +0000 |
commit | a2b35465c42e3bb3f85c22a869e0dce74b5d8a4c (patch) | |
tree | e800a3fd638bda7b597b8fd0b76af50d3d049ea5 /chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | |
parent | 5e49b2ce1dc358328ab732520b17414b44081712 (diff) | |
download | chromium_src-a2b35465c42e3bb3f85c22a869e0dce74b5d8a4c.zip chromium_src-a2b35465c42e3bb3f85c22a869e0dce74b5d8a4c.tar.gz chromium_src-a2b35465c42e3bb3f85c22a869e0dce74b5d8a4c.tar.bz2 |
Shift omnibox dropdown in and up on Windows, and square off the top, so it connects to the location bar. Also fix info bubble positioning against location bar icons to put the arrow "up against the icon edge" (fixes the arrow overlapping some page action icons).
Remove BubblePositioner, which is now no longer needed.
BUG=27570,40730
TEST=Omnibox dropdown should line up with editable area edges, icons and text should line up with icon and text in the omnibox. Info bubbles should still be positioned correctly
Review URL: http://codereview.chromium.org/1578021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_gtk.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_gtk.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h index 69bc3be..7f11f7a 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h +++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -25,9 +25,11 @@ class AutocompleteEditController; class AutocompleteEditModel; class AutocompletePopupView; -class BubblePositioner; class Profile; class TabContents; +namespace views { +class View; +} #if !defined(TOOLKIT_VIEWS) class GtkThemeProvider; @@ -53,7 +55,11 @@ class AutocompleteEditViewGtk : public AutocompleteEditView, Profile* profile, CommandUpdater* command_updater, bool popup_window_mode, - const BubblePositioner* bubble_positioner); +#if defined(TOOLKIT_VIEWS) + const views::View* location_bar); +#else + const GtkWidget* location_bar); +#endif ~AutocompleteEditViewGtk(); // Initialize, create the underlying widgets, etc. |