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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 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/core/testing/InternalProfilers.h ('k') | Source/core/testing/Internals.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) 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class LocalFrame; 42 class LocalFrame;
43 class Page; 43 class Page;
44 class Settings; 44 class Settings;
45 45
46 #if ENABLE(OILPAN) 46 #if ENABLE(OILPAN)
47 class InternalSettings FINAL : public InternalSettingsGenerated, public HeapSupp lement<Page> { 47 class InternalSettings FINAL : public InternalSettingsGenerated, public HeapSupp lement<Page> {
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InternalSettings); 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InternalSettings);
49 #else 49 #else
50 class InternalSettings FINAL : public InternalSettingsGenerated { 50 class InternalSettings FINAL : public InternalSettingsGenerated {
51 #endif 51 #endif
52 DEFINE_WRAPPERTYPEINFO();
52 public: 53 public:
53 class Backup { 54 class Backup {
54 public: 55 public:
55 explicit Backup(Settings*); 56 explicit Backup(Settings*);
56 void restoreTo(Settings*); 57 void restoreTo(Settings*);
57 58
58 bool m_originalAuthorShadowDOMForAnyElementEnabled; 59 bool m_originalAuthorShadowDOMForAnyElementEnabled;
59 bool m_originalCSP; 60 bool m_originalCSP;
60 bool m_originalLaxMixedContentCheckingEnabled; 61 bool m_originalLaxMixedContentCheckingEnabled;
61 bool m_originalOverlayScrollbarsEnabled; 62 bool m_originalOverlayScrollbarsEnabled;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 Settings* settings() const; 133 Settings* settings() const;
133 Page* page() const { return m_page; } 134 Page* page() const { return m_page; }
134 static const char* supplementName(); 135 static const char* supplementName();
135 136
136 RawPtrWillBeWeakMember<Page> m_page; 137 RawPtrWillBeWeakMember<Page> m_page;
137 Backup m_backup; 138 Backup m_backup;
138 }; 139 };
139 140
140 } // namespace blink 141 } // namespace blink
141 142
142 #endif 143 #endif // InternalSettings_h
OLDNEW
« no previous file with comments | « Source/core/testing/InternalProfilers.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698