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

Unified Diff: third_party/WebKit/Source/core/frame/FrameConsole.h

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improved api a bit Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameConsole.h
diff --git a/third_party/WebKit/Source/core/frame/FrameConsole.h b/third_party/WebKit/Source/core/frame/FrameConsole.h
index e3797ad08c1d120e1e45f6fd50482ea3732f1f30..b345c332a413f571d41b50cadd4a2b263b9373ee 100644
--- a/third_party/WebKit/Source/core/frame/FrameConsole.h
+++ b/third_party/WebKit/Source/core/frame/FrameConsole.h
@@ -37,12 +37,9 @@
namespace blink {
class ConsoleMessage;
-class ConsoleMessageStorage;
class DocumentLoader;
class ResourceError;
class ResourceResponse;
-class ScriptCallStack;
-class WorkerInspectorProxy;
// FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector.
// It's meant as an abstraction around ChromeClient calls and the way that Blink core/ can add messages to the console.
@@ -54,15 +51,14 @@ public:
}
void addMessage(ConsoleMessage*);
+ bool addMessageToStorage(ConsoleMessage*);
+ void reportMessageToClient(ConsoleMessage*);
void reportWorkerMessage(ConsoleMessage*);
void adoptWorkerMessage(ConsoleMessage*);
void reportResourceResponseReceived(DocumentLoader*, unsigned long requestIdentifier, const ResourceResponse&);
- static void mute();
- static void unmute();
-
void clearMessages();
void didFailLoading(unsigned long requestIdentifier, const ResourceError&);
@@ -78,10 +74,6 @@ private:
return *m_frame;
}
- ConsoleMessageStorage* messageStorage();
- bool addMessageToStorage(ConsoleMessage*);
- void reportMessageToClient(ConsoleMessage*);
-
Member<LocalFrame> m_frame;
};
« 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