| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 21 matching lines...) Expand all Loading... |
| 32 #define WebTextCheckingResult_h | 32 #define WebTextCheckingResult_h |
| 33 | 33 |
| 34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
| 35 #include "../platform/WebString.h" | 35 #include "../platform/WebString.h" |
| 36 #include "WebTextDecorationType.h" | 36 #include "WebTextDecorationType.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 struct TextCheckingResult; | 39 struct TextCheckingResult; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace WebKit { | 42 namespace blink { |
| 43 | 43 |
| 44 // A checked entry of text checking. | 44 // A checked entry of text checking. |
| 45 struct WebTextCheckingResult { | 45 struct WebTextCheckingResult { |
| 46 WebTextCheckingResult() | 46 WebTextCheckingResult() |
| 47 : decoration(WebTextDecorationTypeSpelling) | 47 : decoration(WebTextDecorationTypeSpelling) |
| 48 , location(0) | 48 , location(0) |
| 49 , length(0) | 49 , length(0) |
| 50 , hash(0) | 50 , hash(0) |
| 51 { | 51 { |
| 52 } | 52 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 64 operator WebCore::TextCheckingResult() const; | 64 operator WebCore::TextCheckingResult() const; |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 WebTextDecorationType decoration; | 67 WebTextDecorationType decoration; |
| 68 int location; | 68 int location; |
| 69 int length; | 69 int length; |
| 70 WebString replacement; | 70 WebString replacement; |
| 71 uint32_t hash; | 71 uint32_t hash; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace WebKit | 74 } // namespace blink |
| 75 | 75 |
| 76 #endif | 76 #endif |
| OLD | NEW |