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

Side by Side Diff: Source/core/frame/Settings.h

Issue 754813002: Expose setting API to set ImageAnimationPolicy(Allowed, Once, None) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Code Created 6 years 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/fetch/ImageResourceClient.h ('k') | Source/core/frame/Settings.in » ('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) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 29
30 #include "bindings/core/v8/ScriptStreamingMode.h" 30 #include "bindings/core/v8/ScriptStreamingMode.h"
31 #include "bindings/core/v8/V8CacheOptions.h" 31 #include "bindings/core/v8/V8CacheOptions.h"
32 #include "core/SettingsMacros.h" 32 #include "core/SettingsMacros.h"
33 #include "core/css/PointerProperties.h" 33 #include "core/css/PointerProperties.h"
34 #include "core/editing/EditingBehaviorTypes.h" 34 #include "core/editing/EditingBehaviorTypes.h"
35 #include "core/frame/SettingsDelegate.h" 35 #include "core/frame/SettingsDelegate.h"
36 #include "platform/Timer.h" 36 #include "platform/Timer.h"
37 #include "platform/fonts/GenericFontFamilySettings.h" 37 #include "platform/fonts/GenericFontFamilySettings.h"
38 #include "platform/geometry/IntSize.h" 38 #include "platform/geometry/IntSize.h"
39 #include "platform/graphics/ImageAnimationPolicy.h"
39 #include "platform/weborigin/KURL.h" 40 #include "platform/weborigin/KURL.h"
40 #include "wtf/HashSet.h" 41 #include "wtf/HashSet.h"
41 #include "wtf/RefCounted.h" 42 #include "wtf/RefCounted.h"
42 43
43 namespace blink { 44 namespace blink {
44 45
45 class Settings { 46 class Settings {
46 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; 47 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED;
47 public: 48 public:
48 static PassOwnPtr<Settings> create(); 49 static PassOwnPtr<Settings> create();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 bool m_openGLMultisamplingEnabled : 1; 82 bool m_openGLMultisamplingEnabled : 1;
82 IntSize m_textAutosizingWindowSizeOverride; 83 IntSize m_textAutosizingWindowSizeOverride;
83 bool m_textAutosizingEnabled : 1; 84 bool m_textAutosizingEnabled : 1;
84 85
85 SETTINGS_MEMBER_VARIABLES 86 SETTINGS_MEMBER_VARIABLES
86 }; 87 };
87 88
88 } // namespace blink 89 } // namespace blink
89 90
90 #endif // Settings_h 91 #endif // Settings_h
OLDNEW
« no previous file with comments | « Source/core/fetch/ImageResourceClient.h ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698