| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 virtual bool requestPointerLock() { return false; } | 254 virtual bool requestPointerLock() { return false; } |
| 255 virtual void requestPointerUnlock() { } | 255 virtual void requestPointerUnlock() { } |
| 256 virtual bool isPointerLocked() { return false; } | 256 virtual bool isPointerLocked() { return false; } |
| 257 | 257 |
| 258 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; | 258 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; |
| 259 | 259 |
| 260 virtual bool isEmptyChromeClient() const { return false; } | 260 virtual bool isEmptyChromeClient() const { return false; } |
| 261 virtual bool isChromeClientImpl() const { return false; } | 261 virtual bool isChromeClientImpl() const { return false; } |
| 262 | 262 |
| 263 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; | 263 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; |
| 264 virtual void didChangeValueInTextField(HTMLInputElement&) { } |
| 265 virtual void didEndEditingOnTextField(HTMLInputElement&) { } |
| 266 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } |
| 264 | 267 |
| 265 // Input mehtod editor related functions. | 268 // Input mehtod editor related functions. |
| 266 virtual void didCancelCompositionOnSelectionChange() { } | 269 virtual void didCancelCompositionOnSelectionChange() { } |
| 267 virtual void willSetInputMethodState() { } | 270 virtual void willSetInputMethodState() { } |
| 268 | 271 |
| 269 // Notifies the client of a new popup widget. The client should place | 272 // Notifies the client of a new popup widget. The client should place |
| 270 // and size the widget with the given bounds, relative to the screen. | 273 // and size the widget with the given bounds, relative to the screen. |
| 271 // If handleExternal is true, then drawing and input handling for the | 274 // If handleExternal is true, then drawing and input handling for the |
| 272 // popup will be handled by the external embedder. | 275 // popup will be handled by the external embedder. |
| 273 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun
ds, | 276 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun
ds, |
| 274 bool handleExternal) = 0; | 277 bool handleExternal) = 0; |
| 275 | 278 |
| 276 // Notifies the client a popup was closed. | 279 // Notifies the client a popup was closed. |
| 277 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 280 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
| 278 | 281 |
| 279 protected: | 282 protected: |
| 280 virtual ~ChromeClient() { } | 283 virtual ~ChromeClient() { } |
| 281 }; | 284 }; |
| 282 | 285 |
| 283 } | 286 } |
| 284 #endif // ChromeClient_h | 287 #endif // ChromeClient_h |
| OLD | NEW |