/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete_edit_view_win.cc | 515 CHARRANGE selection; local 516 GetSelection(selection); 517 const int start = std::max(0, static_cast<int>(selection.cpMax - 1)); 531 CHARRANGE selection; local 532 GetSelection(selection); 536 State(selection, saved_selection_for_focus_change_))); 571 // Restore user's selection. We do this after restoring the user_text 573 SetSelectionRange(state->view_state.selection); 588 // NOTE: The selection can be longer than the text length if the edit is in 675 CHARRANGE selection; local 686 CHARRANGE selection; local 1649 CHARRANGE selection; local 1895 CHARRANGE selection; local 1946 CHARRANGE selection; local 1955 CHARRANGE selection; local 2009 CHARRANGE selection; local 2536 CHARRANGE selection; local [all...] |
/external/webkit/Source/WebCore/editing/ |
H A D | SpellingCorrectionController.cpp | 119 VisibleSelection currentSelection(m_frame->selection()->selection()); 229 setEnd(paragraphRangeContainingCorrection.get(), m_frame->selection()->selection().start()); 256 Position caretPosition = m_frame->selection()->selection().start(); 273 m_frame->selection()->setSelection(selectionOfCorrected, SelectionController::CloseTyping | SelectionController::ClearTypingStyle | SelectionController::SpellCorrectionTriggered); 274 RefPtr<Range> range = Range::create(m_frame->document(), m_frame->selection()->selection().start(), m_frame->selection() [all...] |
H A D | InsertLineBreakCommand.cpp | 91 VisibleSelection selection = endingSelection(); local 92 if (!selection.isNonOrphanedCaretOrRange()) 95 VisiblePosition caret(selection.visibleStart()); 167 RefPtr<EditingStyle> typingStyle = document()->frame()->selection()->typingStyle(); 170 // Apply the typing style to the inserted line break, so that if the selection
|
H A D | InsertListCommand.h | 55 bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&);
|
H A D | DeleteButtonController.cpp | 147 static HTMLElement* enclosingDeletableElement(const VisibleSelection& selection) argument 149 if (!selection.isContentEditable()) 152 RefPtr<Range> range = selection.toNormalizedRange(); 176 HTMLElement* newElement = enclosingDeletableElement(m_frame->selection()->selection()); 331 show(enclosingDeletableElement(m_frame->selection()->selection())); 350 // Because the deletion UI only appears when the selection is entirely 351 // within the target, we unconditionally update the selection to be 355 m_frame->selection() [all...] |
H A D | DeleteSelectionCommand.h | 41 static PassRefPtr<DeleteSelectionCommand> create(const VisibleSelection& selection, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false) argument 43 return adoptRef(new DeleteSelectionCommand(selection, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements));
|
H A D | EditCommand.cpp | 49 setStartingSelection(avoidIntersectionWithNode(m_document->frame()->selection()->selection(), m_document->frame()->editor()->deleteButtonController()->containerElement()));
|
H A D | InsertListCommand.cpp | 83 bool InsertListCommand::selectionHasListOfType(const VisibleSelection& selection, const QualifiedName& listTag) argument 85 VisiblePosition start = selection.visibleStart(); 90 VisiblePosition end = selection.visibleEnd(); 116 // When a selection ends at the start of a paragraph, we rarely paint 117 // the selection gap before that paragraph, because there often is no gap. 118 // In a case like this, it's not obvious to the user that the selection 129 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); local 130 ASSERT(selection.isRange()); 131 VisiblePosition startOfSelection = selection.visibleStart(); 132 VisiblePosition endOfSelection = selection [all...] |
H A D | ReplaceSelectionCommand.cpp | 127 ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* fragment, bool matchStyle, const VisibleSelection& selection) argument 141 Element* editableRoot = selection.rootEditableElement(); 156 Node* styleNode = selection.base().deprecatedNode(); 170 m_fragment = createFragmentFromText(selection.toNormalizedRange().get(), evt->text()); 377 // And we should only merge here if the selection start was inside a mail blockquote. This prevents against removing a 733 // include the what was the start of the selection that was pasted into, so that we preserve that paragraph's 810 VisibleSelection selection = endingSelection(); local 811 ASSERT(selection.isCaretOrRange()); 812 ASSERT(selection.start().deprecatedNode()); 813 if (!selection 819 ReplacementFragment fragment(document(), m_documentFragment.get(), m_matchStyle, selection); local [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
H A D | ChoiceCallbackTest.java | 139 int selection[] = { 1, 2, 3 }; 141 cb.setSelectedIndexes(selection); 142 selection[0] = 4;
|
/external/webkit/Source/WebCore/page/chromium/ |
H A D | EventHandlerChromium.cpp | 58 // greyed out even though we're clicking on the selection. This looks 60 // selection. 62 if (m_frame->selection()->contains(p)) { 66 if (m_frame->selection()->shouldChangeSelection(newSelection)) 67 m_frame->selection()->setSelection(newSelection);
|
H A D | FrameChromium.cpp | 98 if (!selection()->isRange()) 105 IntRect paintingRect = enclosingIntRect(selection()->bounds());
|
/external/webkit/Source/WebKit/android/jni/ |
H A D | WebViewCore.cpp | 1397 focusedFrame->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded); 1483 SelectionController* sc = focusedFrame()->selection(); 1495 VisibleSelection selection(pos); 1496 selection.expandUsingGranularity(WordGranularity); 1497 SelectionController* selectionController = frame->selection(); 1498 selection = VisibleSelection(selection.start(), selection.end()); 1501 if (selectionController->shouldChangeSelection(selection)) { 1503 RefPtr<Range> firstRange = selection 1609 createSelectText(const VisibleSelection& selection) argument 1757 VisibleSelection selection = sc->selection(); local 2259 DOMSelection* selection = m_mainFrame->domWindow()->getSelection(); local 2309 modifySelectionTextNavigationAxis(DOMSelection* selection, int direction, int axis) argument 2583 advanceAnchorNode(DOMSelection* selection, int direction, String& markup, bool ignoreFirstNode, ExceptionCode& ec) argument 2729 modifySelectionDomNavigationAxis(DOMSelection* selection, int direction, int axis) argument 2851 formatMarkup(DOMSelection* selection) argument 4252 const VisibleSelection& selection = ranges[i]; local 4378 const VisibleSelection& selection = ranges[i]; local [all...] |
/external/chromium-trace/trace-viewer/src/tracks/ |
H A D | timeline_slice_track.js | 47 * Called by all the addToSelection functions on the created selection 207 * @param {TimelineSelection} selection Selection to which to add hits. 210 addIntersectingItemsToSelection: function(vX, vY, selection) { 221 var hit = selection.addSlice(this, this.slices_[x]); 229 * Adds items intersecting the given range to a selection. 238 * @param {TimelineSelection} selection Selection to which to add hits. 241 loVX, hiVX, loVY, hiVY, selection) { 255 var hit = selection.addSlice(that, slice); 284 * selection. 287 * @param {TimelineSelection} selection Th [all...] |
H A D | timeline_counter_track.js | 37 * Called by all the addToSelection functions on the created selection 185 * Adds items intersecting a point to a selection. 188 * @param {TimelineSelection} selection Selection to which to add hits. 191 addIntersectingItemsToSelection: function(vX, vY, selection) { 231 var hit = selection.addCounterSample(this, this.counter, i); 237 * Adds items intersecting the given range to a selection. 246 * @param {TimelineSelection} selection Selection to which to add hits. 249 loVX, hiVX, loVY, hiVY, selection) { 283 var hit = selection.addCounterSample(this, this.counter, i); 288 addAllObjectsMatchingFilterToSelection: function(filter, selection) { [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_context_menu.cc | 25 const std::vector<const BookmarkNode*>& selection) 28 this, profile, page_navigator, parent, selection))), 20 BookmarkContextMenu( gfx::NativeWindow parent_window, Profile* profile, PageNavigator* page_navigator, const BookmarkNode* parent, const std::vector<const BookmarkNode*>& selection) argument
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/ |
H A D | WebPageMac.mm | 228 if (frame->selection()->isContentEditable()) { 232 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 257 frame->selection()->setSelection(VisibleSelection(replacementRange.get(), SEL_DEFAULT_AFFINITY)); 299 RefPtr<Range> range = frame->selection()->toNormalizedRange(); 314 if (frame->selection()->isNone() || !frame->selection()->isContentEditable() || frame->selection()->isInPasswordField()) 362 // concentrate on a given area containing the selection 365 // to use the root editable element of the selection start as the positional base. 367 Element* selectionRoot = frame->selection() [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | DragController.cpp | 144 bool DragController::dragIsMove(SelectionController* selection, DragData* dragData) argument 146 return m_documentUnderMouse == m_dragInitiator && selection->isContentEditable() && !isCopyKeyDown(dragData); 149 // FIXME: This method is poorly named. We're just clearing the selection from the document this drag is exiting. 226 // If we were over another document clear the selection 338 operation = dragIsMove(innerFrame->selection(), dragData) ? DragOperationMove : DragOperationCopy; 363 frame->selection()->setSelection(dragCaret); 364 if (frame->selection()->isNone()) { 366 frame->selection()->setSelection(dragCaret); 369 return !frame->selection()->isNone() && frame->selection() [all...] |
/external/linux-tools-perf/util/ui/browsers/ |
H A D | hists.c | 26 struct map_symbol *selection; member in struct:hist_browser 186 if (map_symbol__toggle_fold(self->selection)) { 422 self->selection = &chain->ms; 480 self->selection = &chain->ms; 542 self->selection = &entry->ms; 841 dso = browser->selection->map ? browser->selection->map->dso : NULL; 853 if (browser->selection == NULL || 854 browser->selection->sym == NULL || 855 browser->selection 1003 struct perf_evsel *selection; member in struct:perf_evsel_menu [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebFrameImpl.cpp | 1113 frame()->selection()->toNormalizedRange().get(), text); 1157 Element* selectionRoot = frame()->selection()->rootEditableElement(); 1271 // frame()->selection()->isNone() never returns true. 1272 return (frame()->selection()->start() != frame()->selection()->end()); 1277 return frame()->selection()->toNormalizedRange(); 1286 RefPtr<Range> range = frame()->selection()->toNormalizedRange(); 1304 RefPtr<Range> range = frame()->selection()->toNormalizedRange(); 1313 VisibleSelection selection(pos); 1314 selection [all...] |
/external/webkit/Source/WebKit/haiku/WebCoreSupport/ |
H A D | EditorClientHaiku.cpp | 253 Node* start = frame->selection()->start().containerNode(); 270 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 276 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 282 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove, 288 frame->selection()->modify(kevent->shiftKey() ? SelectionController::AlterationExtend : SelectionController::AlterationMove,
|
/external/chromium/chrome/browser/tabs/ |
H A D | tab_strip_selection_model_unittest.cc | 14 // Returns the state of the selection model as a string. The format is: 15 // 'active=X anchor=X selection=X X X...'. 19 " selection="; 20 const TabStripSelectionModel::SelectedIndices& selection( 22 for (size_t i = 0; i < selection.size(); ++i) { 25 result += base::IntToString(selection[i]); 32 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); 39 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 47 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); 49 // Increment from 4. This shouldn't effect the selection a [all...] |
/external/replicaisland/tools/ |
H A D | ExtractPoints.js | 233 newDoc.selection.select(lineArray); 234 newDoc.selection.stroke(black, 2); 260 newDoc.selection.select(tileCenterArray); 261 newDoc.selection.fill(redColor); 273 newDoc.selection.select(centerArray); 274 newDoc.selection.fill(greenColor);
|
/external/webkit/Source/WebCore/page/wince/ |
H A D | FrameWinCE.cpp | 113 FloatRect fr = frame->selection()->bounds(); 159 if (selection()->isRange())
|
/external/webkit/Source/WebCore/accessibility/gtk/ |
H A D | AccessibilityObjectWrapperAtk.cpp | 122 static AccessibilityObject* core(AtkSelection* selection) argument 124 return core(ATK_OBJECT(selection)); 511 static bool selectionBelongsToObject(AccessibilityObject* coreObject, VisibleSelection& selection) argument 516 if (selection.isNone()) 519 RefPtr<Range> range = selection.toNormalizedRange(); 523 // We want to check that both the selection intersects the node 524 // AND that the selection is not just "touching" one of the 559 VisibleSelection selection = coreObject->selection(); 560 if (!selection 794 listObjectForSelection(AtkSelection* selection) argument 820 optionFromList(AtkSelection* selection, gint i) argument 838 optionFromSelection(AtkSelection* selection, gint i) argument 870 webkit_accessible_selection_add_selection(AtkSelection* selection, gint i) argument 885 webkit_accessible_selection_clear_selection(AtkSelection* selection) argument 902 webkit_accessible_selection_ref_selection(AtkSelection* selection, gint i) argument 914 webkit_accessible_selection_get_selection_count(AtkSelection* selection) argument 941 webkit_accessible_selection_is_child_selected(AtkSelection* selection, gint i) argument 954 webkit_accessible_selection_remove_selection(AtkSelection* selection, gint i) argument 970 webkit_accessible_selection_select_all_selection(AtkSelection* selection) argument 1600 getSelectionOffsetsForObject(AccessibilityObject* coreObject, VisibleSelection& selection, gint& startOffset, gint& endOffset) argument 1659 VisibleSelection selection = coreObject->selection(); local 1685 VisibleSelection selection = coreObject->selection(); local [all...] |