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

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: Revert Label implementation 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
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 09b1ba39f3dcc76373109b124ec92cd98730421d..b57da12808a6b9e20197040f79a12d030101d074 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) {
« no previous file with comments | « ash/wm/overview/window_selector_item.cc ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698