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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimCompositor.h

Issue 1889163002: Don't try to render composited selection in throttled frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/sim/SimCompositor.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimCompositor.h b/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
index b11f995d022fd69bc9213ddb72322e5dac498304..2d59ff51d2fabb5bac574e329f4b81ad012f4a50 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
@@ -35,12 +35,17 @@ public:
bool needsAnimate() const { return m_needsAnimate; }
bool deferCommits() const { return m_deferCommits; }
+ bool hasSelection() const { return m_hasSelection; }
+
private:
void setNeedsAnimate() override;
void setDeferCommits(bool) override;
+ void registerSelection(const WebSelection&) override;
+ void clearSelection() override;
bool m_needsAnimate;
bool m_deferCommits;
+ bool m_hasSelection;
WebViewImpl* m_webViewImpl;
double m_lastFrameTimeMonotonic;
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698