| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // on failure. | 213 // on failure. |
| 214 virtual bool caretOrSelectionRange(size_t* location, size_t* length) { retur
n false; } | 214 virtual bool caretOrSelectionRange(size_t* location, size_t* length) { retur
n false; } |
| 215 | 215 |
| 216 // Changes the text direction of the selected input node. | 216 // Changes the text direction of the selected input node. |
| 217 virtual void setTextDirection(WebTextDirection) { } | 217 virtual void setTextDirection(WebTextDirection) { } |
| 218 | 218 |
| 219 // Returns true if the WebWidget uses GPU accelerated compositing | 219 // Returns true if the WebWidget uses GPU accelerated compositing |
| 220 // to render its contents. | 220 // to render its contents. |
| 221 virtual bool isAcceleratedCompositingActive() const { return false; } | 221 virtual bool isAcceleratedCompositingActive() const { return false; } |
| 222 | 222 |
| 223 // Returns true if the WebWidget created is of type WebPagePopup. |
| 224 virtual bool isPagePopup() const { return false; } |
| 225 // Returns true if the WebWidget created is of type WebPopupMenu. |
| 226 virtual bool isPopupMenu() const { return false; } |
| 227 // Returns true if the WebWidget created is of type WebHelperPlugin. |
| 228 virtual bool isHelperPlugin() const { return false; } |
| 229 |
| 223 // The WebLayerTreeView initialized on this WebWidgetClient will be going aw
ay and | 230 // The WebLayerTreeView initialized on this WebWidgetClient will be going aw
ay and |
| 224 // is no longer safe to access. | 231 // is no longer safe to access. |
| 225 virtual void willCloseLayerTreeView() { } | 232 virtual void willCloseLayerTreeView() { } |
| 226 | 233 |
| 227 // Calling WebWidgetClient::requestPointerLock() will result in one | 234 // Calling WebWidgetClient::requestPointerLock() will result in one |
| 228 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). | 235 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). |
| 229 virtual void didAcquirePointerLock() { } | 236 virtual void didAcquirePointerLock() { } |
| 230 virtual void didNotAcquirePointerLock() { } | 237 virtual void didNotAcquirePointerLock() { } |
| 231 | 238 |
| 232 // Pointer lock was held, but has been lost. This may be due to a | 239 // Pointer lock was held, but has been lost. This may be due to a |
| (...skipping 11 matching lines...) Expand all Loading... |
| 244 // content. | 251 // content. |
| 245 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } | 252 virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHI
TE */ } |
| 246 | 253 |
| 247 protected: | 254 protected: |
| 248 ~WebWidget() { } | 255 ~WebWidget() { } |
| 249 }; | 256 }; |
| 250 | 257 |
| 251 } // namespace WebKit | 258 } // namespace WebKit |
| 252 | 259 |
| 253 #endif | 260 #endif |
| OLD | NEW |