| 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef SecureTextInput_h | 31 #ifndef SecureTextInput_h |
| 32 #define SecureTextInput_h | 32 #define SecureTextInput_h |
| 33 | 33 |
| 34 namespace WebCore { | 34 namespace WebCore { |
| 35 | 35 |
| 36 // Once enableSecureTextInput is called, secure text input mode is set until | 36 // Once enableSecureTextInput is called, secure text input mode is set until |
| 37 // disableSecureTextInput has been called. | 37 // disableSecureTextInput has been called. |
| 38 void enableSecureTextInput(); | 38 void enableSecureTextInput(); |
| 39 void disableSecureTextInput(); | 39 void disableSecureTextInput(); |
| 40 | 40 |
| 41 #if !OS(DARWIN) | 41 #if !OS(MACOSX) |
| 42 inline void enableSecureTextInput() { } | 42 inline void enableSecureTextInput() { } |
| 43 inline void disableSecureTextInput() { } | 43 inline void disableSecureTextInput() { } |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 } // namespace WebCore | 46 } // namespace WebCore |
| 47 | 47 |
| 48 #endif // SecureTextInput_h | 48 #endif // SecureTextInput_h |
| OLD | NEW |