/external/webkit/Source/WebCore/editing/ |
H A D | SetSelectionCommand.cpp | 33 SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, SelectionController::SetSelectionOptions options) argument 34 : SimpleEditCommand(selection.base().anchorNode()->document()) 36 , m_selectionToSet(selection) 42 SelectionController* selectionController = document()->frame()->selection(); 53 SelectionController* selectionController = document()->frame()->selection();
|
H A D | SetSelectionCommand.h | 36 static PassRefPtr<SetSelectionCommand> create(const VisibleSelection& selection, SelectionController::SetSelectionOptions options) argument 38 return adoptRef(new SetSelectionCommand(selection, options));
|
H A D | Editor.cpp | 97 // When an event handler has moved the selection outside of a text control 98 // we should use the target control's selection for this editing operation. 101 VisibleSelection selection = m_frame->selection()->selection(); local 103 return selection; 104 // If the target is a text control, and the current selection is outside of its shadow tree, 105 // then use the saved selection for that text control. 107 Node* selectionStart = selection.start().deprecatedNode(); 111 range = static_cast<HTMLInputElement*>(target)->selection(); 251 SelectionController* selection = m_frame->selection(); local 1173 RefPtr<Range> selection = selectedRange(); local 2049 markMisspellingsOrBadGrammar(const VisibleSelection& selection, bool checkSpelling, RefPtr<Range>& firstMisspellingRange) argument 2100 markMisspellings(const VisibleSelection& selection, RefPtr<Range>& firstMisspellingRange) argument 2105 markBadGrammar(const VisibleSelection& selection) argument 2970 VisibleSelection selection = m_frame->selection()->selection(); local [all...] |
H A D | ModifySelectionListLevel.cpp | 49 static bool getStartEndListChildren(const VisibleSelection& selection, Node*& start, Node*& end) argument 51 if (selection.isNone()) 55 Node* startListChild = enclosingListChild(selection.start().anchorNode()); 60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().anchorNode()) : startListChild; 64 // For a range selection we want the following behavior: 79 // if the selection ends on a list item with a sublist, include the entire sublist 144 static bool canIncreaseListLevel(const VisibleSelection& selection, Node*& start, Node*& end) argument 146 if (!getStartEndListChildren(selection, start, end)) 209 return canIncreaseListLevel(document->frame()->selection() 242 canDecreaseListLevel(const VisibleSelection& selection, Node*& start, Node*& end) argument [all...] |
H A D | TypingCommand.cpp | 51 static bool canAppendNewLineFeed(const VisibleSelection& selection) argument 53 Node* node = selection.rootEditableElement(); 87 if (!frame->selection()->isRange()) 143 VisibleSelection currentSelection = frame->selection()->selection(); 161 insertText(document, text, frame->selection()->selection(), options, composition); 164 // FIXME: We shouldn't need to take selectionForInsertion. It should be identical to SelectionController's current selection. 172 VisibleSelection currentSelection = frame->selection()->selection(); 488 SelectionController selection; local 584 SelectionController selection; local [all...] |
H A D | RemoveFormatCommand.cpp | 82 if (!frame->selection()->selection().isNonOrphanedCaretOrRange()) 87 Node* root = frame->selection()->rootEditableElement();
|
H A D | EditorCommand.cpp | 88 // Certain operations continue to use the target control's selection even if the event handler 89 // already moved the selection outside of the text control. 161 // Mac: present at the beginning of selection 162 // other: present throughout the selection 210 VisibleSelection selection = frame->selection()->selection(); local 211 selection.expandUsingGranularity(granularity); 212 RefPtr<Range> newRange = selection.toNormalizedRange(); 218 RefPtr<Range> oldRange = frame->selection() 379 SelectionController* selection = frame->selection(); local 988 RefPtr<Range> selection = frame->editor()->selectedRange(); local 1036 const VisibleSelection& selection = frame->selection()->selection(); local 1159 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local 1178 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local 1185 const VisibleSelection& selection = frame->editor()->selectionForCommand(event); local 1384 const VisibleSelection& selection = frame->selection()->selection(); local [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | DOMSelection.cpp | 46 Node* node = frame->selection()->selection().base().anchorNode(); 73 return m_frame->selection()->selection(); 76 static Position anchorPosition(const VisibleSelection& selection) argument 78 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end(); 82 static Position focusPosition(const VisibleSelection& selection) argument 84 Position focus = selection 88 basePosition(const VisibleSelection& selection) argument 93 extentPosition(const VisibleSelection& selection) argument 223 const VisibleSelection& selection = m_frame->selection()->selection(); local 238 const VisibleSelection& selection = m_frame->selection()->selection(); local 384 const VisibleSelection& selection = m_frame->selection()->selection(); local [all...] |
/external/webkit/Source/WebKit/wx/ |
H A D | WebDOMSelection.h | 54 wxWebKitSelection(WebCore::SelectionController* selection) argument 55 : m_selection(selection)
|
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | TextPrompt.js | 52 // Append a break element instead of setting textContent to make sure the selection is inside the prompt. 143 var selection = window.getSelection(); variable 144 selection.removeAllRanges(); 145 selection.addRange(finalSelectionRange); 177 var selection = window.getSelection(); variable 178 selection.removeAllRanges(); 179 selection.addRange(selectionRange); 194 var selection = window.getSelection(); variable 195 if (!selection.rangeCount) 198 var selectionRange = selection [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/ |
H A D | WebContextMenuClientMac.mm | 44 m_page->performDictionaryLookupForSelection(DictionaryPopupInfo::ContextMenu, frame, frame->selection()->selection()); 72 if (selectionFrame->selection()->isRange())
|
/external/chromium/chrome/browser/resources/gpu_internals/ |
H A D | timeline_view.js | 88 console.log('selection changed'); 90 var selection = timeline.selection; 92 if (!selection.length) { 98 if (selection.length == 1) { 100 var slice = selection[0].slice; 124 var tsLo = Math.min.apply(Math, selection.map( 126 var tsHi = Math.max.apply(Math, selection.map( 129 // compute total selection duration 130 var titles = selection [all...] |
H A D | timeline_view.css | 31 .timeline-view .selection { 35 .timeline-view .selection ul {
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Solution.h | 26 /// To get the selection for each node in the problem use the getSelection method. 74 /// \brief Set the selection for a given node. 76 /// @param selection Selection for nItr. 77 void setSelection(Graph::NodeItr nItr, unsigned selection) { argument 78 selections[nItr] = selection; 81 /// \brief Get a node's selection. 83 /// @return The selection for nItr; 86 assert(sItr != selections.end() && "No selection for node.");
|
/external/webkit/Source/WebCore/page/qt/ |
H A D | FrameQt.cpp | 43 if (!selection()->isRange()) 48 IntRect paintingRect = enclosingIntRect(selection()->bounds());
|
/external/chromium/chrome/browser/ui/find_bar/ |
H A D | find_tab_helper.cc | 123 gfx::Rect selection = selection_rect; local 124 if (selection.IsEmpty()) 125 selection = last_search_result_.selection_rect(); 130 request_id, number_of_matches, selection, active_match_ordinal,
|
/external/webkit/Source/WebCore/page/win/ |
H A D | FrameWin.cpp | 50 if (selection()->isRange())
|
/external/svox/pico/src/com/svox/pico/providers/ |
H A D | SettingsProvider.java | 61 public int delete(Uri uri, String selection, String[] selectionArgs) {
argument 81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
argument 90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
argument
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | collected_cookies_gtk.h | 44 // True if the selection contains at least one origin node. 45 bool SelectionContainsOriginNode(GtkTreeSelection* selection, 51 // Add exceptions for all origin nodes within the selection. 52 void AddExceptions(GtkTreeSelection* selection, 67 void ShowSelectionInfo(GtkTreeSelection* selection,
|
/external/chromium-trace/src/tracing/ |
H A D | timeline_analysis.js | 9 * tracing.Timeline component and adds in selection summary and control buttons. 40 function getTextForSelection(selection) { 42 var sliceHits = selection.getSliceHits(); 43 var counterSampleHits = selection.getCounterSampleHits(); 152 set selection(selection) { 153 this.textContent = getTextForSelection(selection);
|
H A D | timeline.js | 268 * Represents a selection within a Timeline and its associated set of tracks. 333 var selection = new TimelineSelection(); 334 selection.range_dirty_ = true; 339 selection.push_(this[i]); 341 return selection; 345 var selection = new TimelineSelection(); 348 selection.push_(this[i]); 349 return selection; 353 var selection = new TimelineSelection(); 356 selection [all...] |
/external/chromium/chrome/browser/resources/file_manager/js/ |
H A D | file_manager.js | 70 this.addEventListener('selection-summarized', 575 this.selection.totalCount == 1); 710 this.deleteEntries(this.selection.entries); 892 if (this.selection && this.selection.entries.indexOf(entry) != -1) { 1044 * Compute summary information about the current selection. 1046 * This method dispatches the 'selection-summarized' event when it completes. 1051 var selection = this.selection = { 1066 if (!selection [all...] |
/external/webkit/Source/WebCore/editing/gtk/ |
H A D | SelectionControllerGtk.cpp | 32 static void emitTextSelectionChange(AccessibilityObject* object, VisibleSelection selection, int offset) argument 39 if (selection.isRange()) 40 g_signal_emit_by_name(axObject, "text-selection-changed");
|
/external/webkit/Source/WebCore/editing/mac/ |
H A D | EditorMac.mm | 160 Position pos = m_frame->selection()->selection().visibleStart().deepEquivalent(); 193 SelectionController* selection = m_frame->selection(); 194 return selection->isRange() && !selection->isInPasswordField(); 222 if (m_frame->selection()->isContentRichlyEditable())
|
/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...] |