HomeSort by relevance Sort by last modified time
    Searched refs:selection (Results 1 - 25 of 458) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/editing/
SurroundingTextTest.cpp 46 Element* element = document().getElementById("selection");
47 VisibleSelection selection; local
48 selection.setBase(Position(toText(element->firstChild()), start));
49 selection.setExtent(Position(toText(element->firstChild()), end));
50 return selection;
55 setHTML(String("<p id='selection'>foo bar</p>"));
58 VisibleSelection selection = select(0); local
59 SurroundingText surroundingText(selection.start(), 1);
67 VisibleSelection selection = select(0); local
68 SurroundingText surroundingText(selection.start(), 5)
77 VisibleSelection selection = select(0); local
88 VisibleSelection selection = select(7); local
97 VisibleSelection selection = select(6); local
106 VisibleSelection selection = select(6); local
120 VisibleSelection selection = select(0, 5); local
129 VisibleSelection selection = select(0, 5); local
138 VisibleSelection selection = select(0, 5); local
147 VisibleSelection selection = select(6, 11); local
156 VisibleSelection selection = select(6, 11); local
170 VisibleSelection selection = select(0); local
179 VisibleSelection selection = select(0); local
188 VisibleSelection selection = select(0); local
197 VisibleSelection selection = select(6); local
206 VisibleSelection selection = select(6); local
220 VisibleSelection selection = select(0, 1); local
229 VisibleSelection selection = select(0, 3); local
238 VisibleSelection selection = select(0, 3); local
247 VisibleSelection selection = select(4, 7); local
256 VisibleSelection selection = select(0, 7); local
    [all...]
DOMSelection.cpp 53 Node* node = frame->selection().selection().base().anchorNode();
77 return m_frame->selection().selection();
80 static Position anchorPosition(const VisibleSelection& selection)
82 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end();
86 static Position focusPosition(const VisibleSelection& selection)
88 Position focus = selection.isBaseFirst() ? selection.end() : selection.start()
229 const VisibleSelection& selection = m_frame->selection().selection(); local
244 const VisibleSelection& selection = m_frame->selection().selection(); local
405 FrameSelection& selection = m_frame->selection(); local
    [all...]
FrameSelectionTest.cpp 34 FrameSelection& selection() const;
60 m_dummyPageHolder->frame().selection().setSelection(newSelection);
63 FrameSelection& FrameSelectionTest::selection() const function in class:__anon15687::FrameSelectionTest
65 return m_dummyPageHolder->frame().selection();
73 EXPECT_FALSE(selection().isNone());
87 // update FrameSelection with the selection.
92 EXPECT_TRUE(selection().isNone());
101 selection().setCaretRectNeedsUpdate();
102 EXPECT_TRUE(selection().isCaretBoundsDirty());
103 selection().invalidateCaretRect()
    [all...]
VisibleSelectionTest.cpp 42 VisibleSelection& selection() { return m_wrap->m_selection; } function in class:blink::VisibleSelectionTest
78 EXPECT_FALSE(selection().isNone());
79 EXPECT_TRUE(selection().isCaret());
81 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
92 selection().expandUsingGranularity(WordGranularity);
94 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
103 selection().expandUsingGranularity(WordGranularity);
105 RefPtrWillBeRawPtr<Range> range = selection().firstRange();
116 selection().expandUsingGranularity(WordGranularity);
118 RefPtrWillBeRawPtr<Range> range = selection().firstRange()
    [all...]
EditCommand.cpp 43 setStartingSelection(m_document->frame()->selection().selection());
73 void EditCommand::setStartingSelection(const VisibleSelection& selection)
78 composition->setStartingSelection(selection);
80 command->m_startingSelection = selection;
91 void EditCommand::setEndingSelection(const VisibleSelection& selection)
96 composition->setEndingSelection(selection);
98 command->m_endingSelection = selection;
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.start())
247 FrameSelection& selection = frame().selection(); local
1158 VisibleSelection selection = frame().selection().selection(); local
    [all...]
  /external/chromium-trace/trace-viewer/src/tracing/
