/external/chromium_org/ui/views/controls/textfield/ |
textfield_model.h | 15 #include "ui/gfx/render_text.h" 65 gfx::RenderText* render_text() { return render_text_.get(); } function in class:views::TextfieldModel
|
textfield.cc | 838 gfx::RenderText* render_text = GetRenderText(); local 839 const gfx::Range& selection = render_text->selection(); 840 drop_cursor_position_ = render_text->FindCursorPosition(event.location()); 872 gfx::RenderText* render_text = GetRenderText(); local 874 !render_text->IsPointInSelection(event.location())); 879 render_text->FindCursorPosition(event.location()); 889 pos -= render_text->selection().Intersect(gfx::Range(0, pos)).length(); 1000 gfx::RenderText* render_text = GetRenderText(); local 1105 gfx::RenderText* render_text = GetRenderText(); local 1631 gfx::RenderText* render_text = GetRenderText(); local [all...] |
/external/chromium_org/ui/app_list/views/ |
search_result_view.cc | 17 #include "ui/gfx/render_text.h" 43 gfx::RenderText* render_text = gfx::RenderText::CreateInstance(); local 44 render_text->SetText(text); 45 render_text->SetColor(kResultDefaultTextColor); 55 render_text->ApplyStyle(gfx::BOLD, true, it->range); 57 render_text->ApplyColor(kResultDimmedTextColor, it->range); 59 render_text->ApplyColor(kResultURLTextColor, it->range); 62 return render_text;
|
/external/chromium_org/ui/gfx/ |
render_text_unittest.cc | 5 #include "ui/gfx/render_text.h" 54 base::string16 GetSelectedText(RenderText* render_text) { 55 return render_text->text().substr(render_text->selection().GetMin(), 56 render_text->selection().length()); 68 void RunMoveCursorLeftRightTest(RenderText* render_text, 74 EXPECT_EQ(expected[i], render_text->selection_model()); 75 render_text->MoveCursor(CHARACTER_BREAK, direction, false); 78 EXPECT_EQ(expected.back(), render_text->selection_model()); 80 render_text->MoveCursor(LINE_BREAK, direction, false) 2144 RenderTextHarfBuzz render_text; local 2219 RenderTextHarfBuzz render_text; local 2231 RenderTextHarfBuzz render_text; local 2285 RenderTextHarfBuzz render_text; local [all...] |