OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 | 437 |
438 // Called to inform the WebView that a wheel fling animation was started ext
ernally (for instance | 438 // Called to inform the WebView that a wheel fling animation was started ext
ernally (for instance |
439 // by the compositor) but must be completed by the WebView. | 439 // by the compositor) but must be completed by the WebView. |
440 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&) = 0; | 440 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&) = 0; |
441 | 441 |
442 // Cancels an active fling, returning true if a fling was active. | 442 // Cancels an active fling, returning true if a fling was active. |
443 virtual bool endActiveFlingAnimation() = 0; | 443 virtual bool endActiveFlingAnimation() = 0; |
444 | 444 |
445 virtual void setShowPaintRects(bool) = 0; | 445 virtual void setShowPaintRects(bool) = 0; |
446 virtual void setShowFPSCounter(bool) = 0; | 446 virtual void setShowFPSCounter(bool) = 0; |
447 virtual void setContinuousPaintingEnabled(bool) = 0; | |
448 virtual void setShowScrollBottleneckRects(bool) = 0; | 447 virtual void setShowScrollBottleneckRects(bool) = 0; |
449 | 448 |
450 // Visibility ----------------------------------------------------------- | 449 // Visibility ----------------------------------------------------------- |
451 | 450 |
452 // Sets the visibility of the WebView. | 451 // Sets the visibility of the WebView. |
453 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 452 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
454 bool isInitialState) { } | 453 bool isInitialState) { } |
455 | 454 |
456 // PageOverlay ---------------------------------------------------------- | 455 // PageOverlay ---------------------------------------------------------- |
457 | 456 |
(...skipping 18 matching lines...) Expand all Loading... |
476 // context's ability to deal with that failure gracefully can be tested. | 475 // context's ability to deal with that failure gracefully can be tested. |
477 virtual void forceNextDrawingBufferCreationToFail() = 0; | 476 virtual void forceNextDrawingBufferCreationToFail() = 0; |
478 | 477 |
479 protected: | 478 protected: |
480 ~WebView() {} | 479 ~WebView() {} |
481 }; | 480 }; |
482 | 481 |
483 } // namespace blink | 482 } // namespace blink |
484 | 483 |
485 #endif | 484 #endif |
OLD | NEW |