| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.h
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
|
| index 1b71318cda58998da2eb0e0aacaab87601d412fa..1b3dde9318e604bd0a51add66609680694fed89a 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
|
| @@ -26,6 +26,7 @@ class OmniboxPopupView;
|
| class Profile;
|
|
|
| namespace gfx {
|
| +class RenderText;
|
| class SlideAnimation;
|
| }
|
|
|
| @@ -33,7 +34,7 @@ namespace ui {
|
| class OSExchangeData;
|
| } // namespace ui
|
|
|
| -// Views-implementation of OmniboxView, based on the gtk implementation.
|
| +// Views-implementation of OmniboxView.
|
| class OmniboxViewViews
|
| : public OmniboxView,
|
| public views::Textfield,
|
| @@ -61,6 +62,13 @@ class OmniboxViewViews
|
| // Starts an animation that fades in the entire OmniboxView.
|
| void FadeIn();
|
|
|
| + // Exposes the RenderText for tests.
|
| +#if defined(UNIT_TEST)
|
| + gfx::RenderText* GetRenderText() {
|
| + return views::Textfield::GetRenderText();
|
| + }
|
| +#endif
|
| +
|
| // View:
|
| virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
|
|
|
|
|