Home
last modified time | relevance | path

Searched refs:COMPtr (Results 1 – 25 of 76) sorted by relevance

1234

/external/webkit/WebCore/platform/win/
DCOMPtr.h47 template <typename T> class COMPtr {
49 COMPtr() : m_ptr(0) { } in COMPtr() function
50 COMPtr(T* ptr) : m_ptr(ptr) { if (m_ptr) m_ptr->AddRef(); } in COMPtr() function
51 COMPtr(AdoptCOMTag, T* ptr) : m_ptr(ptr) { } in COMPtr() function
52 COMPtr(const COMPtr& o) : m_ptr(o.m_ptr) { if (T* ptr = m_ptr) ptr->AddRef(); } in COMPtr() function
54 COMPtr(QueryTag, IUnknown* ptr) : m_ptr(copyQueryInterfaceRef(ptr)) { } in COMPtr() function
55 …template <typename U> COMPtr(QueryTag, const COMPtr<U>& ptr) : m_ptr(copyQueryInterfaceRef(ptr.get… in COMPtr() function
57 COMPtr(CreateTag, const IID& clsid) : m_ptr(createInstance(clsid)) { } in COMPtr() function
60 COMPtr(WTF::HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } in COMPtr() function
63 ~COMPtr() { if (m_ptr) m_ptr->Release(); } in ~COMPtr()
[all …]
DClipboardWin.h73 COMPtr<IDataObject> dataObject() { return m_dataObject; } in dataObject()
84 COMPtr<IDataObject> m_dataObject;
85 COMPtr<WCDataObject> m_writableDataObject;
/external/webkit/WebKitTools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp60 COMPtr<IWebView> webView; in ~LayoutTestController()
66 COMPtr<IWebViewPrivate> viewPrivate; in ~LayoutTestController()
70 COMPtr<IWebViewEditing> viewEditing; in ~LayoutTestController()
73 COMPtr<IWebEditingDelegate> delegate; in ~LayoutTestController()
76 COMPtr<EditingDelegate> editingDelegate(Query, viewEditing.get()); in ~LayoutTestController()
88 COMPtr<IWebView> webView; in clearBackForwardList()
92 COMPtr<IWebBackForwardList> backForwardList; in clearBackForwardList()
96 COMPtr<IWebHistoryItem> item; in clearBackForwardList()
126 COMPtr<IWebView> webView; in disableImageLoading()
130 COMPtr<IWebPreferences> preferences; in disableImageLoading()
[all …]
DDumpRenderTree.cpp89 static COMPtr<IWebHistoryItem> prevTestBFItem; // current b/f item at the end of the previous test
91 COMPtr<FrameLoadDelegate> sharedFrameLoadDelegate;
92 COMPtr<UIDelegate> sharedUIDelegate;
93 COMPtr<EditingDelegate> sharedEditingDelegate;
94 COMPtr<ResourceLoadDelegate> sharedResourceLoadDelegate;
235 COMPtr<IWebTextRenderer> textRenderer; in initialize()
271 COMPtr<IWebFramePrivate> framePrivate; in dumpFrameScrollPosition()
280 COMPtr<IWebFrame> parent; in dumpFrameScrollPosition()
294 COMPtr<IEnumVARIANT> enumKids; in dumpFrameScrollPosition()
301 COMPtr<IWebFrame> framePtr; in dumpFrameScrollPosition()
[all …]
DWorkQueueItemWin.cpp58 COMPtr<IWebFrame> targetFrame; in invoke()
69 COMPtr<IWebURLRequest> request; in invoke()
86 COMPtr<IWebView> webView; in invoke()
90 COMPtr<IWebIBActions> webActions; in invoke()
100 COMPtr<IWebView> webView; in invoke()
117 COMPtr<IWebView> webView; in invoke()
132 COMPtr<IWebBackForwardList> bfList; in invoke()
136 COMPtr<IWebHistoryItem> item; in invoke()
DAccessibilityControllerWin.cpp46 COMPtr<IAccessible> rootAccessible = rootElement().platformUIElement(); in focusedElement()
60 return COMPtr<IAccessible>(Query, V_DISPATCH(&vFocus)); in focusedElement()
65 COMPtr<IWebView> view; in rootElement()
69 COMPtr<IWebViewPrivate> viewPrivate(Query, view); in rootElement()
79 COMPtr<IAccessible> rootAccessible; in rootElement()
DEventSender.cpp133 COMPtr<IWebFramePrivate> framePrivate; in contextClickCallback()
149 COMPtr<IWebFramePrivate> framePrivate; in mouseDownCallback()
176 COMPtr<IWebFramePrivate> framePrivate; in doMouseUp()
184 COMPtr<IWebView> webView; in doMouseUp()
185 COMPtr<IDropTarget> webViewDropTarget; in doMouseUp()
223 COMPtr<IWebFramePrivate> framePrivate; in doMouseMove()
234 COMPtr<IDropTarget> webViewDropTarget; in doMouseMove()
351 COMPtr<IWebFramePrivate> framePrivate; in keyDownCallback()
451 COMPtr<IWebFramePrivate> framePrivate; in dispatchMessageCallback()
484 COMPtr<IWebView> webView; in textZoomInCallback()
[all …]
DGCControllerWin.cpp39 COMPtr<IWebJavaScriptCollector> collector; in collect()
47 COMPtr<IWebJavaScriptCollector> collector; in collectOnAlternateThread()
55 COMPtr<IWebJavaScriptCollector> collector; in getJSObjectCount()
/external/webkit/WebKit/win/WebCoreSupport/
DWebFrameLoaderClient.cpp115 COMPtr<IWebResourceLoadDelegate> resourceLoadDelegate; in assignIdentifierToInitialRequest()
119COMPtr<WebMutableURLRequest> webURLRequest(AdoptCOM, WebMutableURLRequest::createInstance(request)… in assignIdentifierToInitialRequest()
126 COMPtr<IWebResourceLoadDelegate> resourceLoadDelegate; in shouldUseCredentialStorage()
130 COMPtr<IWebResourceLoadDelegatePrivate> resourceLoadDelegatePrivate; in shouldUseCredentialStorage()
147 COMPtr<IWebResourceLoadDelegate> resourceLoadDelegate; in dispatchDidReceiveAuthenticationChallenge()
149COMPtr<WebURLAuthenticationChallenge> webChallenge(AdoptCOM, WebURLAuthenticationChallenge::create… in dispatchDidReceiveAuthenticationChallenge()
165 COMPtr<IWebResourceLoadDelegate> resourceLoadDelegate; in dispatchDidCancelAuthenticationChallenge()
169COMPtr<WebURLAuthenticationChallenge> webChallenge(AdoptCOM, WebURLAuthenticationChallenge::create… in dispatchDidCancelAuthenticationChallenge()
176 COMPtr<IWebResourceLoadDelegate> resourceLoadDelegate; in dispatchWillSendRequest()
180COMPtr<WebMutableURLRequest> webURLRequest(AdoptCOM, WebMutableURLRequest::createInstance(request)… in dispatchWillSendRequest()
[all …]
DWebChromeClient.cpp156 COMPtr<IWebUIDelegate> delegate = uiDelegate(); in createWindow()
159COMPtr<IWebMutableURLRequest> request(AdoptCOM, WebMutableURLRequest::createInstance(frameLoadRequ… in createWindow()
160 COMPtr<IWebView> dialog; in createWindow()
196 if (COMPtr<IWebUIDelegate> delegate = uiDelegate()) in canRunModal()
203 if (COMPtr<IWebUIDelegate> delegate = uiDelegate()) in runModal()
266 COMPtr<IWebUIDelegate> delegate = uiDelegate(); in setMenubarVisible()
274 COMPtr<IWebUIDelegate> delegate = uiDelegate(); in menubarVisible()
293 COMPtr<IWebUIDelegate> uiDelegate; in addMessageToConsole()
295 COMPtr<IWebUIDelegatePrivate> uiPrivate; in addMessageToConsole()
345 COMPtr<IWebUIDelegate> ui; in runJavaScriptAlert()
[all …]
DWebDragClient.cpp79 COMPtr<IWebUIDelegate> delegateRef = 0; in actionMaskForDrag()
93 COMPtr<IWebUIDelegate> delegateRef = 0; in willPerformDragDestinationAction()
100 COMPtr<IWebUIDelegate> delegateRef = 0; in dragSourceActionMaskForPoint()
110 COMPtr<IWebUIDelegate> uiDelegate; in willPerformDragSourceAction()
115 COMPtr<IDataObject> dataObject = static_cast<ClipboardWin*>(clipboard)->dataObject(); in willPerformDragSourceAction()
117 COMPtr<IDataObject> newDataObject; in willPerformDragSourceAction()
129 COMPtr<IDragSourceHelper> helper; in startDrag()
130 COMPtr<IDataObject> dataObject; in startDrag()
131 COMPtr<WebView> viewProtector = m_webView; in startDrag()
132 COMPtr<IDropSource> source; in startDrag()
[all …]
DWebEditorClient.cpp619 COMPtr<IWebEditingDelegate> ed; in ignoreWordInSpellDocument()
629 COMPtr<IWebEditingDelegate> ed; in learnWord()
641 COMPtr<IWebEditingDelegate> ed; in checkSpellingOfString()
662 COMPtr<IWebEditingDelegate> ed; in checkGrammarOfString()
667 COMPtr<IEnumWebGrammarDetails> enumDetailsObj; in checkGrammarOfString()
673 COMPtr<IWebGrammarDetail> detailObj; in checkGrammarOfString()
688 COMPtr<IEnumSpellingGuesses> enumGuessesObj; in checkGrammarOfString()
705 COMPtr<IWebEditingDelegate> ed; in updateSpellingUIWithGrammarString()
722 COMPtr<IWebEditingDelegate> ed; in updateSpellingUIWithMisspelledWord()
731 COMPtr<IWebEditingDelegate> ed; in showSpellingUI()
[all …]
DWebContextMenuClient.cpp97 COMPtr<IWebUIDelegate> uiDelegate; in getCustomMenuFromDefaultItems()
104 COMPtr<WebElementPropertyBag> propertyBag; in getCustomMenuFromDefaultItems()
116 COMPtr<IWebUIDelegate> uiDelegate; in contextMenuItemSelected()
122 COMPtr<WebElementPropertyBag> propertyBag; in contextMenuItemSelected()
/external/webkit/WebKit/win/
DWebDatabaseManager.cpp143 static COMPtr<WebDatabaseManager> s_sharedWebDatabaseManager;
222COMPtr<COMEnumVariant<Vector<RefPtr<SecurityOrigin> > > > enumVariant(AdoptCOM, COMEnumVariant<Vec… in origins()
240 COMPtr<WebSecurityOrigin> webSecurityOrigin(Query, origin); in databasesWithOrigin()
247COMPtr<COMEnumVariant<Vector<String> > > enumVariant(AdoptCOM, COMEnumVariant<Vector<String> >::ad… in databasesWithOrigin()
266 COMPtr<WebSecurityOrigin> webSecurityOrigin(Query, origin); in detailsForDatabase()
299 COMPtr<WebSecurityOrigin> webSecurityOrigin(Query, origin); in deleteOrigin()
321 COMPtr<WebSecurityOrigin> webSecurityOrigin(Query, origin); in deleteDatabase()
335 COMPtr<WebSecurityOrigin> securityOrigin(AdoptCOM, WebSecurityOrigin::createInstance(origin)); in dispatchDidModifyOrigin()
344 COMPtr<WebSecurityOrigin> securityOrigin(AdoptCOM, WebSecurityOrigin::createInstance(origin)); in dispatchDidModifyDatabase()
352COMPtr<CFDictionaryPropertyBag> userInfoBag(AdoptCOM, CFDictionaryPropertyBag::createInstance()); in dispatchDidModifyDatabase()
DWebURLAuthenticationChallenge.cpp127 COMPtr<WebURLProtectionSpace> webSpace; in initWithProtectionSpace()
132 COMPtr<WebURLCredential> webCredential(Query, proposedCredential); in initWithProtectionSpace()
136 COMPtr<WebURLResponse> webResponse; in initWithProtectionSpace()
141 COMPtr<WebError> webError; in initWithProtectionSpace()
146 COMPtr<WebURLAuthenticationChallengeSender> webSender(Query, sender); in initWithProtectionSpace()
166 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in initWithAuthenticationChallenge()
170 COMPtr<WebURLAuthenticationChallengeSender> webSender(Query, sender); in initWithAuthenticationChallenge()
DWebURLAuthenticationChallengeSenderCFNet.cpp47 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in cancelAuthenticationChallenge()
58 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in continueWithoutCredentialForAuthenticationChallenge()
70 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in useCredential()
74 COMPtr<WebURLCredential> webCredential; in useCredential()
DWebFrame.cpp169 COMPtr<IDOMElementPrivate> elePriv; in elementFromDOMElement()
231 COMPtr<WebFramePolicyListener> m_policyListener;
441 COMPtr<IDOMElement> domElement(AdoptCOM, DOMElement::createInstance(coreFrame->ownerElement())); in frameElement()
442 COMPtr<IDOMHTMLElement> htmlElement(Query, domElement); in frameElement()
477 COMPtr<WebMutableURLRequest> requestImpl; in loadRequest()
1075 COMPtr<DOMNode> domNode(Query, node); in pauseAnimation()
1098 COMPtr<DOMNode> domNode(Query, node); in pauseTransition()
1248 COMPtr<IWebDataSource> dataSource; in canProvideDocumentSource()
1253 COMPtr<IWebURLResponse> urlResponse; in canProvideDocumentSource()
1315 COMPtr<IWebFormDelegate> formDelegate; in dispatchWillSubmitForm()
[all …]
DWebKitCOMAPI.cpp49 static COMPtr<IClassFactory> classFactory(const CLSID& clsid) in classFactory()
51 typedef HashMap<CLSID, COMPtr<IClassFactory>, CLSIDHash, CLSIDHashTraits> FactoryMap; in classFactory()
55 COMPtr<IClassFactory>& factory = result.first->second; in classFactory()
65 COMPtr<IClassFactory> factory = classFactory(rclsid); in WebKitCreateInstance()
DWebDownloadCFNet.cpp129 COMPtr<WebMutableURLRequest> webRequest; in initWithRequest()
312 COMPtr<WebError> webError(AdoptCOM, WebError::createInstance(error)); in cancelAuthenticationChallenge()
321 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in continueWithoutCredentialForAuthenticationChallenge()
334 COMPtr<WebURLAuthenticationChallenge> webChallenge(Query, challenge); in useCredential()
338 COMPtr<WebURLCredential> webCredential(Query, credential); in useCredential()
363COMPtr<WebMutableURLRequest> webRequest(AdoptCOM, WebMutableURLRequest::createInstance(ResourceReq… in willSendRequest()
364COMPtr<WebURLResponse> webResponse(AdoptCOM, WebURLResponse::createInstance(ResourceResponse(respo… in willSendRequest()
365 COMPtr<IWebMutableURLRequest> finalRequest; in willSendRequest()
373COMPtr<WebMutableURLRequest> finalWebRequest(AdoptCOM, WebMutableURLRequest::createInstance(finalR… in willSendRequest()
391 COMPtr<IWebURLAuthenticationChallenge> webChallenge(AdoptCOM, in didReceiveAuthenticationChallenge()
[all …]
DDOMCreateInstance.cpp157 COMPtr<COM_DOM_PREFIX(Type)> comDOMObject = new COM_DOM_PREFIX(Type)(impl); \
174 COMPtr<GEN_DOMNode> domNode; in createInstance()
240 COMPtr<GEN_DOMImplementation> comDOMObject = new GEN_DOMImplementation(impl); in createInstance()
267 COMPtr<GEN_DOMCSSRule> domRule; in CREATE_ONLY_SELF()
307 COMPtr<GEN_DOMStyleSheet> domStyleSheet; in createInstance()
328 COMPtr<GEN_DOMCSSValue> domValue; in createInstance()
DWebIconFetcher.cpp47 COMPtr<MemoryStream> memoryStream; in finishedFetchingIcon()
60 COMPtr<IWebIconFetcherDelegate> m_delegate;
74 COMPtr<WebIconFetcher> iconFetcher = new WebIconFetcher(fetcher.release()); in fetchApplicationIcon()
DWebNotificationCenter.cpp44 typedef std::pair<COMPtr<IUnknown>, COMPtr<IWebNotificationObserver> > ObjectObserverPair;
171 COMPtr<IUnknown> obj; in postNotification()
187COMPtr<WebNotification> notification(AdoptCOM, WebNotification::createInstance(notificationName, a… in postNotificationName()
DWebView.h872 COMPtr<IWebEditingDelegate> m_editingDelegate;
873 COMPtr<IWebFrameLoadDelegate> m_frameLoadDelegate;
874 COMPtr<IWebFrameLoadDelegatePrivate> m_frameLoadDelegatePrivate;
875 COMPtr<IWebUIDelegate> m_uiDelegate;
876 COMPtr<IWebUIDelegatePrivate> m_uiDelegatePrivate;
877 COMPtr<IWebFormDelegate> m_formDelegate;
878 COMPtr<IWebPolicyDelegate> m_policyDelegate;
879 COMPtr<IWebResourceLoadDelegate> m_resourceLoadDelegate;
880 COMPtr<IWebDownloadDelegate> m_downloadDelegate;
881 COMPtr<WebPreferences> m_preferences;
[all …]
DCOMVariantSetter.h86 template<typename T> struct COMVariantSetter<COMPtr<T> > : COMVariantSetterBase<COMPtr<T> >
90 static void setVariant(VARIANT* variant, const COMPtr<T>& value)
DWebBackForwardList.cpp121 COMPtr<WebHistoryItem> webHistoryItem; in addItem()
145 COMPtr<WebHistoryItem> webHistoryItem; in goToItem()
268 COMPtr<WebHistoryItem> webHistoryItem; in containsItem()
298 COMPtr<WebHistoryItem> webHistoryItem; in removeItem()

1234