Home
last modified time | relevance | path

Searched refs:supplement (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DPageGroupIndexedDatabase.cpp49 …PageGroupIndexedDatabase* supplement = static_cast<PageGroupIndexedDatabase*>(Supplement<PageGroup… in from() local
50 if (!supplement) { in from()
51 supplement = new PageGroupIndexedDatabase(); in from()
52 provideTo(&group, supplementName(), adoptPtr(supplement)); in from()
54 return supplement; in from()
DWorkerGlobalScopeIndexedDatabase.cpp53 …WorkerGlobalScopeIndexedDatabase* supplement = static_cast<WorkerGlobalScopeIndexedDatabase*>(Work… in from() local
54 if (!supplement) { in from()
55 supplement = new WorkerGlobalScopeIndexedDatabase(); in from()
56 provideTo(context, supplementName(), adoptPtr(supplement)); in from()
58 return supplement; in from()
DDOMWindowIndexedDatabase.cpp54 …DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(Supplement<DOMWindow… in from() local
55 if (!supplement) { in from()
56 supplement = new DOMWindowIndexedDatabase(window); in from()
57 provideTo(window, supplementName(), adoptPtr(supplement)); in from()
59 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DWorkerGlobalScopeCrypto.cpp54 …WorkerGlobalScopeCrypto* supplement = static_cast<WorkerGlobalScopeCrypto*>(WorkerSupplement::from… in from() local
55 if (!supplement) { in from()
56 supplement = new WorkerGlobalScopeCrypto(); in from()
57 provideTo(context, supplementName(), adoptPtr(supplement)); in from()
59 return supplement; in from()
DDOMWindowCrypto.cpp55 …DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(Supplement<DOMWindow>::from(window, su… in from() local
56 if (!supplement) { in from()
57 supplement = new DOMWindowCrypto(window); in from()
58 provideTo(window, supplementName(), adoptPtr(supplement)); in from()
60 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/performance/
DWorkerGlobalScopePerformance.cpp55 …WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(WorkerSupple… in from() local
56 if (!supplement) { in from()
57 supplement = new WorkerGlobalScopePerformance(); in from()
58 provideTo(context, supplementName(), adoptPtr(supplement)); in from()
60 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/donottrack/
DNavigatorDoNotTrack.cpp56 …NavigatorDoNotTrack* supplement = static_cast<NavigatorDoNotTrack*>(Supplement<Navigator>::from(na… in from() local
57 if (!supplement) { in from()
58 supplement = new NavigatorDoNotTrack(navigator->frame()); in from()
59 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
61 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DDOMWindowQuota.cpp59 …DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(Supplement<DOMWindow>::from(window, supp… in from() local
60 if (!supplement) { in from()
61 supplement = new DOMWindowQuota(window); in from()
62 provideTo(window, supplementName(), adoptPtr(supplement)); in from()
64 return supplement; in from()
DWorkerNavigatorStorageQuota.cpp53 …WorkerNavigatorStorageQuota* supplement = static_cast<WorkerNavigatorStorageQuota*>(Supplement<Wor… in from() local
54 if (!supplement) { in from()
55 supplement = new WorkerNavigatorStorageQuota(); in from()
56 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
58 return supplement; in from()
DNavigatorStorageQuota.cpp55 …NavigatorStorageQuota* supplement = static_cast<NavigatorStorageQuota*>(Supplement<Navigator>::fro… in from() local
56 if (!supplement) { in from()
57 supplement = new NavigatorStorageQuota(navigator->frame()); in from()
58 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
60 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/speech/
DDOMWindowSpeechSynthesis.cpp57 …DOMWindowSpeechSynthesis* supplement = static_cast<DOMWindowSpeechSynthesis*>(Supplement<DOMWindow… in from() local
58 if (!supplement) { in from()
59 supplement = new DOMWindowSpeechSynthesis(window); in from()
60 provideTo(window, supplementName(), adoptPtr(supplement)); in from()
62 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/notifications/
DWorkerGlobalScopeNotifications.cpp55 …WorkerGlobalScopeNotifications* supplement = static_cast<WorkerGlobalScopeNotifications*>(WorkerSu… in from() local
56 if (!supplement) { in from()
57 supplement = new WorkerGlobalScopeNotifications(context); in from()
58 WorkerSupplement::provideTo(context, supplementName(), adoptPtr(supplement)); in from()
60 return supplement; in from()
DDOMWindowNotifications.cpp57 …DOMWindowNotifications* supplement = static_cast<DOMWindowNotifications*>(Supplement<DOMWindow>::f… in from() local
58 if (!supplement) { in from()
59 supplement = new DOMWindowNotifications(window); in from()
60 Supplement<DOMWindow>::provideTo(window, supplementName(), adoptPtr(supplement)); in from()
62 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
DNavigatorGeolocation.cpp49 …NavigatorGeolocation* supplement = static_cast<NavigatorGeolocation*>(Supplement<Navigator>::from(… in from() local
50 if (!supplement) { in from()
51 supplement = new NavigatorGeolocation(navigator->frame()); in from()
52 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
54 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
DNavigatorWebMIDI.cpp58 …NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(Supplement<Navigator>::from(navigato… in from() local
59 if (!supplement) { in from()
60 supplement = new NavigatorWebMIDI(navigator->frame()); in from()
61 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
63 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
DNavigatorGamepad.cpp75 …NavigatorGamepad* supplement = static_cast<NavigatorGamepad*>(Supplement<Navigator>::from(navigato… in from() local
76 if (!supplement) { in from()
77 supplement = new NavigatorGamepad(); in from()
78 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
80 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/platform/
DSupplementable.h101 …tic void provideTo(Supplementable<T>* host, const char* key, PassOwnPtr<Supplement<T> > supplement) in provideTo() argument
103 host->provideSupplement(key, supplement); in provideTo()
115 void provideSupplement(const char* key, PassOwnPtr<Supplement<T> > supplement) in provideSupplement() argument
119 m_supplements.set(key, supplement); in provideSupplement()
DRefCountedSupplement.h56 static void provideTo(Supplementable<T>* host, const char* key, PassRefPtr<ThisType> supplement) in provideTo() argument
58 host->provideSupplement(key, adoptPtr(new Wrapper(supplement))); in provideTo()
/external/chromium_org/third_party/WebKit/Source/core/page/
DDOMWindowPagePopup.cpp57 … DOMWindowPagePopup* supplement = static_cast<DOMWindowPagePopup*>(from(window, supplementName())); in pagePopupController() local
58 ASSERT(supplement); in pagePopupController()
59 return supplement->m_controller.get(); in pagePopupController()
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DNavigatorServiceWorker.cpp85 NavigatorServiceWorker* supplement = toNavigatorServiceWorker(navigator); in from() local
86 if (!supplement) { in from()
87 supplement = new NavigatorServiceWorker(navigator); in from()
88 provideTo(navigator, supplementName(), adoptPtr(supplement)); in from()
90 return supplement; in from()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DPrerendererClient.cpp48 …PrerendererClient* supplement = static_cast<PrerendererClient*>(Supplement<Page>::from(page, suppl… in from() local
49 return supplement; in from()
/external/chromium_org/build/
Dgyp_chromium85 for supplement in supplemental_files:
86 with open(supplement, 'r') as f:
90 e.filename = os.path.abspath(supplement)
163 for supplement in supplemental_files:
164 AddInclude(supplement)
/external/chromium_org/gin/
Dper_context_data.cc48 void PerContextData::AddSupplement(scoped_ptr<ContextSupplement> supplement) { in AddSupplement() argument
49 supplements_.push_back(supplement.release()); in AddSupplement()
/external/chromium_org/build/android/
Ddeveloper_recommended_flags.gypi7 # These can be used by copying this file to $CHROME_SRC/chrome/supplement.gypi.
9 # Even better, create chrome/supplement.gypi containing the following:
15 # no %) in chrome/supplement.gypi.
/external/chromium_org/third_party/WebKit/Source/modules/imagebitmap/
DImageBitmapFactories.cpp280 …ImageBitmapFactories* supplement = static_cast<ImageBitmapFactories*>(Supplement<T>::from(object, … in fromInternal() local
281 if (!supplement) { in fromInternal()
282 supplement = new ImageBitmapFactories(); in fromInternal()
283 Supplement<T>::provideTo(object, supplementName(), adoptPtr(supplement)); in fromInternal()
285 return supplement; in fromInternal()

123