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

Side by Side Diff: src/inspector/v8-debugger-script.h

Issue 2663973002: [inspector] added experimental is_module flag for script parsed events (Closed)
Patch Set: rebased Created 3 years, 10 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
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | src/inspector/v8-debugger-script.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const String16& sourceURL() const; 60 const String16& sourceURL() const;
61 virtual const String16& sourceMappingURL() const = 0; 61 virtual const String16& sourceMappingURL() const = 0;
62 virtual String16 source(v8::Isolate*) const { return m_source; } 62 virtual String16 source(v8::Isolate*) const { return m_source; }
63 const String16& hash(v8::Isolate*) const; 63 const String16& hash(v8::Isolate*) const;
64 int startLine() const { return m_startLine; } 64 int startLine() const { return m_startLine; }
65 int startColumn() const { return m_startColumn; } 65 int startColumn() const { return m_startColumn; }
66 int endLine() const { return m_endLine; } 66 int endLine() const { return m_endLine; }
67 int endColumn() const { return m_endColumn; } 67 int endColumn() const { return m_endColumn; }
68 int executionContextId() const { return m_executionContextId; } 68 int executionContextId() const { return m_executionContextId; }
69 virtual bool isLiveEdit() const = 0; 69 virtual bool isLiveEdit() const = 0;
70 virtual bool isModule() const = 0;
70 71
71 void setSourceURL(const String16&); 72 void setSourceURL(const String16&);
72 virtual void setSourceMappingURL(const String16&) = 0; 73 virtual void setSourceMappingURL(const String16&) = 0;
73 virtual void setSource(v8::Local<v8::String> source) { 74 virtual void setSource(v8::Local<v8::String> source) {
74 m_source = toProtocolString(source); 75 m_source = toProtocolString(source);
75 } 76 }
76 77
77 virtual bool getPossibleBreakpoints( 78 virtual bool getPossibleBreakpoints(
78 const v8::debug::Location& start, const v8::debug::Location& end, 79 const v8::debug::Location& start, const v8::debug::Location& end,
79 std::vector<v8::debug::Location>* locations) = 0; 80 std::vector<v8::debug::Location>* locations) = 0;
(...skipping 15 matching lines...) Expand all
95 96
96 v8::Isolate* m_isolate; 97 v8::Isolate* m_isolate;
97 98
98 private: 99 private:
99 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript); 100 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript);
100 }; 101 };
101 102
102 } // namespace v8_inspector 103 } // namespace v8_inspector
103 104
104 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_ 105 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_
OLDNEW
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | src/inspector/v8-debugger-script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698