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

Unified Diff: components/test_runner/test_runner.h

Issue 2521043003: Replace LayoutTests/paint/invalidation/text-selection-focus.html with a SimTest. (Closed)
Patch Set: copyrights. Created 4 years, 1 month 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: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index 5f93c52fb356ef0063d0ceff6d96c96a3ba03e54..827d4d259799ae8838831cb9753876780706d819 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -36,7 +36,6 @@ class WebFrame;
class WebLocalFrame;
class WebString;
class WebView;
-class WebWidget;
}
namespace gin {
@@ -107,8 +106,6 @@ class TestRunner : public WebTestRunner {
// Methods used by WebViewTestClient and WebFrameTestClient.
void OnNavigationBegin(blink::WebFrame* frame);
void OnNavigationEnd() { will_navigate_ = false; }
- void OnAnimationScheduled(blink::WebWidget* widget);
- void OnAnimationBegun(blink::WebWidget* widget);
std::string GetAcceptLanguages() const;
bool shouldStayOnPageAfterHandlingBeforeUnload() const;
MockScreenOrientationClient* getMockScreenOrientationClient();
@@ -329,10 +326,6 @@ class TestRunner : public WebTestRunner {
// Enable or disable plugins.
void SetPluginsEnabled(bool enabled);
- // Returns |true| if an animation has been scheduled in one or more WebViews
- // participating in the layout test.
- bool GetAnimationScheduled() const;
-
///////////////////////////////////////////////////////////////////////////
// Methods that modify the state of TestRunner
@@ -658,8 +651,6 @@ class TestRunner : public WebTestRunner {
// is ok, because this is taken care of in WebTestDelegate::SetFocus).
blink::WebView* previously_focused_view_;
- std::set<blink::WebWidget*> widgets_with_scheduled_animations_;
-
// True if we run a test in LayoutTests/imported/{csswg-test,wpt}/.
bool is_web_platform_tests_mode_;
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | third_party/WebKit/Source/web/tests/sim/SimTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698