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

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

Issue 26113002: Move core/platform/text/Locale* to platform/text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/core/svg/SVGElementInstance.h ('k') | Source/modules/webaudio/AsyncAudioDecoder.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 15 matching lines...) Expand all
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 "bindings/v8/ExceptionState.h" 31 #include "bindings/v8/ExceptionState.h"
32 #include "core/dom/ExceptionCode.h" 32 #include "core/dom/ExceptionCode.h"
33 #include "core/page/Page.h" 33 #include "core/page/Page.h"
34 #include "core/page/Settings.h" 34 #include "core/page/Settings.h"
35 #include "core/platform/ColorChooser.h" 35 #include "core/platform/ColorChooser.h"
36 #include "core/platform/text/LocaleToScriptMapping.h"
37 #include "platform/Supplementable.h" 36 #include "platform/Supplementable.h"
37 #include "platform/text/LocaleToScriptMapping.h"
38 38
39 #define InternalSettingsGuardForSettingsReturn(returnValue) \ 39 #define InternalSettingsGuardForSettingsReturn(returnValue) \
40 if (!settings()) { \ 40 if (!settings()) { \
41 es.throwUninformativeAndGenericDOMException(InvalidAccessError); \ 41 es.throwUninformativeAndGenericDOMException(InvalidAccessError); \
42 return returnValue; \ 42 return returnValue; \
43 } 43 }
44 44
45 #define InternalSettingsGuardForSettings() \ 45 #define InternalSettingsGuardForSettings() \
46 if (!settings()) { \ 46 if (!settings()) { \
47 es.throwUninformativeAndGenericDOMException(InvalidAccessError); \ 47 es.throwUninformativeAndGenericDOMException(InvalidAccessError); \
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 settings()->setImagesEnabled(enabled); 308 settings()->setImagesEnabled(enabled);
309 } 309 }
310 310
311 void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionStat e& es) 311 void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionStat e& es)
312 { 312 {
313 InternalSettingsGuardForSettings(); 313 InternalSettingsGuardForSettings();
314 settings()->setDefaultVideoPosterURL(url); 314 settings()->setDefaultVideoPosterURL(url);
315 } 315 }
316 316
317 } 317 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElementInstance.h ('k') | Source/modules/webaudio/AsyncAudioDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698