record_selection_dialog.css 6 .record-selection-dialog {
11 .record-selection-dialog .default-enabled-categories {
15 .record-selection-dialog .default-disabled-categories {
21 .record-selection-dialog .categories {
26 .record-selection-dialog form {
34 .record-selection-dialog .options {
40 .record-selection-dialog td {
44 .record-selection-dialog .options label {
  /external/chromium_org/ui/base/ime/
composition_text.cc 18 selection = gfx::Range();
composition_text.h 22 (this->selection != rhs.selection) ||
46 // Selection range in the composition text. It represents the caret position
50 gfx::Range selection; member in struct:ui::CompositionText
  /external/chromium_org/chrome/browser/history/
history_backend_android.cc 21 const std::string& selection,
27 projections, selection, selection_args, sort_order);
34 const std::string& selection,
39 row, selection, selection_args, &count);
45 const std::string& selection,
50 selection, selection_args, &count);
56 const std::string& selection,
60 android_provider_backend_->DeleteHistory(selection, selection_args, &count);
101 const std::string& selection,
106 row, selection, selection_args, &count)
    [all...]
  /external/chromium_org/ui/gfx/
selection_model.cc 20 SelectionModel::SelectionModel(const Range& selection,
22 : selection_(selection),
26 return selection_ == sel.selection() &&
32 if (selection().is_empty())
35 str += selection().ToString();
selection_model.h 33 // SelectionModel is used to represent the logical selection and visual
54 // So, besides the logical selection start point and end point, we need extra
64 // selection. The |affinity| is meaningful only when the caret is positioned
68 // Create a SelectionModel representing a selection (which may be empty).
70 SelectionModel(const Range& selection, LogicalCursorDirection affinity);
72 const Range& selection() const { return selection_; } function in class:gfx::SelectionModel
76 // WARNING: Generally the selection start should not be changed without
86 // Logical selection. The logical caret position is the end of the selection.
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
CSSSourceFrame.js 76 var selection = this.textEditor.selection().normalize();
77 var token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn);
79 if (selection.startColumn > 0)
80 token = this.textEditor.tokenAtTextPosition(selection.startLine, selection.startColumn - 1);
87 var cssUnitRange = new WebInspector.TextRange(selection.startLine, token.startColumn, selection.startLine, token.endColumn);
93 selection.startColumn = token.startColumn
    [all...]
EditingLocationHistoryManager.js 80 this._updateActiveState(sourceFrame.textEditor.selection());
88 this._pushActiveState(sourceFrame.textEditor.selection());
92 * @param {!WebInspector.TextRange} selection
94 _updateActiveState: function(selection)
102 var entry = new WebInspector.EditingLocationHistoryEntry(this._sourcesView, this, sourceFrame, selection);
107 * @param {!WebInspector.TextRange} selection
109 _pushActiveState: function(selection)
114 var entry = new WebInspector.EditingLocationHistoryEntry(this._sourcesView, this, sourceFrame, selection);
139 * @param {!WebInspector.TextRange} selection
141 WebInspector.EditingLocationHistoryEntry = function(sourcesView, editingLocationManager, sourceFrame, selection)
    [all...]
  /external/chromium_org/third_party/angle/src/compiler/translator/
RewriteElseBlocks.cpp 32 TIntermNode *rewriteSelection(TIntermSelection *selection);
73 TIntermSelection *selection = statement->getAsSelectionNode(); local
74 if (selection && selection->getFalseBlock() != NULL)
77 TIntermSelection *elseIfBranch = selection->getFalseBlock()->getAsSelectionNode();
80 selection->replaceChildNode(elseIfBranch, rewriteSelection(elseIfBranch));
84 (*node->getSequence())[statementIndex] = rewriteSelection(selection);
85 delete selection;
102 TIntermNode *ElseBlockRewriter::rewriteSelection(TIntermSelection *selection)
104 ASSERT(selection != NULL)
    [all...]
  /external/chromium_org/chrome/browser/history/android/
android_provider_backend.h 63 // |selection| is the SQL WHERE clause without 'WHERE'.
68 const std::string& selection,
76 // |selection| is the SQL WHERE clause without 'WHERE'.
80 const std::string& selection,
89 // |selection| is the SQL WHERE clause without 'WHERE'.
92 // if |selection| is empty all history and bookmarks are deleted.
94 const std::string& selection,
102 bool DeleteHistory(const std::string& selection,
111 // |selection| is the SQL WHERE clause without 'WHERE'.
116 const std::string& selection,
    [all...]
android_history_provider_service.h 54 // |selection| is the SQL WHERE clause without 'WHERE'.
59 const std::string& selection,
69 // |selection| is the SQL WHERE clause without 'WHERE'.
73 const std::string& selection,
81 // |selection| is the SQL WHERE clause without 'WHERE'.
84 // If |selection| is empty all history and bookmarks are deleted.
86 const std::string& selection,
101 const std::string& selection,
133 // |selection| is the SQL WHERE clause without 'WHERE'.
137 const std::string& selection,
    [all...]
  /external/chromium_org/ui/base/x/
selection_requestor.h 24 // Requests and later receives data from the X11 server through the selection
28 // drop. This class interprets messages from the stateful selection request
38 // Does the work of requesting |target| from |selection|, spinning up the
43 XAtom selection,
49 // Requests |target| from |selection|, passing |parameter| as a parameter to
52 XAtom selection,
56 // Returns the first of |types| offered by the current owner of |selection|.
58 SelectionData RequestAndWaitForTypes(XAtom selection,
76 Request(XAtom selection, XAtom target, base::TimeTicks timeout);
79 // The target and selection requested in the XConvertSelection() request
81 XAtom selection; member in struct:ui::SelectionRequestor::Request
    [all...]
selection_requestor_unittest.cc 46 void SendSelectionNotify(XAtom selection,
59 xev.xselection.selection = selection;
72 // Create a window for the selection requestor to use.
112 // Converts |selection| to |target| and checks the returned values.
115 XAtom selection,
122 selection, target, &out_data, &out_data_items, &out_type));
133 // Assume that |selection| will have no owner. If there is an owner, the owner
136 XAtom selection = atom_cache_.GetAtom("FAKE_SELECTION"); local
146 selection,
    [all...]
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
file_selection.js 8 * The current selection object.
78 // Collect all of the mime types and push that info into the selection.
152 * This object encapsulates everything related to current selection.
213 * Update the UI when the selection model changes.
220 if (this.selection) this.selection.cancelComputing_();
221 var selection = new FileSelection(this.fileManager_, indexes);
222 this.selection = selection;
227 if (this.selection.totalCount == 1 &
    [all...]
  /external/chromium_org/remoting/host/linux/
x_server_clipboard.cc 135 OnSetSelectionOwnerNotify(notify_event->selection,
140 void XServerClipboard::OnSetSelectionOwnerNotify(Atom selection,
142 // Protect against receiving new XFixes selection notifications whilst we're
143 // in the middle of waiting for information from the current selection owner.
156 if (selection != clipboard_atom_)
159 // If we own the selection, don't request details for it.
160 if (IsSelectionOwner(selection))
165 // Before getting the value of the chosen selection, request the list of
167 RequestSelectionTargets(selection);
204 // Large selection - just read and ignore these for now
    [all...]
x_server_clipboard.h 28 // selection (primary or clipboard).
49 // Process |event| if it is an X selection notification. The caller should
55 void OnSetSelectionOwnerNotify(Atom selection, Time timestamp);
69 // Called by OnSelectionNotify() when the selection owner has replied to a
70 // request for information about a selection.
80 // These methods return true if selection processing is complete, false
95 // These methods trigger the X server or selection owner to send back an
97 void RequestSelectionTargets(Atom selection);
98 void RequestSelectionString(Atom selection, Atom target);
100 // Assert ownership of the specified |selection|
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 120 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
147 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder);
160 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
168 if (selection != null && selection.length() > 0) {
169 selection = idSelection + " AND " + selection;
171 selection = idSelection;
178 if (selection != null && selection.length() > 0)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_device/test/
audio_device_test_func.cc 61 TEST_LOG(" (2) Audio-layer selection\n");
63 TEST_LOG(" (4) Device selection\n");
78 int selection(0);
85 selection = sel;
89 if (scanf("%d", &selection) < 0) {
90 perror("Failed to get selection.");
94 switch (selection)
  /cts/tests/tests/provider/src/android/provider/cts/
Settings_SystemTest.java 45 String selection = System.NAME + "=\"" + INT_FIELD + "\""; local
46 cr.delete(System.CONTENT_URI, selection, null);
48 selection = System.NAME + "=\"" + LONG_FIELD + "\"";
49 cr.delete(System.CONTENT_URI, selection, null);
51 selection = System.NAME + "=\"" + FLOAT_FIELD + "\"";
52 cr.delete(System.CONTENT_URI, selection, null);
54 selection = System.NAME + "=\"" + STRING_FIELD + "\"";
55 cr.delete(System.CONTENT_URI, selection, null);
57 selection = System.NAME + "=\"" + System.SHOW_GTALK_SERVICE_STATUS + "\"";
58 cr.delete(System.CONTENT_URI, selection, null)
    [all...]

Completed in 215 milliseconds

1 2 3 4 5 6 7 8 91011>>