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

Side by Side Diff: Source/bindings/v8/CustomElementHelpers.h

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing flag from features.gypi Created 7 years, 8 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
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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "ScriptValue.h" 38 #include "ScriptValue.h"
39 #include "V8Binding.h" 39 #include "V8Binding.h"
40 #include "V8DOMWrapper.h" 40 #include "V8DOMWrapper.h"
41 #include "V8HTMLElement.h" 41 #include "V8HTMLElement.h"
42 #include "V8HTMLUnknownElement.h" 42 #include "V8HTMLUnknownElement.h"
43 #include <wtf/Forward.h> 43 #include <wtf/Forward.h>
44 #include <wtf/PassRefPtr.h> 44 #include <wtf/PassRefPtr.h>
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 #if ENABLE(CUSTOM_ELEMENTS)
49 48
50 class CustomElementConstructor; 49 class CustomElementConstructor;
51 class CustomElementInvocation; 50 class CustomElementInvocation;
52 class Element; 51 class Element;
53 class QualifiedName; 52 class QualifiedName;
54 class ScriptState; 53 class ScriptState;
55 54
56 class CustomElementHelpers { 55 class CustomElementHelpers {
57 public: 56 public:
58 static bool initializeConstructorWrapper(CustomElementConstructor*, const Sc riptValue& prototype, ScriptState*); 57 static bool initializeConstructorWrapper(CustomElementConstructor*, const Sc riptValue& prototype, ScriptState*);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 return registry->findFor(element); 92 return registry->findFor(element);
94 return 0; 93 return 0;
95 } 94 }
96 95
97 inline bool CustomElementHelpers::isValidPrototypeParameter(const ScriptValue& v alue, ScriptState* state) 96 inline bool CustomElementHelpers::isValidPrototypeParameter(const ScriptValue& v alue, ScriptState* state)
98 { 97 {
99 AtomicString namespaceURI; 98 AtomicString namespaceURI;
100 return isValidPrototypeParameter(value, state, namespaceURI); 99 return isValidPrototypeParameter(value, state, namespaceURI);
101 } 100 }
102 101
103 #endif // ENABLE(CUSTOM_ELEMENTS)
104 102
105 } // namespace WebCore 103 } // namespace WebCore
106 104
107 #endif // CustomElementHelpers_h 105 #endif // CustomElementHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698