Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: third_party/WebKit/public/web/WebView.h

Issue 1646583002: [Reland] Per WebViewScheduler virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/platform/WebViewScheduler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebViewScheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698