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

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

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame) 55 static PassOwnPtrWillBeRawPtr<FrameConsole> create(LocalFrame& frame)
56 { 56 {
57 return adoptPtrWillBeNoop(new FrameConsole(frame)); 57 return adoptPtrWillBeNoop(new FrameConsole(frame));
58 } 58 }
59 59
60 void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>); 60 void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>);
61 void adoptWorkerMessagesAfterTermination(WorkerGlobalScopeProxy*); 61 void adoptWorkerMessagesAfterTermination(WorkerGlobalScopeProxy*);
62 62
63 void reportResourceResponseReceived(DocumentLoader*, unsigned long requestId entifier, const ResourceResponse&); 63 void reportResourceResponseReceived(DocumentLoader*, unsigned long requestId entifier, const ResourceResponse&);
64 64
65 static String formatStackTraceString(const String& originalMessage, PassRefP trWillBeRawPtr<ScriptCallStack>); 65 static String formatStackTraceString(const String& originalMessage, PassRefP tr<ScriptCallStack>);
66 66
67 static void mute(); 67 static void mute();
68 static void unmute(); 68 static void unmute();
69 69
70 void clearMessages(); 70 void clearMessages();
71 71
72 void didFailLoading(unsigned long requestIdentifier, const ResourceError&); 72 void didFailLoading(unsigned long requestIdentifier, const ResourceError&);
73 73
74 DECLARE_TRACE(); 74 DECLARE_TRACE();
75 75
76 private: 76 private:
77 explicit FrameConsole(LocalFrame&); 77 explicit FrameConsole(LocalFrame&);
78 78
79 LocalFrame& frame() const 79 LocalFrame& frame() const
80 { 80 {
81 ASSERT(m_frame); 81 ASSERT(m_frame);
82 return *m_frame; 82 return *m_frame;
83 } 83 }
84 84
85 ConsoleMessageStorage* messageStorage(); 85 ConsoleMessageStorage* messageStorage();
86 86
87 RawPtrWillBeMember<LocalFrame> m_frame; 87 RawPtrWillBeMember<LocalFrame> m_frame;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // FrameConsole_h 92 #endif // FrameConsole_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/FrameConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698