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

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

Issue 2358803006: Prune some CreateVisiblePositionDeprecated calls from EditingUtilities (Closed)
Patch Set: Revision 201609261145 Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class HTMLLIElement; 65 class HTMLLIElement;
66 class HTMLSpanElement; 66 class HTMLSpanElement;
67 class HTMLUListElement; 67 class HTMLUListElement;
68 class Node; 68 class Node;
69 class Range; 69 class Range;
70 70
71 // This file contains a set of helper functions used by the editing commands 71 // This file contains a set of helper functions used by the editing commands
72 72
73 CORE_EXPORT bool needsLayoutTreeUpdate(const Node&); 73 CORE_EXPORT bool needsLayoutTreeUpdate(const Node&);
74 CORE_EXPORT bool needsLayoutTreeUpdate(const Position&); 74 CORE_EXPORT bool needsLayoutTreeUpdate(const Position&);
75 CORE_EXPORT bool needsLayoutTreeUpdate(const PositionInFlatTree&);
75 76
76 // ------------------------------------------------------------------------- 77 // -------------------------------------------------------------------------
77 // Node 78 // Node
78 // ------------------------------------------------------------------------- 79 // -------------------------------------------------------------------------
79 80
80 CORE_EXPORT bool hasEditableStyle(const Node&); 81 CORE_EXPORT bool hasEditableStyle(const Node&);
81 CORE_EXPORT bool hasRichlyEditableStyle(const Node&); 82 CORE_EXPORT bool hasRichlyEditableStyle(const Node&);
82 CORE_EXPORT bool isRootEditableElement(const Node&); 83 CORE_EXPORT bool isRootEditableElement(const Node&);
83 CORE_EXPORT Element* rootEditableElement(const Node&); 84 CORE_EXPORT Element* rootEditableElement(const Node&);
84 Element* rootEditableElementOf(const Position&); 85 Element* rootEditableElementOf(const Position&);
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta); 365 DispatchEventResult dispatchBeforeInputInsertText(EventTarget*, const String& da ta);
365 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable); 366 DispatchEventResult dispatchBeforeInputFromComposition(EventTarget*, InputEvent: :InputType, const String& data, InputEvent::EventCancelable);
366 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const RangeVector*); 367 DispatchEventResult dispatchBeforeInputEditorCommand(EventTarget*, InputEvent::I nputType, const RangeVector*);
367 DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*, InputEvent::In putType, DataTransfer*, const RangeVector*); 368 DispatchEventResult dispatchBeforeInputDataTransfer(EventTarget*, InputEvent::In putType, DataTransfer*, const RangeVector*);
368 369
369 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, Text Granularity); 370 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, Text Granularity);
370 371
371 } // namespace blink 372 } // namespace blink
372 373
373 #endif 374 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698