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

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

Issue 133443011: Add text field change handling for autofill preview in textarea element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update documentation as per tkent's review comments Created 6 years, 9 months 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 30 matching lines...) Expand all
41 #include "wtf/PassOwnPtr.h" 41 #include "wtf/PassOwnPtr.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 class AXObject; 44 class AXObject;
45 class ColorChooser; 45 class ColorChooser;
46 class ColorChooserClient; 46 class ColorChooserClient;
47 class Element; 47 class Element;
48 class Event; 48 class Event;
49 class FileChooser; 49 class FileChooser;
50 class GraphicsLayerFactory; 50 class GraphicsLayerFactory;
51 class HTMLFormControlElement;
51 class HTMLInputElement; 52 class HTMLInputElement;
52 class KeyboardEvent; 53 class KeyboardEvent;
53 class PopupMenuClient; 54 class PopupMenuClient;
54 class RenderBox; 55 class RenderBox;
55 class SecurityOrigin; 56 class SecurityOrigin;
56 class DateTimeChooser; 57 class DateTimeChooser;
57 class DateTimeChooserClient; 58 class DateTimeChooserClient;
58 struct WindowFeatures; 59 struct WindowFeatures;
59 } 60 }
60 61
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 170
170 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, WebCore::Document::PageDismissalType) const OVERRIDE; 171 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, WebCore::Document::PageDismissalType) const OVERRIDE;
171 172
172 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE; 173 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE;
173 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE; 174 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE;
174 175
175 virtual bool requestPointerLock() OVERRIDE; 176 virtual bool requestPointerLock() OVERRIDE;
176 virtual void requestPointerUnlock() OVERRIDE; 177 virtual void requestPointerUnlock() OVERRIDE;
177 178
178 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE; 179 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE;
180 // FIXME: This function is to be removed once both chromium and blink change s
181 // for BUG332557 are in.
179 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE; 182 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE;
183 virtual void didChangeValueInTextField(WebCore::HTMLFormControlElement&) OVE RRIDE;
180 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE; 184 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE;
181 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE; 185 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE;
182 186
183 // FIXME: Remove this method once we have input routing in the browser 187 // FIXME: Remove this method once we have input routing in the browser
184 // process. See http://crbug.com/339659. 188 // process. See http://crbug.com/339659.
185 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) OVERRIDE ; 189 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) OVERRIDE ;
186 190
187 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; 191 virtual void didCancelCompositionOnSelectionChange() OVERRIDE;
188 virtual void willSetInputMethodState() OVERRIDE; 192 virtual void willSetInputMethodState() OVERRIDE;
189 193
(...skipping 26 matching lines...) Expand all
216 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 220 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
217 221
218 WebViewImpl* m_webView; 222 WebViewImpl* m_webView;
219 }; 223 };
220 224
221 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 225 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
222 226
223 } // namespace blink 227 } // namespace blink
224 228
225 #endif 229 #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