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

Side by Side Diff: Source/core/inspector/InspectorConsoleMessage.h

Issue 472023002: [DevTools] ConsoleAPI messages pass through frame console (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class ScriptCallStack; 47 class ScriptCallStack;
48 class ScriptValue; 48 class ScriptValue;
49 class WorkerGlobalScopeProxy; 49 class WorkerGlobalScopeProxy;
50 50
51 class InspectorConsoleMessage { 51 class InspectorConsoleMessage {
52 WTF_MAKE_NONCOPYABLE(InspectorConsoleMessage); WTF_MAKE_FAST_ALLOCATED; 52 WTF_MAKE_NONCOPYABLE(InspectorConsoleMessage); WTF_MAKE_FAST_ALLOCATED;
53 public: 53 public:
54 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message); 54 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message);
55 InspectorConsoleMessage(bool shouldGenerateCallStack, MessageSource, Message Type, MessageLevel, const String& message, const String& url, unsigned line, uns igned column, ScriptState*, unsigned long requestIdentifier); 55 InspectorConsoleMessage(bool shouldGenerateCallStack, MessageSource, Message Type, MessageLevel, const String& message, const String& url, unsigned line, uns igned column, ScriptState*, unsigned long requestIdentifier);
56 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message, PassRefPtrWillBeRawPtr<ScriptCallStack>, unsigned long requestIdent ifier); 56 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message, PassRefPtrWillBeRawPtr<ScriptCallStack>, unsigned long requestIdent ifier);
57 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message, PassRefPtrWillBeRawPtr<ScriptArguments>, ScriptState*, unsigned lon g requestIdentifier); 57 InspectorConsoleMessage(MessageSource, MessageType, MessageLevel, const Stri ng& message, PassRefPtrWillBeRawPtr<ScriptArguments>, ScriptState*, unsigned lon g requestIdentifier = 0);
vsevik 2014/08/19 08:04:55 We should delete requestIdentifier param from this
kozyatinskiy1 2014/08/19 08:26:26 Done.
58 ~InspectorConsoleMessage(); 58 ~InspectorConsoleMessage();
59 59
60 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview); 60 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview);
61 void setTimestamp(double timestamp) { m_timestamp = timestamp; } 61 void setTimestamp(double timestamp) { m_timestamp = timestamp; }
62 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx y = proxy; } 62 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProx y = proxy; }
63 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; } 63 WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; }
64 64
65 MessageType type() const { return m_type; } 65 MessageType type() const { return m_type; }
66 66
67 void windowCleared(LocalDOMWindow*); 67 void windowCleared(LocalDOMWindow*);
(...skipping 14 matching lines...) Expand all
82 unsigned m_line; 82 unsigned m_line;
83 unsigned m_column; 83 unsigned m_column;
84 String m_requestId; 84 String m_requestId;
85 double m_timestamp; 85 double m_timestamp;
86 WorkerGlobalScopeProxy* m_workerProxy; 86 WorkerGlobalScopeProxy* m_workerProxy;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // InspectorConsoleMessage_h 91 #endif // InspectorConsoleMessage_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698