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

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

Issue 7265011: RenderText API Outline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exclude Mac, fix font comparison. Created 9 years, 5 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 | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | ui/gfx/render_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 7b3ae8f2193ea96d99be52eef851f0fe1376613d..553b3357a3ad37bcc51711c1539160ec18d83106 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -26,10 +26,6 @@ class AutocompletePopupView;
class Profile;
class TabContents;
-namespace views {
-class TextStyle;
-}
-
// Views-implementation of OmniboxView. This is based on gtk implementation.
// The following features are not yet supported.
//
@@ -163,10 +159,6 @@ class OmniboxViewViews : public views::View,
AutocompletePopupView* CreatePopupView(Profile* profile,
const View* location_bar);
- // Lazy initialization of TextStyle objects. They can not be
- // initialized in Init as native wrapper isn't available at that time.
- void InitTextStyles();
-
views::Textfield* textfield_;
scoped_ptr<AutocompleteEditModel> model_;
@@ -196,12 +188,6 @@ class OmniboxViewViews : public views::View,
// Was the delete key pressed with an empty selection at the end of the edit?
bool delete_at_end_pressed_;
- // TextStyles for URL decoration. They're owned by textfield_.
- views::TextStyle* faded_text_style_;
- views::TextStyle* normal_text_style_;
- views::TextStyle* security_error_scheme_style_;
- views::TextStyle* secure_scheme_style_;
-
DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | ui/gfx/render_text.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698