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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSParserObserver.h

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. 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 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights 6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights
7 * reserved. 7 * reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
13 * 13 *
14 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details. 17 * Library General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU Library General Public License 19 * You should have received a copy of the GNU Library General Public License
20 * along with this library; see the file COPYING.LIB. If not, write to 20 * along with this library; see the file COPYING.LIB. If not, write to
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 */ 23 */
24 24
25 #ifndef CSSParserObserver_h 25 #ifndef CSSParserObserver_h
26 #define CSSParserObserver_h 26 #define CSSParserObserver_h
27 27
28 #include "core/css/CSSPropertySourceData.h" 28 #include "core/css/CSSPropertySourceData.h"
29 #include "wtf/Vector.h" 29 #include "platform/wtf/Vector.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 // This is only for the inspector and shouldn't be used elsewhere. 33 // This is only for the inspector and shouldn't be used elsewhere.
34 class CSSParserObserver { 34 class CSSParserObserver {
35 public: 35 public:
36 virtual void StartRuleHeader(StyleRule::RuleType, unsigned offset) = 0; 36 virtual void StartRuleHeader(StyleRule::RuleType, unsigned offset) = 0;
37 virtual void EndRuleHeader(unsigned offset) = 0; 37 virtual void EndRuleHeader(unsigned offset) = 0;
38 virtual void ObserveSelector(unsigned start_offset, unsigned end_offset) = 0; 38 virtual void ObserveSelector(unsigned start_offset, unsigned end_offset) = 0;
39 virtual void StartRuleBody(unsigned offset) = 0; 39 virtual void StartRuleBody(unsigned offset) = 0;
40 virtual void EndRuleBody(unsigned offset) = 0; 40 virtual void EndRuleBody(unsigned offset) = 0;
41 virtual void ObserveProperty(unsigned start_offset, 41 virtual void ObserveProperty(unsigned start_offset,
42 unsigned end_offset, 42 unsigned end_offset,
43 bool is_important, 43 bool is_important,
44 bool is_parsed) = 0; 44 bool is_parsed) = 0;
45 virtual void ObserveComment(unsigned start_offset, unsigned end_offset) = 0; 45 virtual void ObserveComment(unsigned start_offset, unsigned end_offset) = 0;
46 }; 46 };
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif // CSSParserObserver_h 50 #endif // CSSParserObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698