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

Unified Diff: ui/gfx/canvas.h

Issue 10701024: Fix eliding of LTR tab title in RTL UI under non-Windows Views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
===================================================================
--- ui/gfx/canvas.h (revision 144792)
+++ ui/gfx/canvas.h (working copy)
@@ -363,7 +363,6 @@
// Apply transformation on the canvas.
void Transform(const ui::Transform& transform);
-#if defined(OS_WIN)
// Draws the given string with the beginning and/or the end using a fade
// gradient. When truncating the head
// |desired_characters_to_truncate_from_head| specifies the maximum number of
@@ -375,7 +374,6 @@
const gfx::Font& font,
SkColor color,
const gfx::Rect& display_rect);
-#endif
skia::PlatformCanvas* platform_canvas() const { return owned_canvas_.get(); }
SkCanvas* sk_canvas() const { return canvas_; }
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | ui/gfx/canvas_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698