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

Side by Side Diff: sky/engine/core/dom/DocumentMarkerController.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/dom/DocumentMarker.h ('k') | sky/engine/core/dom/DocumentParser.h » ('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 reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 8 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class MarkerRemoverPredicate final { 45 class MarkerRemoverPredicate final {
46 public: 46 public:
47 explicit MarkerRemoverPredicate(const Vector<String>& words); 47 explicit MarkerRemoverPredicate(const Vector<String>& words);
48 bool operator()(const DocumentMarker&, const Text&) const; 48 bool operator()(const DocumentMarker&, const Text&) const;
49 49
50 private: 50 private:
51 Vector<String> m_words; 51 Vector<String> m_words;
52 }; 52 };
53 53
54 class DocumentMarkerController final : public DummyBase<DocumentMarkerController > { 54 class DocumentMarkerController final {
55 WTF_MAKE_NONCOPYABLE(DocumentMarkerController); WTF_MAKE_FAST_ALLOCATED_WILL _BE_REMOVED; 55 WTF_MAKE_NONCOPYABLE(DocumentMarkerController); WTF_MAKE_FAST_ALLOCATED;
56 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentMarkerController); 56 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentMarkerController);
57 public: 57 public:
58 58
59 DocumentMarkerController(); 59 DocumentMarkerController();
60 60
61 void clear(); 61 void clear();
62 void addMarker(Range*, DocumentMarker::MarkerType); 62 void addMarker(Range*, DocumentMarker::MarkerType);
63 void addMarker(Range*, DocumentMarker::MarkerType, const String& description ); 63 void addMarker(Range*, DocumentMarker::MarkerType, const String& description );
64 void addMarker(Range*, DocumentMarker::MarkerType, const String& description , uint32_t hash); 64 void addMarker(Range*, DocumentMarker::MarkerType, const String& description , uint32_t hash);
65 void addTextMatchMarker(const Range*, bool activeMatch); 65 void addTextMatchMarker(const Range*, bool activeMatch);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 DocumentMarker::MarkerTypes m_possiblyExistingMarkerTypes; 111 DocumentMarker::MarkerTypes m_possiblyExistingMarkerTypes;
112 }; 112 };
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #ifndef NDEBUG 116 #ifndef NDEBUG
117 void showDocumentMarkers(const blink::DocumentMarkerController*); 117 void showDocumentMarkers(const blink::DocumentMarkerController*);
118 #endif 118 #endif
119 119
120 #endif // DocumentMarkerController_h 120 #endif // DocumentMarkerController_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/DocumentMarker.h ('k') | sky/engine/core/dom/DocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698