Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 262093014: Test that OmniboxViewViews has opaque background. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..17f070a23ea2dd57df72044b8f41ee92c89986e0 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,9 @@ class OmniboxViewViews
// Starts an animation that fades in the entire OmniboxView.
void FadeIn();
+ // Returns the RenderText that is used by view::TextField.
+ gfx::RenderText* GetRenderTextForTesting();
Peter Kasting 2014/05/06 21:28:33 Can we instead bracket this with #if defined(UNIT_
Daniel Erat 2014/05/07 18:43:02 thanks, i didn't know about this #define. done.
+
// View:
virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698