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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
260 // Notifies the client of a new popup widget. The client should place | 260 // Notifies the client of a new popup widget. The client should place |
261 // and size the widget with the given bounds, relative to the screen. | 261 // and size the widget with the given bounds, relative to the screen. |
262 // If handleExternal is true, then drawing and input handling for the | 262 // If handleExternal is true, then drawing and input handling for the |
263 // popup will be handled by the external embedder. | 263 // popup will be handled by the external embedder. |
264 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, | 264 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun ds, |
265 bool handleExternal) = 0; | 265 bool handleExternal) = 0; |
266 | 266 |
267 // Notifies the client a popup was closed. | 267 // Notifies the client a popup was closed. |
268 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 268 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
269 | 269 |
270 virtual float minimumPageScaleFactor() const = 0; | |
Rick Byers
2014/02/14 21:27:53
did aelias@ suggest exposing both of these? I was
bokan
2014/02/18 19:59:57
I think these should instead be isPinchZoomable()
| |
271 virtual float maximumPageScaleFactor() const = 0; | |
272 | |
270 protected: | 273 protected: |
271 virtual ~ChromeClient() { } | 274 virtual ~ChromeClient() { } |
272 }; | 275 }; |
273 | 276 |
274 } | 277 } |
275 #endif // ChromeClient_h | 278 #endif // ChromeClient_h |
OLD | NEW |