OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } | 222 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } |
223 virtual void didEndEditingOnTextField(HTMLInputElement&) { } | 223 virtual void didEndEditingOnTextField(HTMLInputElement&) { } |
224 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } | 224 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } |
225 | 225 |
226 // Input mehtod editor related functions. | 226 // Input mehtod editor related functions. |
227 virtual void didCancelCompositionOnSelectionChange() { } | 227 virtual void didCancelCompositionOnSelectionChange() { } |
228 virtual void willSetInputMethodState() { } | 228 virtual void willSetInputMethodState() { } |
229 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 229 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
230 virtual void showImeIfNeeded() { } | 230 virtual void showImeIfNeeded() { } |
231 | 231 |
| 232 // Exposes WebViewImpl::shouldDisableDesktopWorkarounds() to blink core |
| 233 virtual bool shouldDisableDesktopWorkarounds() |
| 234 { |
| 235 // assuming document is considered optimized for mobile devices, but thi
s is implemented in WebViewImpl |
| 236 return true; |
| 237 } |
| 238 |
232 protected: | 239 protected: |
233 virtual ~ChromeClient() { } | 240 virtual ~ChromeClient() { } |
234 }; | 241 }; |
235 | 242 |
236 } // namespace blink | 243 } // namespace blink |
237 | 244 |
238 #endif // ChromeClient_h | 245 #endif // ChromeClient_h |
OLD | NEW |