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

Unified Diff: chrome/common/gfx/chrome_canvas_win.cc

Issue 100013: Allow words to be wrapped in message box.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 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/common/gfx/chrome_canvas.h ('k') | chrome/views/controls/label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gfx/chrome_canvas_win.cc
===================================================================
--- chrome/common/gfx/chrome_canvas_win.cc (revision 14610)
+++ chrome/common/gfx/chrome_canvas_win.cc (working copy)
@@ -54,6 +54,8 @@
if (flags & ChromeCanvas::MULTI_LINE) {
f |= DT_WORDBREAK;
+ if (flags & ChromeCanvas::CHARACTER_BREAK)
+ f |= DT_EDITCONTROL;
} else {
f |= DT_SINGLELINE | DT_VCENTER;
if (!(flags & ChromeCanvas::NO_ELLIPSIS))
« no previous file with comments | « chrome/common/gfx/chrome_canvas.h ('k') | chrome/views/controls/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698