| 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; | |
| 60 virtual void DocumentDetached(const Document&) = 0; | 59 virtual void DocumentDetached(const Document&) = 0; |
| 61 | 60 |
| 62 virtual void WillBeDestroyed() = 0; | 61 virtual void WillBeDestroyed() = 0; |
| 63 | 62 |
| 64 DEFINE_INLINE_VIRTUAL_TRACE() {} | 63 DEFINE_INLINE_VIRTUAL_TRACE() {} |
| 65 }; | 64 }; |
| 66 | 65 |
| 67 } // namespace blink | 66 } // namespace blink |
| 68 | 67 |
| 69 #endif | 68 #endif |
| OLD | NEW |