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

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 code as per review comments from tkent and jamesr 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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 171
171 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, WebCore::Document::PageDismissalType) const OVERRIDE; 172 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons t String& dialogMessage, WebCore::Document::PageDismissalType) const OVERRIDE;
172 173
173 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE; 174 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const OVE RRIDE;
174 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE; 175 virtual void numWheelEventHandlersChanged(unsigned) OVERRIDE;
175 176
176 virtual bool requestPointerLock() OVERRIDE; 177 virtual bool requestPointerLock() OVERRIDE;
177 virtual void requestPointerUnlock() OVERRIDE; 178 virtual void requestPointerUnlock() OVERRIDE;
178 179
179 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE; 180 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE;
180 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE; 181 virtual void didChangeValueInTextField(WebCore::HTMLFormControlElement&) OVE RRIDE;
181 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE; 182 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE;
182 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE; 183 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE;
183 184
184 // FIXME: Remove this method once we have input routing in the browser 185 // FIXME: Remove this method once we have input routing in the browser
185 // process. See http://crbug.com/339659. 186 // process. See http://crbug.com/339659.
186 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) OVERRIDE ; 187 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) OVERRIDE ;
187 188
188 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; 189 virtual void didCancelCompositionOnSelectionChange() OVERRIDE;
189 virtual void willSetInputMethodState() OVERRIDE; 190 virtual void willSetInputMethodState() OVERRIDE;
190 191
(...skipping 26 matching lines...) Expand all
217 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 218 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
218 219
219 WebViewImpl* m_webView; 220 WebViewImpl* m_webView;
220 }; 221 };
221 222
222 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 223 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
223 224
224 } // namespace blink 225 } // namespace blink
225 226
226 #endif 227 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698