| 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 "config.h" | 11 #include "config.h" |
| 12 #include <map> | 12 #include <map> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 | 16 |
| 17 MSVC_PUSH_WARNING_LEVEL(0); | 17 MSVC_PUSH_WARNING_LEVEL(0); |
| 18 #include "HTMLBodyElement.h" | 18 #include "HTMLBodyElement.h" |
| 19 #include "EventListener.h" | 19 #include "EventListener.h" |
| 20 #include "HTMLInputElement.h" | 20 #include "HTMLInputElement.h" |
| 21 MSVC_POP_WARNING(); | 21 MSVC_POP_WARNING(); |
| 22 | 22 |
| 23 #include "base/basictypes.h" | 23 #include "base/basictypes.h" |
| 24 #include "base/scoped_ptr.h" | |
| 25 | 24 |
| 26 namespace WebCore { | 25 namespace WebCore { |
| 27 class AtomicString; | 26 class AtomicString; |
| 28 class Event; | 27 class Event; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace webkit_glue { | 30 namespace webkit_glue { |
| 32 | 31 |
| 33 // A proxy interface to a WebCore::HTMLInputElement for inline autocomplete. | 32 // A proxy interface to a WebCore::HTMLInputElement for inline autocomplete. |
| 34 // This class is NOT used directly by the AutocompleteInputListener but | 33 // This class is NOT used directly by the AutocompleteInputListener but |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 typedef std::map<RefPtr<WebCore::HTMLInputElement>, InputElementInfo, | 189 typedef std::map<RefPtr<WebCore::HTMLInputElement>, InputElementInfo, |
| 191 CmpRefPtrs> InputElementInfoMap; | 190 CmpRefPtrs> InputElementInfoMap; |
| 192 InputElementInfoMap elements_info_; | 191 InputElementInfoMap elements_info_; |
| 193 | 192 |
| 194 DISALLOW_COPY_AND_ASSIGN(AutocompleteBodyListener); | 193 DISALLOW_COPY_AND_ASSIGN(AutocompleteBodyListener); |
| 195 }; | 194 }; |
| 196 | 195 |
| 197 } // webkit_glue | 196 } // webkit_glue |
| 198 | 197 |
| 199 #endif // WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ | 198 #endif // WEBKIT_GLUE_AUTOCOMPLETE_INPUT_LISTENER_H__ |
| OLD | NEW |