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

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

Issue 132233004: Update remaining core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/InspectorFrontendClientLocal.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 24 matching lines...) Expand all
35 #include "wtf/text/WTFString.h" 35 #include "wtf/text/WTFString.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class Document; 39 class Document;
40 class ExceptionState; 40 class ExceptionState;
41 class Frame; 41 class Frame;
42 class Page; 42 class Page;
43 class Settings; 43 class Settings;
44 44
45 class InternalSettings : public InternalSettingsGenerated { 45 class InternalSettings FINAL : public InternalSettingsGenerated {
46 public: 46 public:
47 class Backup { 47 class Backup {
48 public: 48 public:
49 explicit Backup(Settings*); 49 explicit Backup(Settings*);
50 void restoreTo(Settings*); 50 void restoreTo(Settings*);
51 51
52 bool m_originalCSSExclusionsEnabled; 52 bool m_originalCSSExclusionsEnabled;
53 bool m_originalAuthorShadowDOMForAnyElementEnabled; 53 bool m_originalAuthorShadowDOMForAnyElementEnabled;
54 bool m_originalExperimentalWebSocketEnabled; 54 bool m_originalExperimentalWebSocketEnabled;
55 bool m_originalStyleScoped; 55 bool m_originalStyleScoped;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 Page* page() const { return m_page; } 126 Page* page() const { return m_page; }
127 static const char* supplementName(); 127 static const char* supplementName();
128 128
129 Page* m_page; 129 Page* m_page;
130 Backup m_backup; 130 Backup m_backup;
131 }; 131 };
132 132
133 } // namespace WebCore 133 } // namespace WebCore
134 134
135 #endif 135 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/InspectorFrontendClientLocal.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698