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

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

Issue 2886893008: [DMC #8] Rename DocumentMarkerController::RenderedRectsForMarkers() (Closed)
Patch Set: Reformat FrameView Created 3 years, 7 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/markers/DocumentMarkerController.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
7 * reserved. 7 * reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool HasMarkers(Node* node) const { return markers_.Contains(node); } 87 bool HasMarkers(Node* node) const { return markers_.Contains(node); }
88 88
89 // Returns a marker of one of the specified types that includes the specified 89 // Returns a marker of one of the specified types that includes the specified
90 // Position in its interior (not at an endpoint), if one exists. 90 // Position in its interior (not at an endpoint), if one exists.
91 DocumentMarker* MarkerAtPosition(const Position&, 91 DocumentMarker* MarkerAtPosition(const Position&,
92 DocumentMarker::MarkerTypes); 92 DocumentMarker::MarkerTypes);
93 DocumentMarkerVector MarkersFor( 93 DocumentMarkerVector MarkersFor(
94 Node*, 94 Node*,
95 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); 95 DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
96 DocumentMarkerVector Markers(); 96 DocumentMarkerVector Markers();
97 Vector<IntRect> RenderedRectsForMarkers(DocumentMarker::MarkerType); 97 Vector<IntRect> RenderedRectsForTextMatchMarkers();
98 void UpdateMarkerRenderedRectIfNeeded(const Node&, RenderedDocumentMarker&); 98 void UpdateMarkerRenderedRectIfNeeded(const Node&, RenderedDocumentMarker&);
99 void InvalidateRectsForAllMarkers(); 99 void InvalidateRectsForAllMarkers();
100 void InvalidateRectsForMarkersInNode(const Node&); 100 void InvalidateRectsForMarkersInNode(const Node&);
101 101
102 DECLARE_TRACE(); 102 DECLARE_TRACE();
103 103
104 #ifndef NDEBUG 104 #ifndef NDEBUG
105 void ShowMarkers() const; 105 void ShowMarkers() const;
106 #endif 106 #endif
107 107
(...skipping 26 matching lines...) Expand all
134 const Member<const Document> document_; 134 const Member<const Document> document_;
135 }; 135 };
136 136
137 } // namespace blink 137 } // namespace blink
138 138
139 #ifndef NDEBUG 139 #ifndef NDEBUG
140 void showDocumentMarkers(const blink::DocumentMarkerController*); 140 void showDocumentMarkers(const blink::DocumentMarkerController*);
141 #endif 141 #endif
142 142
143 #endif // DocumentMarkerController_h 143 #endif // DocumentMarkerController_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698