| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 Level level; | 47 Level level; |
| 48 WebString text; | 48 WebString text; |
| 49 WebString url; | 49 WebString url; |
| 50 unsigned lineNumber; | 50 unsigned lineNumber; |
| 51 unsigned columnNumber; | 51 unsigned columnNumber; |
| 52 | 52 |
| 53 WebConsoleMessage() : level(LevelInfo), lineNumber(0), columnNumber(0) {} | 53 WebConsoleMessage() : level(LevelInfo), lineNumber(0), columnNumber(0) {} |
| 54 WebConsoleMessage(Level level, const WebString& text) | 54 WebConsoleMessage(Level level, const WebString& text) |
| 55 : level(level), text(text), lineNumber(0), columnNumber(0) {} | 55 : level(level), text(text), lineNumber(0), columnNumber(0) {} |
| 56 WebConsoleMessage(Level level, |
| 57 const WebString& text, |
| 58 const WebString url, |
| 59 unsigned lineNumber, |
| 60 unsigned columnNumber) |
| 61 : level(level), |
| 62 text(text), |
| 63 url(url), |
| 64 lineNumber(lineNumber), |
| 65 columnNumber(columnNumber) {} |
| 56 }; | 66 }; |
| 57 | 67 |
| 58 } // namespace blink | 68 } // namespace blink |
| 59 | 69 |
| 60 #endif | 70 #endif |
| OLD | NEW |