| Index: chrome/browser/autocomplete/autocomplete_popup_view.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete_popup_view.h (revision 26251)
|
| +++ chrome/browser/autocomplete/autocomplete_popup_view.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2009 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.
|
|
|
| @@ -15,9 +15,9 @@
|
|
|
| class AutocompleteEditView;
|
| class AutocompletePopupModel;
|
| +class BubblePositioner;
|
| namespace gfx {
|
| class Font;
|
| -class Rect;
|
| }
|
| #if defined(OS_WIN) || defined(OS_LINUX)
|
| class AutocompleteEditViewWin;
|
| @@ -25,18 +25,6 @@
|
| class Profile;
|
| #endif
|
|
|
| -// An object in the browser UI can implement this interface to provide display
|
| -// bounds for the autocomplete popup view.
|
| -class AutocompletePopupPositioner {
|
| - public:
|
| - virtual ~AutocompletePopupPositioner() { }
|
| -
|
| - // Returns the bounds at which the popup should be shown, in screen
|
| - // coordinates. The height is ignored, since the popup is sized to its
|
| - // contents automatically.
|
| - virtual gfx::Rect GetPopupBounds() const = 0;
|
| -};
|
| -
|
| class AutocompletePopupView {
|
| public:
|
| virtual ~AutocompletePopupView() { }
|
| @@ -65,7 +53,7 @@
|
| AutocompleteEditView* edit_view,
|
| AutocompleteEditModel* edit_model,
|
| Profile* profile,
|
| - AutocompletePopupPositioner* popup_positioner);
|
| + const BubblePositioner* bubble_positioner);
|
| #endif
|
| };
|
|
|
|
|