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

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

Issue 1343843004: [DevTools] Emulate hover and pointer types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed settings getters 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/DevToolsEmulator.cpp ('k') | Source/web/WebSettingsImpl.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) 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 29 matching lines...) Expand all
40 40
41 class WebSettingsImpl final : public WebSettings { 41 class WebSettingsImpl final : public WebSettings {
42 public: 42 public:
43 WebSettingsImpl(Settings*, DevToolsEmulator*); 43 WebSettingsImpl(Settings*, DevToolsEmulator*);
44 virtual ~WebSettingsImpl() { } 44 virtual ~WebSettingsImpl() { }
45 45
46 void setFromStrings(const WebString& name, const WebString& value) override; 46 void setFromStrings(const WebString& name, const WebString& value) override;
47 47
48 bool mainFrameResizesAreOrientationChanges() const override; 48 bool mainFrameResizesAreOrientationChanges() const override;
49 bool shrinksViewportContentToFit() const override; 49 bool shrinksViewportContentToFit() const override;
50 int availablePointerTypes() const override;
51 PointerType primaryPointerType() const override;
52 int availableHoverTypes() const override;
53 HoverType primaryHoverType() const override;
54 bool viewportEnabled() const override; 50 bool viewportEnabled() const override;
55 void setAccelerated2dCanvasEnabled(bool) override; 51 void setAccelerated2dCanvasEnabled(bool) override;
56 void setAccelerated2dCanvasMSAASampleCount(int) override; 52 void setAccelerated2dCanvasMSAASampleCount(int) override;
57 void setAcceleratedCompositingEnabled(bool) override; 53 void setAcceleratedCompositingEnabled(bool) override;
58 void setPreferCompositingToLCDTextEnabled(bool) override; 54 void setPreferCompositingToLCDTextEnabled(bool) override;
59 void setAccessibilityEnabled(bool) override; 55 void setAccessibilityEnabled(bool) override;
60 void setAccessibilityPasswordValuesEnabled(bool) override; 56 void setAccessibilityPasswordValuesEnabled(bool) override;
61 void setAllowDisplayOfInsecureContent(bool) override; 57 void setAllowDisplayOfInsecureContent(bool) override;
62 void setAllowFileAccessFromFileURLs(bool) override; 58 void setAllowFileAccessFromFileURLs(bool) override;
63 void setAllowCustomScrollbarInMainFrame(bool) override; 59 void setAllowCustomScrollbarInMainFrame(bool) override;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // This quirk is to maintain compatibility with Android apps built on 228 // This quirk is to maintain compatibility with Android apps built on
233 // the Android SDK prior to and including version 18. Presumably, this 229 // the Android SDK prior to and including version 18. Presumably, this
234 // can be removed any time after 2015. See http://crbug.com/313754. 230 // can be removed any time after 2015. See http://crbug.com/313754.
235 bool m_clobberUserAgentInitialScaleQuirk; 231 bool m_clobberUserAgentInitialScaleQuirk;
236 bool m_mainFrameResizesAreOrientationChanges; 232 bool m_mainFrameResizesAreOrientationChanges;
237 }; 233 };
238 234
239 } // namespace blink 235 } // namespace blink
240 236
241 #endif 237 #endif
OLDNEW
« no previous file with comments | « Source/web/DevToolsEmulator.cpp ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698