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

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

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Fix compile. Created 4 years, 3 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
« no previous file with comments | « no previous file | ui/gfx/BUILD.gn » ('j') | ui/gfx/decorated_text.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2f45573895bc57c1b8bd62c20f7a5c57fcd8ad73..6f58c398025bab52e0f6261ee63bad96b7df3003 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -35,10 +35,6 @@ namespace content {
class WebContents;
} // namespace content
-namespace gfx {
-class RenderText;
-}
-
namespace ui {
class OSExchangeData;
} // namespace ui
@@ -67,13 +63,6 @@ class OmniboxViewViews
// Initialize, create the underlying views, etc.
void Init();
- // Exposes the RenderText for tests.
-#if defined(UNIT_TEST)
- gfx::RenderText* GetRenderText() {
- return views::Textfield::GetRenderText();
- }
-#endif
-
// For use when switching tabs, this saves the current state onto the tab so
// that it can be restored during a later call to Update().
void SaveStateToTab(content::WebContents* tab);
« no previous file with comments | « no previous file | ui/gfx/BUILD.gn » ('j') | ui/gfx/decorated_text.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698