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

Side by Side Diff: Source/core/testing/InternalSettings.cpp

Issue 16282004: Remove unused includes from various .cpp files in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: re-add HTMLFormElement to EmptyClients for windows Created 7 years, 6 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
« no previous file with comments | « Source/core/storage/Storage.cpp ('k') | Source/core/testing/MockPagePopupDriver.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 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
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 10 matching lines...) Expand all
21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "InternalSettings.h" 28 #include "InternalSettings.h"
29 29
30 #include "RuntimeEnabledFeatures.h" 30 #include "RuntimeEnabledFeatures.h"
31 #include "core/dom/Document.h"
32 #include "core/dom/ExceptionCode.h" 31 #include "core/dom/ExceptionCode.h"
33 #include "core/page/Frame.h"
34 #include "core/page/FrameView.h"
35 #include "core/page/Page.h" 32 #include "core/page/Page.h"
36 #include "core/page/Settings.h" 33 #include "core/page/Settings.h"
37 #include "core/platform/Language.h"
38 #include "core/platform/Supplementable.h" 34 #include "core/platform/Supplementable.h"
39 #include "core/platform/graphics/TextRun.h"
40 #include "core/platform/text/LocaleToScriptMapping.h" 35 #include "core/platform/text/LocaleToScriptMapping.h"
41 36
42 #if ENABLE(INPUT_TYPE_COLOR) 37 #if ENABLE(INPUT_TYPE_COLOR)
43 #include "core/platform/ColorChooser.h" 38 #include "core/platform/ColorChooser.h"
44 #endif 39 #endif
45 40
46 #define InternalSettingsGuardForSettingsReturn(returnValue) \ 41 #define InternalSettingsGuardForSettingsReturn(returnValue) \
47 if (!settings()) { \ 42 if (!settings()) { \
48 ec = INVALID_ACCESS_ERR; \ 43 ec = INVALID_ACCESS_ERR; \
49 return returnValue; \ 44 return returnValue; \
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 settings()->setImagesEnabled(enabled); 308 settings()->setImagesEnabled(enabled);
314 } 309 }
315 310
316 void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionCode & ec) 311 void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionCode & ec)
317 { 312 {
318 InternalSettingsGuardForSettings(); 313 InternalSettingsGuardForSettings();
319 settings()->setDefaultVideoPosterURL(url); 314 settings()->setDefaultVideoPosterURL(url);
320 } 315 }
321 316
322 } 317 }
OLDNEW
« no previous file with comments | « Source/core/storage/Storage.cpp ('k') | Source/core/testing/MockPagePopupDriver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698