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

Unified Diff: Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp

Issue 901663005: Revert r189385 "Remove LifecycleContext" and r189391, r189530, r189456 that block it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp
diff --git a/Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp b/Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp
index 4a98254a4546157552e0d07dd1c7102b23a702ab..970a542ab0fde1cd025bb0488307c6f49ce64818 100644
--- a/Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp
+++ b/Source/web/tests/WebScopedWindowFocusAllowedIndicatorTest.cpp
@@ -60,17 +60,17 @@ TEST(WebScopedWindowFocusAllowedIndicatorTest, WithDocument)
RefPtrWillBePersistent<Document> document = Document::create();
WebDocument webDocument(document);
- EXPECT_FALSE(document->isWindowInteractionAllowed());
+ EXPECT_FALSE(document->isWindowFocusAllowed());
{
WebScopedWindowFocusAllowedIndicator indicator1(&webDocument);
- EXPECT_TRUE(document->isWindowInteractionAllowed());
+ EXPECT_TRUE(document->isWindowFocusAllowed());
{
WebScopedWindowFocusAllowedIndicator indicator2(&webDocument);
- EXPECT_TRUE(document->isWindowInteractionAllowed());
+ EXPECT_TRUE(document->isWindowFocusAllowed());
}
- EXPECT_TRUE(document->isWindowInteractionAllowed());
+ EXPECT_TRUE(document->isWindowFocusAllowed());
}
- EXPECT_FALSE(document->isWindowInteractionAllowed());
+ EXPECT_FALSE(document->isWindowFocusAllowed());
}
}
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698