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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
4 * Copyright (C) 2010 Google Inc. All Rights Reserved. 4 * Copyright (C) 2010 Google 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 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 return requests; 879 return requests;
880 } 880 }
881 881
882 return requests; 882 return requests;
883 } 883 }
884 884
885 CachedDocumentParameters::CachedDocumentParameters(Document* document) { 885 CachedDocumentParameters::CachedDocumentParameters(Document* document) {
886 ASSERT(isMainThread()); 886 ASSERT(isMainThread());
887 ASSERT(document); 887 ASSERT(document);
888 doHtmlPreloadScanning = 888 doHtmlPreloadScanning =
889 !document->settings() || document->settings()->doHtmlPreloadScanning(); 889 !document->settings() || document->settings()->getDoHtmlPreloadScanning();
890 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame() && 890 doDocumentWritePreloadScanning = doHtmlPreloadScanning && document->frame() &&
891 document->frame()->isMainFrame(); 891 document->frame()->isMainFrame();
892 defaultViewportMinWidth = document->viewportDefaultMinWidth(); 892 defaultViewportMinWidth = document->viewportDefaultMinWidth();
893 viewportMetaZeroValuesQuirk = 893 viewportMetaZeroValuesQuirk =
894 document->settings() && 894 document->settings() &&
895 document->settings()->viewportMetaZeroValuesQuirk(); 895 document->settings()->getViewportMetaZeroValuesQuirk();
896 viewportMetaEnabled = 896 viewportMetaEnabled =
897 document->settings() && document->settings()->viewportMetaEnabled(); 897 document->settings() && document->settings()->getViewportMetaEnabled();
898 referrerPolicy = document->getReferrerPolicy(); 898 referrerPolicy = document->getReferrerPolicy();
899 } 899 }
900 900
901 } // namespace blink 901 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698