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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 23228004: Prepare to use gfx::RenderText in views::Label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments; simplify app list changes. Created 6 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
Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 4dca846d888720b234b07d0e578c18046399f3b4..53295baebf224fb3d5532989e5bb87ccf76ddc2f 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -171,7 +171,6 @@ class BookmarkButtonBase : public views::LabelButton {
BookmarkButtonBase(views::ButtonListener* listener,
const base::string16& title)
: LabelButton(listener, title) {
- SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_TEXT);
SetElideBehavior(kElideBehavior);
show_animation_.reset(new gfx::SlideAnimation(this));
if (!animations_enabled) {
@@ -282,7 +281,6 @@ class BookmarkFolderButton : public views::MenuButton {
views::MenuButtonListener* menu_button_listener,
bool show_menu_marker)
: MenuButton(listener, title, menu_button_listener, show_menu_marker) {
- SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_TEXT);
SetElideBehavior(kElideBehavior);
show_animation_.reset(new gfx::SlideAnimation(this));
if (!animations_enabled) {

Powered by Google App Engine
This is Rietveld 408576698