Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 799893004: [Attempt 2] Inform Chrome client of changes to an input's datalist. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 virtual void requestPointerUnlock() override; 163 virtual void requestPointerUnlock() override;
164 164
165 virtual bool shouldDisableDesktopWorkarounds() override; 165 virtual bool shouldDisableDesktopWorkarounds() override;
166 166
167 // AutofillClient pass throughs: 167 // AutofillClient pass throughs:
168 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&, LocalFrame*) override; 168 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem ber<Element> >&, LocalFrame*) override;
169 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) override; 169 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent &) override;
170 virtual void didChangeValueInTextField(HTMLFormControlElement&) override; 170 virtual void didChangeValueInTextField(HTMLFormControlElement&) override;
171 virtual void didEndEditingOnTextField(HTMLInputElement&) override; 171 virtual void didEndEditingOnTextField(HTMLInputElement&) override;
172 virtual void openTextDataListChooser(HTMLInputElement&) override; 172 virtual void openTextDataListChooser(HTMLInputElement&) override;
173 virtual void textFieldDataListChanged(HTMLInputElement&) override;
173 174
174 virtual void didCancelCompositionOnSelectionChange() override; 175 virtual void didCancelCompositionOnSelectionChange() override;
175 virtual void willSetInputMethodState() override; 176 virtual void willSetInputMethodState() override;
176 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; 177 virtual void didUpdateTextOfFocusedElementByNonUserInput() override;
177 virtual void showImeIfNeeded() override; 178 virtual void showImeIfNeeded() override;
178 179
179 private: 180 private:
180 virtual bool isChromeClientImpl() const override { return true; } 181 virtual bool isChromeClientImpl() const override { return true; }
181 182
182 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&); 183 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&);
183 void setCursor(const WebCursorInfo&); 184 void setCursor(const WebCursorInfo&);
184 185
185 WebViewImpl* m_webView; // weak pointer 186 WebViewImpl* m_webView; // weak pointer
186 WindowFeatures m_windowFeatures; 187 WindowFeatures m_windowFeatures;
187 188
188 PagePopupDriver* m_pagePopupDriver; 189 PagePopupDriver* m_pagePopupDriver;
189 }; 190 };
190 191
191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 192 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
192 193
193 } // namespace blink 194 } // namespace blink
194 195
195 #endif 196 #endif
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698