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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Returns true if there's an active fling animation. | 451 // Returns true if there's an active fling animation. |
451 virtual bool isFlinging() const = 0; | 452 virtual bool isFlinging() const = 0; |
452 | 453 |
453 virtual void setShowPaintRects(bool) = 0; | 454 virtual void setShowPaintRects(bool) = 0; |
454 virtual void setShowFPSCounter(bool) = 0; | 455 virtual void setShowFPSCounter(bool) = 0; |
455 virtual void setShowScrollBottleneckRects(bool) = 0; | 456 virtual void setShowScrollBottleneckRects(bool) = 0; |
456 | 457 |
| 458 // Scheduling ----------------------------------------------------------- |
| 459 |
| 460 virtual WebViewScheduler* scheduler() const = 0; |
| 461 |
457 // Visibility ----------------------------------------------------------- | 462 // Visibility ----------------------------------------------------------- |
458 | 463 |
459 // Sets the visibility of the WebView. | 464 // Sets the visibility of the WebView. |
460 virtual void setVisibilityState(WebPageVisibilityState visibilityState, | 465 virtual void setVisibilityState(WebPageVisibilityState visibilityState, |
461 bool isInitialState) { } | 466 bool isInitialState) { } |
462 | 467 |
463 // Graphics ------------------------------------------------------------- | 468 // Graphics ------------------------------------------------------------- |
464 | 469 |
465 virtual WebCompositedDisplayList* compositedDisplayList() { return nullptr;
} | 470 virtual WebCompositedDisplayList* compositedDisplayList() { return nullptr;
} |
466 | 471 |
(...skipping 23 matching lines...) Expand all Loading... |
490 // context's ability to deal with that failure gracefully can be tested. | 495 // context's ability to deal with that failure gracefully can be tested. |
491 virtual void forceNextDrawingBufferCreationToFail() = 0; | 496 virtual void forceNextDrawingBufferCreationToFail() = 0; |
492 | 497 |
493 protected: | 498 protected: |
494 ~WebView() {} | 499 ~WebView() {} |
495 }; | 500 }; |
496 | 501 |
497 } // namespace blink | 502 } // namespace blink |
498 | 503 |
499 #endif | 504 #endif |
OLD | NEW |