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

/external/chromium_org/chrome/browser/resources/uber/
H A Duber_frame.js92 * @param {Element} newSelection The item to be selected.
94 function setSelection(newSelection) {
96 if (lastSelectedNavItem !== newSelection) {
97 newSelection.classList.add('selected');
/external/chromium-trace/trace-viewer/src/tracing/
H A Dselection.js309 var newSelection = new Selection();
313 hit, offset, newSelection);
316 if (newSelection.length == 0)
318 return newSelection;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DFrameSelection.cpp194 VisibleSelection newSelection = passedNewSelection; local
195 bool isDirectional = shouldAlwaysUseDirectionalSelection(m_frame) || newSelection.isDirectional();
197 VisiblePosition base = m_originalBase.isNotNull() ? m_originalBase : newSelection.visibleBase();
199 VisiblePosition extent = newSelection.visibleExtent();
206 newSelection.setBase(newBase);
207 newSelection.setExtent(newExtent);
209 if (m_selection.base() == newSelection.base())
210 newSelection.setBase(m_originalBase);
214 newSelection.setIsDirectional(isDirectional); // Adjusting base and extent will make newSelection alway
221 setSelection(const VisibleSelection& newSelection, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity) argument
1008 VisibleSelection newSelection = m_selection; local
[all...]
H A DEditor.cpp667 VisibleSelection newSelection(cmd->endingSelection());
670 changeSelectionAfterCommand(newSelection, 0);
686 respondToChangedContents(newSelection);
696 VisibleSelection newSelection(cmd->startingSelection());
697 newSelection.validatePositionsIfNeeded();
698 if (newSelection.start().document() == frame().document() && newSelection.end().document() == frame().document())
699 changeSelectionAfterCommand(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle);
704 respondToChangedContents(newSelection);
714 VisibleSelection newSelection(cm
1071 changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions options) argument
[all...]
H A DFrameSelectionTest.cpp58 void FrameSelectionTest::setSelection(const VisibleSelection& newSelection) argument
60 m_dummyPageHolder->frame().selection().setSelection(newSelection);
H A DApplyBlockElementCommand.cpp78 VisibleSelection newSelection(visibleStart, visibleEnd.previous(CannotCrossEditingBoundary), endingSelection().isDirectional());
79 if (newSelection.isNone())
81 setEndingSelection(newSelection);
H A DSpellChecker.cpp416 VisibleSelection newSelection(misspellingRange.get(), DOWNSTREAM);
417 if (newSelection != frame().selection().selection()) {
418 frame().selection().setSelection(newSelection);
780 const VisibleSelection newSelection = frame().selection().selection(); local
781 if (isSelectionInTextFormControl(newSelection)) {
782 Position newStart = newSelection.start();
786 } else if (newSelection.isContentEditable() || caretBrowsing) {
787 VisiblePosition newStart(newSelection.visibleStart());
H A Dhtmlediting.cpp1077 VisibleSelection newSelection(original);
1078 VisiblePosition startOfSelection(newSelection.visibleStart());
1079 VisiblePosition endOfSelection(newSelection.visibleEnd());
1087 newSelection = VisibleSelection(startOfSelection, endOfSelection.previous(CannotCrossEditingBoundary));
1095 newSelection = VisibleSelection(startOfSelection.next(CannotCrossEditingBoundary), endOfSelection);
1097 return newSelection;
H A DEditor.h274 void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions);
/external/chromium-trace/trace-viewer/src/ui/
H A Dlist_view.js54 var newSelection = listView.selectedElement;
55 if (newSelection != oldSelection)
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DEventHandler.cpp321 static void setSelectionIfNeeded(FrameSelection& selection, const VisibleSelection& newSelection) argument
323 if (selection.selection() != newSelection)
324 selection.setSelection(newSelection);
341 VisibleSelection newSelection(selection);
342 newSelection.setBase(positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary));
343 newSelection.setExtent(positionAfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary));
345 return newSelection;
371 VisibleSelection newSelection; local
376 newSelection = VisibleSelection(pos);
377 newSelection
390 VisibleSelection newSelection; local
436 VisibleSelection newSelection; local
520 VisibleSelection newSelection = m_frame->selection().selection(); local
786 VisibleSelection newSelection; local
[all...]
H A DFocusController.cpp469 VisibleSelection newSelection(position, position, DOWNSTREAM);
470 frame->selection().setSelection(newSelection);
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DRewriteElseBlocks.cpp137 TIntermSelection *newSelection = new TIntermSelection(conditionSymbolSel, local
145 block->getSequence()->push_back(newSelection);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTextFormControlElementTest.cpp217 VisibleSelection newSelection(newPosition, DOWNSTREAM);
218 document().frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotUpdateAppearance);
H A DHTMLTextFormControlElement.cpp379 VisibleSelection newSelection; local
381 newSelection.setWithoutValidation(endPosition, startPosition);
383 newSelection.setWithoutValidation(startPosition, endPosition);
384 newSelection.setIsDirectional(direction != SelectionHasNoDirection);
386 frame->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | (selectionOption == ChangeSelectionAndFocus ? 0 : FrameSelection::DoNotSetFocus));
/external/chromium_org/chrome/browser/resources/inspect/
H A Dinspect.js736 var newSelection = line.nextElementSibling;
738 selectLine(newSelection);
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebLocalFrameImpl.cpp1175 VisibleSelection newSelection = VisibleSelection(basePosition, extentPosition); local
1176 frame()->selection().setSelection(newSelection, CharacterGranularity);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DCodeMirrorTextEditor.js2348 var newSelection = new WebInspector.TextRange(startRangeWord.startLine, startRangeWord.startColumn, endRangeWord.endLine, endRangeWord.endColumn);
2349 newSelections.push(newSelection);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElement.cpp2072 VisibleSelection newSelection = VisibleSelection(firstPositionInOrBeforeNode(this), DOWNSTREAM);
2075 frame->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotSetFocus);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.ide_3.6.2.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1106 milliseconds