OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 30 matching lines...) Expand all Loading... | |
41 LevelLog = 1, | 41 LevelLog = 1, |
42 LevelInfo = 5, | 42 LevelInfo = 5, |
43 LevelWarning = 2, | 43 LevelWarning = 2, |
44 LevelError = 3, | 44 LevelError = 3, |
45 LevelRevokedError = 6, | 45 LevelRevokedError = 6, |
46 LevelLast = LevelInfo | 46 LevelLast = LevelInfo |
47 }; | 47 }; |
48 | 48 |
49 Level level; | 49 Level level; |
50 WebString text; | 50 WebString text; |
51 WebString url; | |
51 | 52 |
52 WebConsoleMessage() | 53 WebConsoleMessage() |
53 : level(LevelLog) { } | 54 : level(LevelLog) { } |
54 WebConsoleMessage(Level level, const WebString& text) | 55 WebConsoleMessage(Level level, const WebString& text) |
55 : level(level) | 56 : level(level) |
56 , text(text) { } | 57 , text(text) { } |
58 WebConsoleMessage(Level level, const WebString& text, const WebString& url) | |
59 : level(level) | |
60 , text(text) | |
61 , url(url) { } | |
pfeldman
2016/01/08 01:54:06
You also want the line and column numbers here.
| |
57 }; | 62 }; |
58 | 63 |
59 } // namespace blink | 64 } // namespace blink |
60 | 65 |
61 #endif | 66 #endif |
OLD | NEW |