Searched refs:HasSelection (Results 1 – 12 of 12) sorted by relevance
331 if (HasSelection()) { in Delete()352 if (HasSelection()) { in Backspace()486 if (!HasCompositionText() && HasSelection() && !render_text_->obscured()) { in Cut()503 if (!HasCompositionText() && HasSelection() && !render_text_->obscured()) { in Copy()522 bool TextfieldModel::HasSelection() const { in HasSelection() function in views::TextfieldModel528 DCHECK(HasSelection()); in DeleteSelection()558 else if (HasSelection()) in SetCompositionText()639 } else if (HasSelection()) { in InsertTextInternal()651 } else if (!HasSelection()) { in ReplaceTextInternal()
357 bool Textfield::HasSelection() const { in HasSelection() function in views::Textfield693 const int command = GetCommandForKeyEvent(event, HasSelection()); in OnKeyPressed()1159 return editable && readable && model_->HasSelection(); in IsCommandIdEnabled()1161 return readable && model_->HasSelection(); in IsCommandIdEnabled()1167 return editable && model_->HasSelection(); in IsCommandIdEnabled()1495 if (model_->HasSelection()) { in DeleteRange()1639 !HasSelection()); in PaintTextAndCursor()1791 if (performing_user_action_ && HasSelection()) { in UpdateSelectionClipboard()
179 bool HasSelection() const;
817 EXPECT_FALSE(model.HasSelection()); in TEST_F()832 EXPECT_FALSE(model.HasSelection()); in TEST_F()845 EXPECT_TRUE(model.HasSelection()); in TEST_F()863 EXPECT_FALSE(model.HasSelection()); in TEST_F()881 EXPECT_FALSE(model.HasSelection()); in TEST_F()893 EXPECT_FALSE(model.HasSelection()); in TEST_F()1421 EXPECT_TRUE(model.HasSelection()); in TEST_F()
102 bool HasSelection() const;
148 if (composition_.empty() && HasSelection()) { in PaintOn()238 if (HasSelection() && !text.empty()) in SetComposition()310 if (!shift && HasSelection()) in KeyLeft()324 if (!shift && HasSelection()) in KeyRight()337 if (HasSelection()) { in KeyDelete()349 if (HasSelection()) { in KeyBackspace()380 bool HasSelection() const { in HasSelection() function in MyTextField
219 if (textfield_->HasSelection()) { \543 EXPECT_FALSE(textfield_->HasSelection()); in TEST_F()553 EXPECT_TRUE(textfield_->HasSelection()); in TEST_F()
400 bool HasSelection();
1682 const bool has_selection = print_preview_context_.HasSelection(); in RequestPrintPreview()1945 bool PrintWebViewHelper::PrintPreviewContext::HasSelection() { in HasSelection() function in printing::PrintWebViewHelper::PrintPreviewContext
366 bool HasSelection();
1618 const bool has_selection = print_preview_context_.HasSelection(); in RequestPrintPreview()1904 bool PrintWebViewHelper::PrintPreviewContext::HasSelection() { in HasSelection() function in printing::PrintWebViewHelper::PrintPreviewContext
906 HasSelection() || GetCursorPosition() != 0) in HandleKeyEvent()914 (!HasSelection() && GetCursorPosition() == text().length()); in HandleKeyEvent()