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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) 3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org)
4 * Copyright (C) 2012 Apple Inc. All Rights Reserved. 4 * Copyright (C) 2012 Apple Inc. All Rights Reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 else if (key == "WebKitJavaScriptEnabled") 1594 else if (key == "WebKitJavaScriptEnabled")
1595 prefs->javaScriptEnabled = cppVariantToBool(value); 1595 prefs->javaScriptEnabled = cppVariantToBool(value);
1596 else if (key == "WebKitSupportsMultipleWindows") 1596 else if (key == "WebKitSupportsMultipleWindows")
1597 prefs->supportsMultipleWindows = cppVariantToBool(value); 1597 prefs->supportsMultipleWindows = cppVariantToBool(value);
1598 else if (key == "WebKitDisplayImagesKey") 1598 else if (key == "WebKitDisplayImagesKey")
1599 prefs->loadsImagesAutomatically = cppVariantToBool(value); 1599 prefs->loadsImagesAutomatically = cppVariantToBool(value);
1600 else if (key == "WebKitPluginsEnabled") 1600 else if (key == "WebKitPluginsEnabled")
1601 prefs->pluginsEnabled = cppVariantToBool(value); 1601 prefs->pluginsEnabled = cppVariantToBool(value);
1602 else if (key == "WebKitJavaEnabled") 1602 else if (key == "WebKitJavaEnabled")
1603 prefs->javaEnabled = cppVariantToBool(value); 1603 prefs->javaEnabled = cppVariantToBool(value);
1604 else if (key == "WebKitUsesPageCachePreferenceKey")
1605 prefs->usesPageCache = cppVariantToBool(value);
1606 else if (key == "WebKitPageCacheSupportsPluginsPreferenceKey")
1607 prefs->pageCacheSupportsPlugins = cppVariantToBool(value);
1608 else if (key == "WebKitOfflineWebApplicationCacheEnabled") 1604 else if (key == "WebKitOfflineWebApplicationCacheEnabled")
1609 prefs->offlineWebApplicationCacheEnabled = cppVariantToBool(value); 1605 prefs->offlineWebApplicationCacheEnabled = cppVariantToBool(value);
1610 else if (key == "WebKitTabToLinksPreferenceKey") 1606 else if (key == "WebKitTabToLinksPreferenceKey")
1611 prefs->tabsToLinks = cppVariantToBool(value); 1607 prefs->tabsToLinks = cppVariantToBool(value);
1612 else if (key == "WebKitWebGLEnabled") 1608 else if (key == "WebKitWebGLEnabled")
1613 prefs->experimentalWebGLEnabled = cppVariantToBool(value); 1609 prefs->experimentalWebGLEnabled = cppVariantToBool(value);
1614 else if (key == "WebKitCSSRegionsEnabled") 1610 else if (key == "WebKitCSSRegionsEnabled")
1615 prefs->experimentalCSSRegionsEnabled = cppVariantToBool(value); 1611 prefs->experimentalCSSRegionsEnabled = cppVariantToBool(value);
1616 else if (key == "WebKitCSSGridLayoutEnabled") 1612 else if (key == "WebKitCSSGridLayoutEnabled")
1617 prefs->experimentalCSSGridLayoutEnabled = cppVariantToBool(value); 1613 prefs->experimentalCSSGridLayoutEnabled = cppVariantToBool(value);
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
2030 result->setNull(); 2026 result->setNull();
2031 } 2027 }
2032 2028
2033 void TestRunner::setPointerLockWillFailSynchronously(const CppArgumentList&, Cpp Variant* result) 2029 void TestRunner::setPointerLockWillFailSynchronously(const CppArgumentList&, Cpp Variant* result)
2034 { 2030 {
2035 m_pointerLockPlannedResult = PointerLockWillFailSync; 2031 m_pointerLockPlannedResult = PointerLockWillFailSync;
2036 result->setNull(); 2032 result->setNull();
2037 } 2033 }
2038 2034
2039 } 2035 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698