OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 TextDirection) = 0; | 49 TextDirection) = 0; |
50 | 50 |
51 // Hide validation message for the specified anchor if the message for the | 51 // Hide validation message for the specified anchor if the message for the |
52 // anchor is already visible. | 52 // anchor is already visible. |
53 virtual void hideValidationMessage(const Element& anchor) = 0; | 53 virtual void hideValidationMessage(const Element& anchor) = 0; |
54 | 54 |
55 // Returns true if the validation message for the specified anchor element | 55 // Returns true if the validation message for the specified anchor element |
56 // is visible. | 56 // is visible. |
57 virtual bool isValidationMessageVisible(const Element& anchor) = 0; | 57 virtual bool isValidationMessageVisible(const Element& anchor) = 0; |
58 | 58 |
| 59 virtual void willUnloadDocument(const Document&) = 0; |
59 virtual void documentDetached(const Document&) = 0; | 60 virtual void documentDetached(const Document&) = 0; |
60 | 61 |
61 virtual void willBeDestroyed() = 0; | 62 virtual void willBeDestroyed() = 0; |
62 | 63 |
63 DEFINE_INLINE_VIRTUAL_TRACE() {} | 64 DEFINE_INLINE_VIRTUAL_TRACE() {} |
64 }; | 65 }; |
65 | 66 |
66 } // namespace blink | 67 } // namespace blink |
67 | 68 |
68 #endif | 69 #endif |
OLD | NEW |