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

Side by Side Diff: Source/web/tests/ScrollingCoordinatorChromiumTest.cpp

Issue 206463009: Rip out Settings::fixedPositionCreatesStackingContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/tests/CompositedLayerMappingTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 private: 117 private:
118 static void configureSettings(WebSettings* settings) 118 static void configureSettings(WebSettings* settings)
119 { 119 {
120 settings->setJavaScriptEnabled(true); 120 settings->setJavaScriptEnabled(true);
121 settings->setForceCompositingMode(true); 121 settings->setForceCompositingMode(true);
122 settings->setAcceleratedCompositingEnabled(true); 122 settings->setAcceleratedCompositingEnabled(true);
123 settings->setAcceleratedCompositingForFixedPositionEnabled(true); 123 settings->setAcceleratedCompositingForFixedPositionEnabled(true);
124 settings->setAcceleratedCompositingForOverflowScrollEnabled(true); 124 settings->setAcceleratedCompositingForOverflowScrollEnabled(true);
125 settings->setAcceleratedCompositingForScrollableFramesEnabled(true); 125 settings->setAcceleratedCompositingForScrollableFramesEnabled(true);
126 settings->setCompositedScrollingForFramesEnabled(true); 126 settings->setCompositedScrollingForFramesEnabled(true);
127 settings->setFixedPositionCreatesStackingContext(true);
128 } 127 }
129 128
130 FrameTestHelpers::WebViewHelper m_helper; 129 FrameTestHelpers::WebViewHelper m_helper;
131 }; 130 };
132 131
133 TEST_F(ScrollingCoordinatorChromiumTest, fastScrollingByDefault) 132 TEST_F(ScrollingCoordinatorChromiumTest, fastScrollingByDefault)
134 { 133 {
135 navigateTo("about:blank"); 134 navigateTo("about:blank");
136 forceFullCompositingUpdate(); 135 forceFullCompositingUpdate();
137 136
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) 466 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash)
468 { 467 {
469 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); 468 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html");
470 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); 469 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html");
471 forceFullCompositingUpdate(); 470 forceFullCompositingUpdate();
472 // This test document setup an iframe with scrollbars, then switch to 471 // This test document setup an iframe with scrollbars, then switch to
473 // an empty document by javascript. 472 // an empty document by javascript.
474 } 473 }
475 474
476 } // namespace 475 } // namespace
OLDNEW
« no previous file with comments | « Source/web/tests/CompositedLayerMappingTest.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698