/external/chromium_org/chrome/browser/extensions/ |
H A D | menu_manager.cc | 173 base::string16 MenuItem::TitleWithReplacement(const base::string16& selection, argument 178 ReplaceSubstringsAfterOffset(&result, 0, base::ASCIIToUTF16("%s"), selection);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_strip_model_unittest.cc | 254 std::vector<std::string> selection; local 255 base::SplitStringAlongWhitespace(selected_tabs, &selection); 256 for (size_t i = 0; i < selection.size(); ++i) { 258 ASSERT_TRUE(base::StringToInt(selection[i], &value)); 849 // Now close this contents. The selection should move to the opener contents. 878 // Tests that selection is shifted to the correct tab when a tab is closed. 879 // If a tab is in the background when it is closed, the selection does not 882 // If that tab does not have an opener, selection shifts to the right. 905 // current selection. 915 // Now test that when a tab doesn't have an opener, selection shift [all...] |
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
H A D | omnibox_view_views.cc | 75 const gfx::Range& selection, 81 // We store both the actual selection and any saved selection (for when the 85 const gfx::Range selection; member in struct:__anon5312::OmniboxState 93 const gfx::Range& selection, 96 selection(selection), 189 // session here. It may affect the selection status, so order is 212 // goof up the selection. See comments at the end of 214 SelectRange(state->selection); 92 OmniboxState(const OmniboxEditModel::State& model_state, const gfx::Range& selection, const gfx::Range& saved_selection_for_focus_change) argument [all...] |
/external/chromium_org/components/search_engines/ |
H A D | template_url.h | 79 // TODO(jeremycho): Remove base_page_url and selection parameters once 82 const std::string& selection, 89 const std::string& selection, 99 // Offset into the page content of the start of the user selection. 102 // Offset into the page content of the end of the user selection. 105 // The user selection. 106 std::string selection; member in struct:TemplateURLRef::SearchTermsArgs::ContextualSearchParams 108 // The text including and surrounding the user selection. 111 // The URL of the page containing the user selection. 118 // selection an [all...] |
H A D | template_url.cc | 207 const std::string& selection, 213 selection(selection), 223 const std::string& selection, 231 selection(selection), 977 if (!params.selection.empty()) 978 context_data.append("q=" + params.selection + "&"); 205 ContextualSearchParams( const int version, const std::string& selection, const std::string& base_page_url, const bool resolve) argument 219 ContextualSearchParams( const int version, const size_t start, const size_t end, const std::string& selection, const std::string& content, const std::string& base_page_url, const std::string& encoding, const bool resolve) argument
|
/external/chromium_org/ppapi/examples/ime/ |
H A D | ime.cc | 147 // selection (for the case without composition text) 171 // selection 237 const std::pair<uint32_t, uint32_t>& selection) { 243 composition_selection_ = selection; 309 // Move caret to the head of the selection or to the previous character. 323 // Move caret to the end of the selection or to the next character. 233 SetComposition( const std::string& text, const std::vector< std::pair<uint32_t, uint32_t> >& segments, int32_t target_segment, const std::pair<uint32_t, uint32_t>& selection) argument
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | SpellChecker.cpp | 55 bool isSelectionInTextField(const VisibleSelection& selection) argument 57 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); 61 bool isSelectionInTextArea(const VisibleSelection& selection) argument 63 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); 67 bool isSelectionInTextFormControl(const VisibleSelection& selection) argument 69 return !!enclosingTextFormControl(selection.start()); 149 VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); local 150 markMisspellingsAndBadGrammar(selection); 159 if (RefPtrWillBeRawPtr<Range> selectedRange = frame().selection().toNormalizedRange()) 165 // The basic approach is to search in two phases - from the selection en 435 markMisspellingsOrBadGrammar(const VisibleSelection& selection, bool checkSpelling, RefPtrWillBeRawPtr<Range>& firstMisspellingRange) argument 479 markMisspellings(const VisibleSelection& selection, RefPtrWillBeRawPtr<Range>& firstMisspellingRange) argument 484 markBadGrammar(const VisibleSelection& selection) argument [all...] |
H A D | CompositeEditCommand.cpp | 148 void EditCommandComposition::setStartingSelection(const VisibleSelection& selection) argument 150 m_startingSelection = selection; 151 m_startingRootEditableElement = selection.rootEditableElement(); 154 void EditCommandComposition::setEndingSelection(const VisibleSelection& selection) argument 156 m_endingSelection = selection; 157 m_endingRootEditableElement = selection.rootEditableElement(); 257 void CompositeEditCommand::applyCommandToComposite(PassRefPtrWillBeRawPtr<CompositeEditCommand> command, const VisibleSelection& selection) argument 260 if (selection != command->endingSelection()) { 261 command->setStartingSelection(selection); 262 command->setEndingSelection(selection); 574 deleteSelection(const VisibleSelection &selection, bool smartDelete, bool mergeBlocksAfterDelete, bool expandForSpecialElements, bool sanitizeMarkup) argument 716 VisibleSelection selection = endingSelection(); local [all...] |
H A D | EditingStyle.cpp | 705 TriState EditingStyle::triStateOfStyle(const VisibleSelection& selection) const 707 if (!selection.isCaretOrRange()) 710 if (selection.isCaret()) 711 return triStateOfStyle(EditingStyle::styleAtSelectionStart(selection).get()); 715 for (Node* node = selection.start().deprecatedNode(); node; node = NodeTraversal::next(*node)) { 729 if (node == selection.end().deprecatedNode()) 987 RefPtrWillBeRawPtr<EditingStyle> typingStyle = document->frame()->selection().typingStyle(); 1276 PassRefPtrWillBeRawPtr<EditingStyle> EditingStyle::styleAtSelectionStart(const VisibleSelection& selection, bool shouldUseBackgroundColorInEffect) argument 1278 if (selection.isNone()) 1281 Position position = adjustedSelectionStartForStyleComputation(selection); 1310 textDirectionForSelection(const VisibleSelection& selection, EditingStyle* typingStyle, bool& hasNestedOrMultipleEmbeddings) argument [all...] |
H A D | Editor.cpp | 105 m_editor->frame().selection().revealSelection(ScrollAlignment::alignToEdgeIfNeeded, RevealExtent); 108 // When an event handler has moved the selection outside of a text control 109 // we should use the target control's selection for this editing operation. 112 VisibleSelection selection = frame().selection().selection(); local 114 return selection; 115 // If the target is a text control, and the current selection is outside of its shadow tree, 116 // then use the saved selection for that text control. 117 HTMLTextFormControlElement* textFormControlOfSelectionStart = enclosingTextFormControl(selection 247 FrameSelection& selection = frame().selection(); local 1158 VisibleSelection selection = frame().selection().selection(); local [all...] |
H A D | FrameSelection.cpp | 242 document.frame()->selection().setSelection(s, options, align, granularity); 243 // It's possible that during the above set selection, this FrameSelection has been modified by 244 // selectFrameElementInParentIfFullySelected, but that the selection is no longer valid since 245 // the frame is about to be destroyed. If this is the case, clear our selection. 261 // Even if selection was not changed, selection offsets may have been changed. 321 // There can't be a selection inside a fragment, so if a fragment's node is being removed, 322 // the selection in the document that created the fragment needs no adjustment. 357 // selection, since doing so could move the start and end into the node 365 // occupied would be invalidated, but, selection gap 1219 isNonOrphanedCaret(const VisibleSelection& selection) argument 1224 isTextFormControl(const VisibleSelection& selection) argument 1700 extractSelectedText(const FrameSelection& selection, TextIteratorBehavior behavior) argument 1849 validateSelection(const VisibleSelection& selection) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLTextFormControlElement.cpp | 386 frame->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | (selectionOption == ChangeSelectionAndFocus ? 0 : FrameSelection::DoNotSetFocus)); 431 return indexForPosition(innerEditorElement(), frame->selection().start()); 450 return indexForPosition(innerEditorElement(), frame->selection().end()); 489 const VisibleSelection& selection = frame->selection().selection(); local 490 return selection.isDirectional() ? (selection.isBaseFirst() ? SelectionHasForwardDirection : SelectionHasBackwardDirection) : SelectionHasNoDirection; 504 PassRefPtrWillBeRawPtr<Range> HTMLTextFormControlElement::selection() const function in class:blink::HTMLTextFormControlElement 555 // selectionStart() or selectionEnd() will return cached selection whe [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | DragController.cpp | 191 bool DragController::dragIsMove(FrameSelection& selection, DragData* dragData) argument 193 return m_documentUnderMouse == m_dragInitiator && selection.isContentEditable() && selection.isRange() && !isCopyKeyDown(dragData); 196 // FIXME: This method is poorly named. We're just clearing the selection from the document this drag is exiting. 277 // If we were over another document clear the selection 382 dragSession.operation = dragIsMove(innerFrame->selection(), dragData) ? DragOperationMove : DragOperationCopy; 429 frame->selection().setSelection(dragCaret); 430 if (frame->selection().isNone()) { 432 frame->selection().setSelection(dragCaret); 435 return !frame->selection() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/ |
H A D | ExtensionServer.js | 707 var selection = { 715 return selection;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/ |
H A D | main_wnd.cc | 192 LRESULT selection = ::SendMessage(listbox_, LB_SETCURSEL , count - 1, 0); local 193 if (selection != LB_ERR)
|
/external/chromium_org/ui/base/clipboard/ |
H A D | clipboard_aurax11.cc | 105 // selection notify events seems to subscribe us to events for both the 129 if (ev->selection == clipboard_atom_) { 131 } else if (ev->selection == XA_PRIMARY) { 134 DLOG(ERROR) << "Unexpected selection atom: " << ev->selection; 244 // Finds the SelectionFormatMap for the incoming selection atom. 248 // particular selection, we create a temporary clipboard mapping that 261 // Returns the first of |types| offered by the current selection holder in 264 // If the selection holder is us, this call is synchronous and we pull 266 // selection holde 493 ::Atom selection = GetCopyPasteSelection(); local [all...] |
/external/chromium_org/ui/gfx/ |
H A D | render_text_unittest.cc | 55 return render_text->text().substr(render_text->selection().GetMin(), 56 render_text->selection().length()); 326 SelectionModel selection = render_text->FindCursorPosition(Point(x, 0)); local 327 EXPECT_TRUE(selection.caret_pos() == 0U || selection.caret_pos() == 2U); 945 // Test that selection bounds may be set amid multi-character graphemes. 959 EXPECT_EQ(Range(2, 1), render_text->selection()); 961 // Although selection bounds may be set within a multi-character grapheme, 1046 // Test that an empty string produces an empty selection model. 1068 EXPECT_EQ(Range(6), render_text->selection()); [all...] |
/external/chromium_org/ui/views/controls/textfield/ |
H A D | textfield_model.cc | 383 gfx::Range range(render_text_->selection().start(), cursor.caret_pos()); 397 cursor.set_selection_start(render_text_->selection().start()); 402 return text().substr(render_text_->selection().GetMin(), 403 render_text_->selection().length()); 494 const gfx::Range& selection = render_text_->selection(); local 495 render_text_->SelectRange(gfx::Range(selection.end(), selection.start())); 523 return !render_text_->selection().is_empty(); 529 ExecuteAndRecordDelete(render_text_->selection(), fals [all...] |
/external/chromium_org/win8/metro_driver/ime/ |
H A D | text_store.cc | 652 TS_SELECTION_ACP selection; local 653 selection.acpStart = acp_start; 654 selection.acpEnd = acp_end; 655 selection.style.ase = TS_AE_NONE; 656 selection.style.fInterimChar = 0; 659 ret = SetSelection(1, &selection);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
H A D | PropertyTable.java | 265 // update selection 1006 public void setSelection(ISelection selection) { argument 1017 // not just remove selection because there are no corresponding property for old active
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | annotate.c | 40 struct disasm_line *selection; member in struct:annotate_browser 197 ab->selection = dl; 213 struct disasm_line *cursor = ab->selection, *target; 444 struct disasm_line *dl = browser->selection; 500 struct disasm_line *dl = browser->selection; 524 struct disasm_line *pos = browser->selection; 563 struct disasm_line *pos = browser->selection; 789 if (browser->selection == NULL) 790 ui_helpline__puts("Huh? No selection. Report to linux-kernel@vger.kernel.org"); 791 else if (browser->selection [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.p2.ui.sdk_1.0.100.v20100513.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | ChromeBrowserProvider.java | 258 private String buildSuggestWhere(String selection, int argc) { argument 259 StringBuilder sb = new StringBuilder(selection); 262 sb.append(selection); 272 private Cursor getBookmarkHistorySuggestions(String selection, String[] selectionArgs, argument 290 urlWhere.append(buildSuggestWhere(selection, args.size())); 323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument 335 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, true); 338 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, false); 341 cursor = queryBookmarkFromAPI(projection, selection, selectionArgs, sortOrder); 344 cursor = queryBookmarkFromAPI(projection, buildWhereClause(bookmarkId, selection), 414 delete(Uri uri, String selection, String[] selectionArgs) argument 463 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 1013 queryBookmarkFromAPI(String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument 1026 updateBookmarkFromAPI(ContentValues values, String selection, String[] selectionArgs) argument 1034 removeBookmarkFromAPI(String selection, String[] selectionArgs) argument 1038 removeHistoryFromAPI(String selection, String[] selectionArgs) argument 1065 updateSearchTermFromAPI(ContentValues values, String selection, String[] selectionArgs) argument 1072 querySearchTermFromAPI(String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument 1084 removeSearchFromAPI(String selection, String[] selectionArgs) argument 1108 buildWhereClause(long id, String selection) argument 1121 buildHistoryWhereClause(long id, String selection) argument 1125 buildHistoryWhereClause(String selection) argument 1132 buildBookmarkWhereClause(String selection, boolean isBookmark) argument 1144 buildBookmarkWhereClause(long id, String selection) argument 1148 buildBookmarkWhereClause(String selection) argument 1317 nativeQueryBookmarkFromAPI(long nativeChromeBrowserProvider, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1320 nativeUpdateBookmarkFromAPI(long nativeChromeBrowserProvider, String url, Long created, Boolean isBookmark, Long date, byte[] favicon, String title, Integer visits, long parentId, String selection, String[] selectionArgs) argument 1324 nativeRemoveBookmarkFromAPI(long nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument 1327 nativeRemoveHistoryFromAPI(long nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument 1333 nativeQuerySearchTermFromAPI(long nativeChromeBrowserProvider, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument 1336 nativeUpdateSearchTermFromAPI(long nativeChromeBrowserProvider, String search, Long date, String selection, String[] selectionArgs) argument 1339 nativeRemoveSearchTermFromAPI(long nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument [all...] |
/external/chromium_org/chrome/browser/android/provider/ |
H A D | chrome_browser_provider.cc | 762 const std::string& selection, 769 selection, 797 const std::string& selection, 803 selection, 829 int Run(const std::string& selection, argument 834 selection, 860 int Run(const std::string& selection, argument 865 selection, 971 const std::string& selection, 978 selection, 760 Run( const std::vector<history::HistoryAndBookmarkRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order) argument 796 Run(const history::HistoryAndBookmarkRow& row, const std::string& selection, const std::vector<base::string16>& selection_args) argument 969 Run( const std::vector<history::SearchRow::ColumnID>& projections, const std::string& selection, const std::vector<base::string16>& selection_args, const std::string& sort_order) argument 1007 Run(const history::SearchRow& row, const std::string& selection, const std::vector<base::string16>& selection_args) argument 1017 MakeRequestOnUIThread( const history::SearchRow& row, const std::string& selection, const std::vector<base::string16>& selection_args) argument 1051 Run(const std::string& selection, const std::vector<base::string16>& selection_args) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
H A D | AXRenderObject.cpp | 537 // Check instead if the frame's selection controller is focused 539 || (roleValue() == WebAreaRole && document.frame()->selection().isFocusedAndActive())) 1269 // use the default position unless this is an editable web area, in which case we use the selection bounds. 1598 VisibleSelection AXRenderObject::selection() const function in class:blink::AXRenderObject 1600 return m_renderer->frame()->selection().selection(); 1620 frame->selection().setSelection(VisibleSelection(Position(node, range.start, Position::PositionIsOffsetInAnchor), 1661 if (!doc.frame()->selection().isFocusedAndActive() || doc.focusedElement() != element) 1874 VisibleSelection visibleSelection = selection();
|