Chromium Code Reviews| 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 bool doTextFieldCommandFromEvent(HTMLInputElement*, KeyboardEvent*) { return false; } | |
|
tkent
2013/11/15 08:18:06
nit:
The return value is not used. This can be voi
yosin_UTC9
2013/11/15 11:06:01
Done.
| |
| 265 virtual void textDidChangeInTextField(HTMLInputElement*) { } | |
| 266 virtual void textFieldDidEndEditing(HTMLInputElement*) { } | |
| 264 | 267 |
| 265 // Notifies the client of a new popup widget. The client should place | 268 // Notifies the client of a new popup widget. The client should place |
| 266 // and size the widget with the given bounds, relative to the screen. | 269 // and size the widget with the given bounds, relative to the screen. |
| 267 // If handleExternal is true, then drawing and input handling for the | 270 // If handleExternal is true, then drawing and input handling for the |
| 268 // popup will be handled by the external embedder. | 271 // popup will be handled by the external embedder. |
| 269 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, | 272 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, |
| 270 bool handleExternal) = 0; | 273 bool handleExternal) = 0; |
| 271 | 274 |
| 272 // Notifies the client a popup was closed. | 275 // Notifies the client a popup was closed. |
| 273 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 276 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
| 274 | 277 |
| 275 protected: | 278 protected: |
| 276 virtual ~ChromeClient() { } | 279 virtual ~ChromeClient() { } |
| 277 }; | 280 }; |
| 278 | 281 |
| 279 } | 282 } |
| 280 #endif // ChromeClient_h | 283 #endif // ChromeClient_h |
| OLD | NEW |