Searched refs:selection (Results 1 - 25 of 213) sorted by relevance

123456789

/external/webkit/Source/WebCore/editing/
H A DSetSelectionCommand.cpp33 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 DSetSelectionCommand.h36 static PassRefPtr<SetSelectionCommand> create(const VisibleSelection& selection, SelectionController::SetSelectionOptions options) argument
38 return adoptRef(new SetSelectionCommand(selection, options));
H A DEditor.cpp97 // 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 DModifySelectionListLevel.cpp49 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 DTypingCommand.cpp51 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 DRemoveFormatCommand.cpp82 if (!frame->selection()->selection().isNonOrphanedCaretOrRange())
87 Node* root = frame->selection()->rootEditableElement();
H A DEditorCommand.cpp88 // 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 DDOMSelection.cpp46 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 DWebDOMSelection.h54 wxWebKitSelection(WebCore::SelectionController* selection) argument
55 : m_selection(selection)
/external/webkit/Source/WebCore/inspector/front-end/
H A DTextPrompt.js52 // 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/chromium-trace/trace-viewer/src/
H A Dtimeline_selection.js46 * Represents a selection within a Timeline and its associated set of tracks.
111 var selection = new TimelineSelection();
112 selection.range_dirty_ = true;
117 selection.push_(this[i]);
119 return selection;
123 var selection = new TimelineSelection();
126 selection.push_(this[i]);
127 return selection;
131 var selection = new TimelineSelection();
134 selection
[all...]
H A Dtimeline.js180 * @param {TimelineSelection} selection The selection to add matches to.
184 addAllObjectsMatchingFilterToSelection: function(filter, selection) {
186 selection);
294 sel = this.selection.getShiftedSelection(-1);
305 sel = this.selection.getShiftedSelection(1);
362 * Zoom into the current selection.
365 if (!this.selection)
367 var range = this.selection.range;
404 'f to zoom into selection\
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
H A DWebContextMenuClientMac.mm44 m_page->performDictionaryLookupForSelection(DictionaryPopupInfo::ContextMenu, frame, frame->selection()->selection());
72 if (selectionFrame->selection()->isRange())
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_view.js88 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 Dtimeline_view.css31 .timeline-view .selection {
35 .timeline-view .selection ul {
/external/llvm/include/llvm/CodeGen/PBQP/
H A DSolution.h26 /// 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 DFrameQt.cpp43 if (!selection()->isRange())
48 IntRect paintingRect = enclosingIntRect(selection()->bounds());
/external/chromium/chrome/browser/ui/find_bar/
H A Dfind_tab_helper.cc123 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 DFrameWin.cpp50 if (selection()->isRange())
/external/chromium-trace/trace-viewer/src/tracks/
H A Dtimeline_container_track.js121 * Adds items intersecting a point to a selection.
124 * @param {TimelineSelection} selection Selection to which to add hits.
127 addIntersectingItemsToSelection: function(vX, vY, selection) {
131 this.tracks_[i].addIntersectingItemsToSelection(vX, vY, selection);
137 * Adds items intersecting the given range to a selection.
146 * @param {TimelineSelection} selection Selection to which to add hits.
149 loVX, hiVX, loY, hiY, selection) {
156 loVX, hiVX, loY, hiY, selection);
160 addAllObjectsMatchingFilterToSelection: function(filter, selection) {
163 filter, selection);
[all...]
/external/svox/pico/src/com/svox/pico/providers/
H A DSettingsProvider.java61 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 Dcollected_cookies_gtk.h44 // 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/chrome/browser/resources/file_manager/js/
H A Dfile_manager.js70 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 DSelectionControllerGtk.cpp32 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 DEditorMac.mm160 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())

Completed in 418 milliseconds

123456789