OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file defines some infrastructure to handle inline autocomplete of DOM | 5 // This file defines some infrastructure to handle inline autocomplete of DOM |
6 // input elements. | 6 // input elements. |
7 | 7 |
8 #ifndef WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ | 8 #ifndef WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ |
9 #define WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ | 9 #define WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include "config.h" | 12 #include "config.h" |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 | 15 |
16 MSVC_PUSH_WARNING_LEVEL(0); | 16 MSVC_PUSH_WARNING_LEVEL(0); |
17 #include "EventListener.h" | 17 #include "EventListener.h" |
18 MSVC_POP_WARNING(); | 18 MSVC_POP_WARNING(); |
19 #undef LOG | |
20 | 19 |
21 #include "base/basictypes.h" | 20 #include "base/basictypes.h" |
22 #include "base/scoped_ptr.h" | 21 #include "base/scoped_ptr.h" |
23 | 22 |
24 namespace WebCore { | 23 namespace WebCore { |
25 class AtomicString; | 24 class AtomicString; |
26 class Event; | 25 class Event; |
27 class HTMLInputElement; | 26 class HTMLInputElement; |
28 } | 27 } |
29 | 28 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // FrameLoader::stopLoading. Also, there is no need for matching calls to | 209 // FrameLoader::stopLoading. Also, there is no need for matching calls to |
211 // removeEventListener because the simplest and most convienient thing to do | 210 // removeEventListener because the simplest and most convienient thing to do |
212 // for autocompletion is to stop listening once the element is destroyed. | 211 // for autocompletion is to stop listening once the element is destroyed. |
213 void AttachForInlineAutocomplete(WebCore::HTMLInputElement* target, | 212 void AttachForInlineAutocomplete(WebCore::HTMLInputElement* target, |
214 AutocompleteInputListener* listener); | 213 AutocompleteInputListener* listener); |
215 | 214 |
216 } // webkit_glue | 215 } // webkit_glue |
217 | 216 |
218 #endif // WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ | 217 #endif // WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ |
219 | 218 |
OLD | NEW |