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

Side by Side Diff: third_party/WebKit/Source/core/editing/markers/EditingMarkerList.cpp

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 8 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/editing/markers/EditingMarkerList.h" 5 #include "core/editing/markers/EditingMarkerList.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include "core/editing/markers/DocumentMarkerController.h" 8 #include "core/editing/markers/DocumentMarkerController.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 16 matching lines...) Expand all
27 27
28 void EditingMarkerList::clear() { 28 void EditingMarkerList::clear() {
29 m_markersAreSorted = true; 29 m_markersAreSorted = true;
30 DocumentMarkerList::clear(); 30 DocumentMarkerList::clear();
31 } 31 }
32 32
33 bool EditingMarkerList::markerListIsSorted() const { 33 bool EditingMarkerList::markerListIsSorted() const {
34 return m_markersAreSorted; 34 return m_markersAreSorted;
35 } 35 }
36 36
37 DEFINE_TRACE(EditingMarkerList) {
38 visitor->trace(m_markers);
39 DocumentMarkerList::trace(visitor);
40 }
41
42 } // namespace blink 37 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698