OLD | NEW |
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 28 matching lines...) Expand all Loading... |
39 #include "public/platform/WebColor.h" | 39 #include "public/platform/WebColor.h" |
40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
41 | 41 |
42 namespace WebCore { | 42 namespace WebCore { |
43 class AXObject; | 43 class AXObject; |
44 class ColorChooser; | 44 class ColorChooser; |
45 class ColorChooserClient; | 45 class ColorChooserClient; |
46 class Element; | 46 class Element; |
47 class FileChooser; | 47 class FileChooser; |
48 class GraphicsLayerFactory; | 48 class GraphicsLayerFactory; |
| 49 class HTMLInputElement; |
| 50 class KeyboardEvent; |
49 class PopupContainer; | 51 class PopupContainer; |
50 class PopupMenuClient; | 52 class PopupMenuClient; |
51 class RenderBox; | 53 class RenderBox; |
52 class SecurityOrigin; | 54 class SecurityOrigin; |
53 class DateTimeChooser; | 55 class DateTimeChooser; |
54 class DateTimeChooserClient; | 56 class DateTimeChooserClient; |
55 struct WindowFeatures; | 57 struct WindowFeatures; |
56 } | 58 } |
57 | 59 |
58 namespace blink { | 60 namespace blink { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, WebCore::Document::PageDismissalType) const; | 179 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, WebCore::Document::PageDismissalType) const; |
178 | 180 |
179 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const; | 181 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const; |
180 virtual void numWheelEventHandlersChanged(unsigned); | 182 virtual void numWheelEventHandlersChanged(unsigned); |
181 | 183 |
182 virtual bool requestPointerLock(); | 184 virtual bool requestPointerLock(); |
183 virtual void requestPointerUnlock(); | 185 virtual void requestPointerUnlock(); |
184 virtual bool isPointerLocked(); | 186 virtual bool isPointerLocked(); |
185 | 187 |
186 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element>
>&) OVERRIDE; | 188 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element>
>&) OVERRIDE; |
| 189 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE; |
| 190 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE; |
| 191 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC
ore::KeyboardEvent&) OVERRIDE; |
187 | 192 |
188 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; | 193 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; |
189 virtual void willSetInputMethodState() OVERRIDE; | 194 virtual void willSetInputMethodState() OVERRIDE; |
190 | 195 |
191 private: | 196 private: |
192 virtual bool isChromeClientImpl() const OVERRIDE { return true; } | 197 virtual bool isChromeClientImpl() const OVERRIDE { return true; } |
193 | 198 |
194 WebNavigationPolicy getNavigationPolicy(); | 199 WebNavigationPolicy getNavigationPolicy(); |
195 void getPopupMenuInfo(WebCore::PopupContainer*, WebPopupMenuInfo*); | 200 void getPopupMenuInfo(WebCore::PopupContainer*, WebPopupMenuInfo*); |
196 void setCursor(const WebCursorInfo&); | 201 void setCursor(const WebCursorInfo&); |
(...skipping 25 matching lines...) Expand all Loading... |
222 | 227 |
223 inline ChromeClientImpl* toChromeClientImpl(WebCore::ChromeClient& client) | 228 inline ChromeClientImpl* toChromeClientImpl(WebCore::ChromeClient& client) |
224 { | 229 { |
225 ASSERT_WITH_SECURITY_IMPLICATION(client.isChromeClientImpl()); | 230 ASSERT_WITH_SECURITY_IMPLICATION(client.isChromeClientImpl()); |
226 return static_cast<ChromeClientImpl*>(&client); | 231 return static_cast<ChromeClientImpl*>(&client); |
227 } | 232 } |
228 | 233 |
229 } // namespace blink | 234 } // namespace blink |
230 | 235 |
231 #endif | 236 #endif |
OLD | NEW |