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

Side by Side Diff: Source/core/dom/ContextFeatures.h

Issue 214693002: Remove most of scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Really remove it Created 6 years, 9 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/css/resolver/SharedStyleFinder.cpp ('k') | Source/core/dom/ContextFeatures.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 MutationEvents, 44 MutationEvents,
45 PushState, 45 PushState,
46 FeatureTypeSize // Should be the last entry. 46 FeatureTypeSize // Should be the last entry.
47 }; 47 };
48 48
49 static const char* supplementName(); 49 static const char* supplementName();
50 static ContextFeatures* defaultSwitch(); 50 static ContextFeatures* defaultSwitch();
51 static PassRefPtr<ContextFeatures> create(ContextFeaturesClient*); 51 static PassRefPtr<ContextFeatures> create(ContextFeaturesClient*);
52 52
53 static bool dialogElementEnabled(Document*); 53 static bool dialogElementEnabled(Document*);
54 static bool styleScopedEnabled(Document*);
55 static bool pagePopupEnabled(Document*); 54 static bool pagePopupEnabled(Document*);
56 static bool mutationEventsEnabled(Document*); 55 static bool mutationEventsEnabled(Document*);
57 static bool pushStateEnabled(Document*); 56 static bool pushStateEnabled(Document*);
58 57
59 bool isEnabled(Document*, FeatureType, bool) const; 58 bool isEnabled(Document*, FeatureType, bool) const;
60 void urlDidChange(Document*); 59 void urlDidChange(Document*);
61 60
62 private: 61 private:
63 explicit ContextFeatures(ContextFeaturesClient* client) 62 explicit ContextFeatures(ContextFeaturesClient* client)
64 : m_client(client) 63 : m_client(client)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // See issue 294180 107 // See issue 294180
109 // 108 //
110 // if (m_client) 109 // if (m_client)
111 // return; 110 // return;
112 // m_client->urlDidChange(document); 111 // m_client->urlDidChange(document);
113 } 112 }
114 113
115 } // namespace WebCore 114 } // namespace WebCore
116 115
117 #endif // ContextFeatures_h 116 #endif // ContextFeatures_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/SharedStyleFinder.cpp ('k') | Source/core/dom/ContextFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698