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

Side by Side Diff: third_party/WebKit/Source/core/frame/ConsoleBase.h

Issue 1854543002: Oilpan: Remove WillBe types (part 7) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 29 matching lines...) Expand all
40 #include "wtf/Forward.h" 40 #include "wtf/Forward.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class ConsoleMessage; 44 class ConsoleMessage;
45 class ScriptArguments; 45 class ScriptArguments;
46 46
47 class CORE_EXPORT ConsoleBase : public GarbageCollectedFinalized<ConsoleBase>, p ublic ScriptWrappable { 47 class CORE_EXPORT ConsoleBase : public GarbageCollectedFinalized<ConsoleBase>, p ublic ScriptWrappable {
48 DEFINE_WRAPPERTYPEINFO(); 48 DEFINE_WRAPPERTYPEINFO();
49 public: 49 public:
50 void debug(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 50 void debug(ScriptState*, RawPtr<ScriptArguments>);
51 void error(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 51 void error(ScriptState*, RawPtr<ScriptArguments>);
52 void info(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 52 void info(ScriptState*, RawPtr<ScriptArguments>);
53 void log(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 53 void log(ScriptState*, RawPtr<ScriptArguments>);
54 void clear(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 54 void clear(ScriptState*, RawPtr<ScriptArguments>);
55 void warn(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 55 void warn(ScriptState*, RawPtr<ScriptArguments>);
56 void dir(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 56 void dir(ScriptState*, RawPtr<ScriptArguments>);
57 void dirxml(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 57 void dirxml(ScriptState*, RawPtr<ScriptArguments>);
58 void table(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 58 void table(ScriptState*, RawPtr<ScriptArguments>);
59 void trace(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 59 void trace(ScriptState*, RawPtr<ScriptArguments>);
60 void assertCondition(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>, bool condition); 60 void assertCondition(ScriptState*, RawPtr<ScriptArguments>, bool condition);
61 void count(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 61 void count(ScriptState*, RawPtr<ScriptArguments>);
62 void markTimeline(const String&); 62 void markTimeline(const String&);
63 void profile(const String&); 63 void profile(const String&);
64 void profileEnd(const String&); 64 void profileEnd(const String&);
65 void time(const String&); 65 void time(const String&);
66 void timeEnd(ScriptState*, const String&); 66 void timeEnd(ScriptState*, const String&);
67 void timeStamp(const String&); 67 void timeStamp(const String&);
68 void timeline(ScriptState*, const String&); 68 void timeline(ScriptState*, const String&);
69 void timelineEnd(ScriptState*, const String&); 69 void timelineEnd(ScriptState*, const String&);
70 void group(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 70 void group(ScriptState*, RawPtr<ScriptArguments>);
71 void groupCollapsed(ScriptState*, PassRefPtrWillBeRawPtr<ScriptArguments>); 71 void groupCollapsed(ScriptState*, RawPtr<ScriptArguments>);
72 void groupEnd(); 72 void groupEnd();
73 73
74 DEFINE_INLINE_VIRTUAL_TRACE() { } 74 DEFINE_INLINE_VIRTUAL_TRACE() { }
75 75
76 virtual ~ConsoleBase(); 76 virtual ~ConsoleBase();
77 77
78 protected: 78 protected:
79 virtual ExecutionContext* context() = 0; 79 virtual ExecutionContext* context() = 0;
80 virtual void reportMessageToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>) = 0; 80 virtual void reportMessageToConsole(RawPtr<ConsoleMessage>) = 0;
81 81
82 private: 82 private:
83 void internalAddMessage(MessageType, MessageLevel, ScriptState*, PassRefPtrW illBeRawPtr<ScriptArguments>, bool acceptNoArguments = false); 83 void internalAddMessage(MessageType, MessageLevel, ScriptState*, RawPtr<Scri ptArguments>, bool acceptNoArguments = false);
84 84
85 HashCountedSet<String> m_counts; 85 HashCountedSet<String> m_counts;
86 HashMap<String, double> m_times; 86 HashMap<String, double> m_times;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // ConsoleBase_h 91 #endif // ConsoleBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Console.cpp ('k') | third_party/WebKit/Source/core/frame/ConsoleBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698