Chromium Code Reviews| 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)) |