Searched defs:selection (Results 1 - 25 of 83) sorted by relevance

1234

/external/webkit/Source/WebKit/wx/
H A DWebDOMSelection.h54 wxWebKitSelection(WebCore::SelectionController* selection) argument
55 : m_selection(selection)
/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 DInsertLineBreakCommand.cpp91 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 DDeleteButtonController.cpp147 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 DDeleteSelectionCommand.h41 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 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 DApplyBlockElementCommand.cpp66 // When a selection ends at the start of a paragraph, we rarely paint
67 // the selection gap before that paragraph, because there often is no gap.
68 // In a case like this, it's not obvious to the user that the selection
77 VisibleSelection selection = selectionForParagraphIteration(endingSelection()); local
78 VisiblePosition startOfSelection = selection.visibleStart();
79 VisiblePosition endOfSelection = selection.visibleEnd();
H A DInsertListCommand.cpp83 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...]
/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/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/webkit/Tools/DumpRenderTree/qt/
H A DTextInputControllerQt.cpp136 QInputMethodEvent::Attribute selection(QInputMethodEvent::Selection, start, end, QVariant());
137 attributes << selection; local
/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/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu.cc25 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
H A Dbookmark_context_menu_controller_views.cc28 const std::vector<const BookmarkNode*>& selection)
34 selection_(selection),
269 // Paste to selection from the Bookmark Bar, to parent_ everywhere else
22 BookmarkContextMenuControllerViews( gfx::NativeWindow parent_window, BookmarkContextMenuControllerViewsDelegate* delegate, Profile* profile, PageNavigator* navigator, const BookmarkNode* parent, const std::vector<const BookmarkNode*>& selection) argument
/external/freetype/src/cache/
H A Dftcmru.c328 FTC_MruNode_CompareFunc selection,
335 while ( first && ( selection == NULL || selection( first, key ) ) )
348 if ( selection( node, key ) )
327 FTC_MruList_RemoveSelection( FTC_MruList list, FTC_MruNode_CompareFunc selection, FT_Pointer key ) argument
/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/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/bookmarks/
H A Dbookmark_context_menu_controller.cc29 const std::vector<const BookmarkNode*>& selection)
35 selection_(selection),
283 // Paste to selection from the Bookmark Bar, to parent_ everywhere else
23 BookmarkContextMenuController( gfx::NativeWindow parent_window, BookmarkContextMenuControllerDelegate* delegate, Profile* profile, PageNavigator* navigator, const BookmarkNode* parent, const std::vector<const BookmarkNode*>& selection) argument
/external/linux-tools-perf/util/ui/browsers/
H A Dtop.c23 struct sym_entry *selection; member in struct:perf_top_browser
68 top_browser->selection = syme;
120 struct sym_entry *syme = browser->selection;
181 if (browser->selection)
/external/chromium/chrome/browser/autocomplete/
H A Dautocomplete_edit_view_win.h53 State(const CHARRANGE& selection, argument
55 : selection(selection),
59 const CHARRANGE selection; member in struct:AutocompleteEditViewWin::State
317 // |cpMax| if the cursor is at the start rather than the end of the selection
318 // (in other words, tracks selection direction as well as offsets).
325 // Like SetSel(), but respects the selection direction implied by |start| and
327 // beginning of the selection.
335 // Places the caret at the given position. This clears any selection.
338 // Returns true if |sel| represents a forward or backward selection o
[all...]
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/
H A DSettingsDialog.java65 public void onSelection(int selection); argument
90 private int selection = 0; field in class:SettingsDialog
169 return selection;
172 private void setUserSelection(int selection) { argument
173 this.selection = selection;
174 selectionListener.onSelection(selection);
364 * selection as a properties.cfg file.
366 * @return if the selection is valid
/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/chromium/chrome/browser/extensions/
H A Dextension_menu_manager.cc71 const string16& selection, size_t max_length) const {
75 ReplaceSubstringsAfterOffset(&result, 0, ASCIIToUTF16("%s"), selection);
70 TitleWithReplacement( const string16& selection, size_t max_length) const argument
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_tree.cc68 void GetSelectedIndices(GtkTreeSelection* selection, std::set<int>* out) { argument
70 selection, NULL);
326 gboolean TableAdapter::OnSelectionFilter(GtkTreeSelection* selection, argument

Completed in 1146 milliseconds

1234