Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: third_party/WebKit/Source/core/editing/EditingUtilities.h

Issue 2151803003: [Editing][Regression] Contenteditable w/ "-webkit-user-select:all" should be editable for drag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 bool isListItem(const Node*); 158 bool isListItem(const Node*);
159 bool isNodeRendered(const Node&); 159 bool isNodeRendered(const Node&);
160 bool isNodeVisiblyContainedWithin(Node&, const Range&); 160 bool isNodeVisiblyContainedWithin(Node&, const Range&);
161 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 161 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
162 // Returns true if specified nodes are elements, have identical tag names, 162 // Returns true if specified nodes are elements, have identical tag names,
163 // have identical attributes, and are editable. 163 // have identical attributes, and are editable.
164 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&); 164 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&);
165 bool isNonTableCellHTMLBlockElement(const Node*); 165 bool isNonTableCellHTMLBlockElement(const Node*);
166 bool isBlockFlowElement(const Node&); 166 bool isBlockFlowElement(const Node&);
167 bool nodeIsUserSelectAll(const Node*); 167 bool nodeIsUserSelectAll(const Node*);
168 EUserSelect usedValueOfUserSelect(const Node&);
168 bool isTextSecurityNode(const Node*); 169 bool isTextSecurityNode(const Node*);
169 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&); 170 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&);
170 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&); 171 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&);
171 CORE_EXPORT TextDirection primaryDirectionOf(const Node&); 172 CORE_EXPORT TextDirection primaryDirectionOf(const Node&);
172 173
173 // ------------------------------------------------------------------------- 174 // -------------------------------------------------------------------------
174 // Position 175 // Position
175 // ------------------------------------------------------------------------- 176 // -------------------------------------------------------------------------
176 177
177 // Functions returning Position 178 // Functions returning Position
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // ------------------------------------------------------------------------- 356 // -------------------------------------------------------------------------
356 357
357 // Functions dispatch InputEvent 358 // Functions dispatch InputEvent
358 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta); 359 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta);
359 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable); 360 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable);
360 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const String& data, const RangeVector*); 361 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const String& data, const RangeVector*);
361 362
362 } // namespace blink 363 } // namespace blink
363 364
364 #endif 365 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698