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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 class WebHitTestResult; | 53 class WebHitTestResult; |
54 class WebLocalFrame; | 54 class WebLocalFrame; |
55 class WebPageImportanceSignals; | 55 class WebPageImportanceSignals; |
56 class WebPageOverlay; | 56 class WebPageOverlay; |
57 class WebPrerendererClient; | 57 class WebPrerendererClient; |
58 class WebRemoteFrame; | 58 class WebRemoteFrame; |
59 class WebSettings; | 59 class WebSettings; |
60 class WebSpellCheckClient; | 60 class WebSpellCheckClient; |
61 class WebString; | 61 class WebString; |
62 class WebViewClient; | 62 class WebViewClient; |
| 63 class WebViewScheduler; |
63 struct WebActiveWheelFlingParameters; | 64 struct WebActiveWheelFlingParameters; |
64 struct WebDeviceEmulationParams; | 65 struct WebDeviceEmulationParams; |
65 struct WebFloatPoint; | 66 struct WebFloatPoint; |
66 struct WebMediaPlayerAction; | 67 struct WebMediaPlayerAction; |
67 struct WebPluginAction; | 68 struct WebPluginAction; |
68 struct WebPoint; | 69 struct WebPoint; |
69 struct WebWindowFeatures; | 70 struct WebWindowFeatures; |
70 | 71 |
71 class WebView : public WebWidget { | 72 class WebView : public WebWidget { |
72 public: | 73 public: |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 // by the compositor) but must be completed by the WebView. | 445 // by the compositor) but must be completed by the WebView. |
445 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&) = 0; | 446 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara
meters&) = 0; |
446 | 447 |
447 // Cancels an active fling, returning true if a fling was active. | 448 // Cancels an active fling, returning true if a fling was active. |
448 virtual bool endActiveFlingAnimation() = 0; | 449 virtual bool endActiveFlingAnimation() = 0; |
449 | 450 |
450 virtual void setShowPaintRects(bool) = 0; | 451 virtual void setShowPaintRects(bool) = 0; |
451 virtual void setShowFPSCounter(bool) = 0; | 452 virtual void setShowFPSCounter(bool) = 0; |
452 virtual void setShowScrollBottleneckRects(bool) = 0; | 453 virtual void setShowScrollBottleneckRects(bool) = 0; |
453 | 454 |
| 455 // Scheduling ----------------------------------------------------------- |
| 456 |
| 457 virtual WebViewScheduler* scheduler() const = 0; |
| 458 |
454 // Visibility ----------------------------------------------------------- | 459 // Visibility ----------------------------------------------------------- |
455 | 460 |
456 // Sets the visibility of the WebView. | 461 // Sets the visibility of the WebView. |
457 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 462 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
458 bool isInitialState) { } | 463 bool isInitialState) { } |
459 | 464 |
460 // Graphics ------------------------------------------------------------- | 465 // Graphics ------------------------------------------------------------- |
461 | 466 |
462 virtual WebCompositedDisplayList* compositedDisplayList() { return nullptr;
} | 467 virtual WebCompositedDisplayList* compositedDisplayList() { return nullptr;
} |
463 | 468 |
(...skipping 23 matching lines...) Expand all Loading... |
487 // context's ability to deal with that failure gracefully can be tested. | 492 // context's ability to deal with that failure gracefully can be tested. |
488 virtual void forceNextDrawingBufferCreationToFail() = 0; | 493 virtual void forceNextDrawingBufferCreationToFail() = 0; |
489 | 494 |
490 protected: | 495 protected: |
491 ~WebView() {} | 496 ~WebView() {} |
492 }; | 497 }; |
493 | 498 |
494 } // namespace blink | 499 } // namespace blink |
495 | 500 |
496 #endif | 501 #endif |
OLD | NEW |