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

Side by Side Diff: Source/web/WebSettingsImpl.h

Issue 1326693003: Revert of Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/web/WebPluginLoadObserver.h ('k') | Source/web/WebSharedWorkerImpl.h » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebSettingsImpl_h 31 #ifndef WebSettingsImpl_h
32 #define WebSettingsImpl_h 32 #define WebSettingsImpl_h
33 33
34 #include "public/web/WebSettings.h" 34 #include "public/web/WebSettings.h"
35 #include "wtf/FastAllocBase.h"
36 35
37 namespace blink { 36 namespace blink {
38 37
39 class DevToolsEmulator; 38 class DevToolsEmulator;
40 class Settings; 39 class Settings;
41 40
42 class WebSettingsImpl final : public WebSettings { 41 class WebSettingsImpl final : public WebSettings {
43 WTF_MAKE_FAST_ALLOCATED(WebSettingsImpl);
44 public: 42 public:
45 WebSettingsImpl(Settings*, DevToolsEmulator*); 43 WebSettingsImpl(Settings*, DevToolsEmulator*);
46 virtual ~WebSettingsImpl() { } 44 virtual ~WebSettingsImpl() { }
47 45
48 void setFromStrings(const WebString& name, const WebString& value) override; 46 void setFromStrings(const WebString& name, const WebString& value) override;
49 47
50 bool mainFrameResizesAreOrientationChanges() const override; 48 bool mainFrameResizesAreOrientationChanges() const override;
51 bool shrinksViewportContentToFit() const override; 49 bool shrinksViewportContentToFit() const override;
52 int availablePointerTypes() const override; 50 int availablePointerTypes() const override;
53 PointerType primaryPointerType() const override; 51 PointerType primaryPointerType() const override;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // This quirk is to maintain compatibility with Android apps built on 231 // This quirk is to maintain compatibility with Android apps built on
234 // the Android SDK prior to and including version 18. Presumably, this 232 // the Android SDK prior to and including version 18. Presumably, this
235 // can be removed any time after 2015. See http://crbug.com/313754. 233 // can be removed any time after 2015. See http://crbug.com/313754.
236 bool m_clobberUserAgentInitialScaleQuirk; 234 bool m_clobberUserAgentInitialScaleQuirk;
237 bool m_mainFrameResizesAreOrientationChanges; 235 bool m_mainFrameResizesAreOrientationChanges;
238 }; 236 };
239 237
240 } // namespace blink 238 } // namespace blink
241 239
242 #endif 240 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPluginLoadObserver.h ('k') | Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698