| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "core/platform/PopupMenuClient.h" | 34 #include "core/platform/PopupMenuClient.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 class FontSelector; | 37 class FontSelector; |
| 38 class HTMLInputElement; | 38 class HTMLInputElement; |
| 39 class PopupMenuStyle; | 39 class PopupMenuStyle; |
| 40 class RenderStyle; | 40 class RenderStyle; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace WebKit { | 43 namespace blink { |
| 44 class WebString; | 44 class WebString; |
| 45 class WebViewImpl; | 45 class WebViewImpl; |
| 46 template <typename T> class WebVector; | 46 template <typename T> class WebVector; |
| 47 | 47 |
| 48 // The Autofill suggestions popup menu client, used to display name suggestions | 48 // The Autofill suggestions popup menu client, used to display name suggestions |
| 49 // with right-justified labels. | 49 // with right-justified labels. |
| 50 class AutofillPopupMenuClient : public WebCore::PopupMenuClient { | 50 class AutofillPopupMenuClient : public WebCore::PopupMenuClient { |
| 51 public: | 51 public: |
| 52 AutofillPopupMenuClient(); | 52 AutofillPopupMenuClient(); |
| 53 virtual ~AutofillPopupMenuClient(); | 53 virtual ~AutofillPopupMenuClient(); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 int m_selectedIndex; | 133 int m_selectedIndex; |
| 134 | 134 |
| 135 RefPtr<WebCore::HTMLInputElement> m_textField; | 135 RefPtr<WebCore::HTMLInputElement> m_textField; |
| 136 OwnPtr<WebCore::PopupMenuStyle> m_regularStyle; | 136 OwnPtr<WebCore::PopupMenuStyle> m_regularStyle; |
| 137 OwnPtr<WebCore::PopupMenuStyle> m_warningStyle; | 137 OwnPtr<WebCore::PopupMenuStyle> m_warningStyle; |
| 138 | 138 |
| 139 // Use legacy behavior while the chromium side hasn't been updated. | 139 // Use legacy behavior while the chromium side hasn't been updated. |
| 140 bool m_useLegacyBehavior; | 140 bool m_useLegacyBehavior; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace WebKit | 143 } // namespace blink |
| 144 | 144 |
| 145 #endif | 145 #endif |
| OLD | NEW |