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

Side by Side Diff: sky/engine/core/dom/DocumentMarker.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/Document.h ('k') | sky/engine/core/dom/DocumentMarkerController.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 * This file is part of the DOM implementation for WebCore. 2 * This file is part of the DOM implementation for WebCore.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 17 matching lines...) Expand all
28 #include "wtf/text/WTFString.h" 28 #include "wtf/text/WTFString.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class DocumentMarkerDetails; 32 class DocumentMarkerDetails;
33 33
34 // A range of a node within a document that is "marked", such as the range of a misspelled word. 34 // A range of a node within a document that is "marked", such as the range of a misspelled word.
35 // It optionally includes a description that could be displayed in the user inte rface. 35 // It optionally includes a description that could be displayed in the user inte rface.
36 // It also optionally includes a flag specifying whether the match is active, wh ich is ignored 36 // It also optionally includes a flag specifying whether the match is active, wh ich is ignored
37 // for all types other than type TextMatch. 37 // for all types other than type TextMatch.
38 class DocumentMarker : public DummyBase<DocumentMarker> { 38 class DocumentMarker {
39 public: 39 public:
40 enum MarkerTypeIndex { 40 enum MarkerTypeIndex {
41 SpellingMarkerIndex = 0, 41 SpellingMarkerIndex = 0,
42 GramarMarkerIndex, 42 GramarMarkerIndex,
43 TextMatchMarkerIndex, 43 TextMatchMarkerIndex,
44 InvisibleSpellcheckMarkerIndex, 44 InvisibleSpellcheckMarkerIndex,
45 MarkerTypeIndexesCount 45 MarkerTypeIndexesCount
46 }; 46 };
47 47
48 enum MarkerType { 48 enum MarkerType {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 virtual ~DocumentMarkerDetails(); 152 virtual ~DocumentMarkerDetails();
153 virtual bool isDescription() const { return false; } 153 virtual bool isDescription() const { return false; }
154 virtual bool isTextMatch() const { return false; } 154 virtual bool isTextMatch() const { return false; }
155 155
156 virtual void trace(Visitor*) { } 156 virtual void trace(Visitor*) { }
157 }; 157 };
158 158
159 } // namespace blink 159 } // namespace blink
160 160
161 #endif // DocumentMarker_h 161 #endif // DocumentMarker_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/dom/DocumentMarkerController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698