| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 // Changes the text direction of the selected input node. | 202 // Changes the text direction of the selected input node. |
| 203 virtual void setTextDirection(WebTextDirection) { } | 203 virtual void setTextDirection(WebTextDirection) { } |
| 204 | 204 |
| 205 // Returns true if the WebWidget uses GPU accelerated compositing | 205 // Returns true if the WebWidget uses GPU accelerated compositing |
| 206 // to render its contents. | 206 // to render its contents. |
| 207 virtual bool isAcceleratedCompositingActive() const { return false; } | 207 virtual bool isAcceleratedCompositingActive() const { return false; } |
| 208 | 208 |
| 209 // Returns true if the WebWidget created is of type WebView. | 209 // Returns true if the WebWidget created is of type WebView. |
| 210 virtual bool isWebView() const { return false; } | 210 virtual bool isWebView() const { return false; } |
| 211 |
| 212 // Returns true if the WebWidget created is of type WebFrameWidget. |
| 213 virtual bool isWebFrameWidget() const { return false; } |
| 214 |
| 211 // Returns true if the WebWidget created is of type WebPagePopup. | 215 // Returns true if the WebWidget created is of type WebPagePopup. |
| 212 virtual bool isPagePopup() const { return false; } | 216 virtual bool isPagePopup() const { return false; } |
| 213 | 217 |
| 214 // The WebLayerTreeView initialized on this WebWidgetClient will be going aw
ay and | 218 // The WebLayerTreeView initialized on this WebWidgetClient will be going aw
ay and |
| 215 // is no longer safe to access. | 219 // is no longer safe to access. |
| 216 virtual void willCloseLayerTreeView() { } | 220 virtual void willCloseLayerTreeView() { } |
| 217 | 221 |
| 218 // Calling WebWidgetClient::requestPointerLock() will result in one | 222 // Calling WebWidgetClient::requestPointerLock() will result in one |
| 219 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). | 223 // return call to didAcquirePointerLock() or didNotAcquirePointerLock(). |
| 220 virtual void didAcquirePointerLock() { } | 224 virtual void didAcquirePointerLock() { } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 251 // Applies the range from |start| to |start + length| on the foucsed frame s
o that the text will later be replaced. | 255 // Applies the range from |start| to |start + length| on the foucsed frame s
o that the text will later be replaced. |
| 252 virtual void applyReplacementRange(int start, int length) {} | 256 virtual void applyReplacementRange(int start, int length) {} |
| 253 | 257 |
| 254 protected: | 258 protected: |
| 255 ~WebWidget() { } | 259 ~WebWidget() { } |
| 256 }; | 260 }; |
| 257 | 261 |
| 258 } // namespace blink | 262 } // namespace blink |
| 259 | 263 |
| 260 #endif | 264 #endif |
| OLD | NEW |