Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 private: | 127 private: |
| 128 InputFieldSpeechButtonElement(Document&); | 128 InputFieldSpeechButtonElement(Document&); |
| 129 SpeechInput* speechInput(); | 129 SpeechInput* speechInput(); |
| 130 void setState(SpeechInputState state); | 130 void setState(SpeechInputState state); |
| 131 virtual bool isMouseFocusable() const OVERRIDE { return false; } | 131 virtual bool isMouseFocusable() const OVERRIDE { return false; } |
| 132 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 132 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 133 | 133 |
| 134 bool m_capturing; | 134 bool m_capturing; |
| 135 SpeechInputState m_state; | 135 SpeechInputState m_state; |
| 136 int m_listenerId; | 136 int m_listenerId; |
| 137 SpeechInputResultArray m_results; | 137 PersistentSpeechInputResultArray m_results; |
|
Mads Ager (chromium)
2014/02/26 09:38:41
WillBePersistentSpeechInputResultArray to make it
haraken
2014/02/26 09:43:15
I slightly disagree. We've not used "WillBe" for t
Mads Ager (chromium)
2014/02/26 09:49:06
In this particular case, having Persistent in the
| |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 DEFINE_TYPE_CASTS(InputFieldSpeechButtonElement, Element, element, element->isIn putFieldSpeechButtonElement(), element.isInputFieldSpeechButtonElement()); | 140 DEFINE_TYPE_CASTS(InputFieldSpeechButtonElement, Element, element, element->isIn putFieldSpeechButtonElement(), element.isInputFieldSpeechButtonElement()); |
| 141 | 141 |
| 142 #endif // ENABLE(INPUT_SPEECH) | 142 #endif // ENABLE(INPUT_SPEECH) |
| 143 | 143 |
| 144 } // namespace | 144 } // namespace |
| 145 | 145 |
| 146 #endif | 146 #endif |
| OLD | NEW |