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

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

Issue 2529383002: [inspector] Split off interface-types.h (Closed)
Patch Set: Rebase Created 4 years 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) 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 int executionContextId() const { return m_executionContextId; } 60 int executionContextId() const { return m_executionContextId; }
61 const String16& executionContextAuxData() const { 61 const String16& executionContextAuxData() const {
62 return m_executionContextAuxData; 62 return m_executionContextAuxData;
63 } 63 }
64 bool isLiveEdit() const { return m_isLiveEdit; } 64 bool isLiveEdit() const { return m_isLiveEdit; }
65 65
66 void setSourceURL(const String16&); 66 void setSourceURL(const String16&);
67 void setSourceMappingURL(const String16&); 67 void setSourceMappingURL(const String16&);
68 void setSource(v8::Local<v8::String>); 68 void setSource(v8::Local<v8::String>);
69 69
70 bool getPossibleBreakpoints( 70 bool getPossibleBreakpoints(const v8::debug::Location& start,
71 const v8::DebugInterface::Location& start, 71 const v8::debug::Location& end,
72 const v8::DebugInterface::Location& end, 72 std::vector<v8::debug::Location>* locations);
73 std::vector<v8::DebugInterface::Location>* locations);
74 73
75 private: 74 private:
76 String16 m_id; 75 String16 m_id;
77 String16 m_url; 76 String16 m_url;
78 String16 m_sourceURL; 77 String16 m_sourceURL;
79 String16 m_sourceMappingURL; 78 String16 m_sourceMappingURL;
80 v8::Global<v8::String> m_sourceObj; 79 v8::Global<v8::String> m_sourceObj;
81 String16 m_source; 80 String16 m_source;
82 mutable String16 m_hash; 81 mutable String16 m_hash;
83 int m_startLine = 0; 82 int m_startLine = 0;
84 int m_startColumn = 0; 83 int m_startColumn = 0;
85 int m_endLine = 0; 84 int m_endLine = 0;
86 int m_endColumn = 0; 85 int m_endColumn = 0;
87 int m_executionContextId = 0; 86 int m_executionContextId = 0;
88 String16 m_executionContextAuxData; 87 String16 m_executionContextAuxData;
89 bool m_isLiveEdit = false; 88 bool m_isLiveEdit = false;
90 89
91 v8::Isolate* m_isolate; 90 v8::Isolate* m_isolate;
92 v8::Global<v8::DebugInterface::Script> m_script; 91 v8::Global<v8::DebugInterface::Script> m_script;
93 92
94 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript); 93 DISALLOW_COPY_AND_ASSIGN(V8DebuggerScript);
95 }; 94 };
96 95
97 } // namespace v8_inspector 96 } // namespace v8_inspector
98 97
99 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_ 98 #endif // V8_INSPECTOR_V8DEBUGGERSCRIPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698