Home
last modified time | relevance | path

Searched refs:APIObject (Results 1 – 25 of 133) sorted by relevance

123456

/external/webkit/Source/WebKit2/Shared/
DUserMessageCoders.h62 bool baseEncode(CoreIPC::ArgumentEncoder* encoder, APIObject::Type& type) const in baseEncode()
65 encoder->encodeUInt32(APIObject::TypeNull); in baseEncode()
73 case APIObject::TypeArray: { in baseEncode()
80 case APIObject::TypeDictionary: { in baseEncode()
93 case APIObject::TypeString: { in baseEncode()
98 case APIObject::TypeSerializedScriptValue: { in baseEncode()
103 case APIObject::TypeDouble: { in baseEncode()
108 case APIObject::TypeUInt64: { in baseEncode()
113 case APIObject::TypeBoolean: { in baseEncode()
118 case APIObject::TypeURL: { in baseEncode()
[all …]
DImmutableArray.h38 class ImmutableArray : public APIObject {
46 static PassRefPtr<ImmutableArray> create(APIObject** entries, size_t size) in create()
50 static PassRefPtr<ImmutableArray> adopt(Vector<RefPtr<APIObject> >& entries) in adopt()
60 APIObject* at(size_t i) { return m_entries[i].get(); } in at()
67 ImmutableArray(APIObject** entries, size_t size);
68 ImmutableArray(Vector<RefPtr<APIObject> >& entries);
72 Vector<RefPtr<APIObject> > m_entries;
DWebNumber.h34 template<typename NumberType, APIObject::Type APIObjectType>
35 class WebNumber : public APIObject {
57 typedef WebNumber<bool, APIObject::TypeBoolean> WebBoolean;
58 typedef WebNumber<double, APIObject::TypeDouble> WebDouble;
59 typedef WebNumber<uint64_t, APIObject::TypeUInt64> WebUInt64;
DAPIObject.h33 class APIObject : public RefCounted<APIObject> {
113 virtual ~APIObject() in ~APIObject()
120 APIObject() in APIObject() function
DImmutableDictionary.h41 class ImmutableDictionary : public APIObject {
45 typedef HashMap<String, RefPtr<APIObject> > MapType;
63 RefPtr<APIObject> item = m_map.get(key); in get()
73 APIObject* get(const String& key) in get()
DWebContextMenuItemData.h43 class APIObject; variable
61 APIObject* userData() const;
62 void setUserData(APIObject*);
74 RefPtr<APIObject> m_userData;
DWebContextMenuItem.h36 class WebContextMenuItem : public APIObject {
49 APIObject* userData() const;
50 void setUserData(APIObject*);
DWebContextMenuItem.cpp69 Vector<RefPtr<APIObject> > result; in submenuItemsAsImmutableArray()
78 APIObject* WebContextMenuItem::userData() const in userData()
83 void WebContextMenuItem::setUserData(APIObject* userData) in setUserData()
/external/webkit/Source/WebKit2/UIProcess/
DWebLoaderClient.h42 class APIObject; variable
52 void didStartProvisionalLoadForFrame(WebPageProxy*, WebFrameProxy*, APIObject*);
53 …void didReceiveServerRedirectForProvisionalLoadForFrame(WebPageProxy*, WebFrameProxy*, APIObject*);
54 …nalLoadWithErrorForFrame(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, APIObject*);
55 void didCommitLoadForFrame(WebPageProxy*, WebFrameProxy*, APIObject*);
56 void didFinishDocumentLoadForFrame(WebPageProxy*, WebFrameProxy*, APIObject*);
57 void didFinishLoadForFrame(WebPageProxy*, WebFrameProxy*, APIObject*);
58 …ailLoadWithErrorForFrame(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, APIObject*);
59 …eDocumentNavigationForFrame(WebPageProxy*, WebFrameProxy*, SameDocumentNavigationType, APIObject*);
60 void didReceiveTitleForFrame(WebPageProxy*, const String&, WebFrameProxy*, APIObject*);
[all …]
DWebContextUserMessageCoders.h44 WebContextUserMessageEncoder(APIObject* root) in WebContextUserMessageEncoder()
51 APIObject::Type type = APIObject::TypeNull; in encode()
56 case APIObject::TypePage: { in encode()
61 case APIObject::TypeFrame: { in encode()
66 case APIObject::TypePageGroup: { in encode()
87 WebContextUserMessageDecoder(RefPtr<APIObject>& root, WebContext* context) in WebContextUserMessageDecoder()
93 …WebContextUserMessageDecoder(WebContextUserMessageDecoder& userMessageDecoder, RefPtr<APIObject>& … in WebContextUserMessageDecoder()
101 APIObject::Type type = APIObject::TypeNull; in decode()
105 if (coder.m_root || type == APIObject::TypeNull) in decode()
109 case APIObject::TypeBundlePage: { in decode()
[all …]
DWebLoaderClient.cpp38 …ent::didStartProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* userData) in didStartProvisionalLoadForFrame()
46 …erRedirectForProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* userData) in didReceiveServerRedirectForProvisionalLoadForFrame()
54 …ForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, APIObject* userData) in didFailProvisionalLoadWithErrorForFrame()
62 void WebLoaderClient::didCommitLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* us… in didCommitLoadForFrame()
70 …lient::didFinishDocumentLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* userData) in didFinishDocumentLoadForFrame()
78 void WebLoaderClient::didFinishLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* us… in didFinishLoadForFrame()
86 …ForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, APIObject* userData) in didFailLoadWithErrorForFrame()
94 …ame(WebPageProxy* page, WebFrameProxy* frame, SameDocumentNavigationType type, APIObject* userData) in didSameDocumentNavigationForFrame()
102 …veTitleForFrame(WebPageProxy* page, const String& title, WebFrameProxy* frame, APIObject* userData) in didReceiveTitleForFrame()
110 void WebLoaderClient::didFirstLayoutForFrame(WebPageProxy* page, WebFrameProxy* frame, APIObject* u… in didFirstLayoutForFrame()
[all …]
DWebPolicyClient.h43 class APIObject; variable
50 …Event::Button, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData);
51 …ore::ResourceRequest&, const String& frameName, WebFramePolicyListenerProxy*, APIObject* userData);
52 …urceResponse&, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData);
53 …ImplementPolicy(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, APIObject* userData);
DWebContextInjectedBundleClient.h35 class APIObject; variable
40 void didReceiveMessageFromInjectedBundle(WebContext*, const String&, APIObject*);
41 …chronousMessageFromInjectedBundle(WebContext*, const String&, APIObject*, RefPtr<APIObject>& retur…
DWebContext.h60 class WebContext : public APIObject {
95 …void setInjectedBundleInitializationUserData(PassRefPtr<APIObject> userData) { m_injectedBundleIni… in setInjectedBundleInitializationUserData()
96APIObject* injectedBundleInitializationUserData() const { return m_injectedBundleInitializationUse… in injectedBundleInitializationUserData()
98 void postMessageToInjectedBundle(const String&, APIObject*);
101 void didReceiveMessageFromInjectedBundle(const String&, APIObject*);
102 …void didReceiveSynchronousMessageFromInjectedBundle(const String&, APIObject*, RefPtr<APIObject>& …
223 RefPtr<APIObject> m_injectedBundleInitializationUserData;
238 Vector<pair<String, RefPtr<APIObject> > > m_pendingMessagesToPostToInjectedBundle;
DWebContextInjectedBundleClient.cpp36 …veMessageFromInjectedBundle(WebContext* context, const String& messageName, APIObject* messageBody) in didReceiveMessageFromInjectedBundle()
44 …dBundle(WebContext* context, const String& messageName, APIObject* messageBody, RefPtr<APIObject>&… in didReceiveSynchronousMessageFromInjectedBundle()
DWebPolicyClient.cpp37 …const ResourceRequest& resourceRequest, WebFramePolicyListenerProxy* listener, APIObject* userData) in decidePolicyForNavigationAction()
48 …sourceRequest, const String& frameName, WebFramePolicyListenerProxy* listener, APIObject* userData) in decidePolicyForNewWindowAction()
59 …const ResourceRequest& resourceRequest, WebFramePolicyListenerProxy* listener, APIObject* userData) in decidePolicyForResponse()
71 …ntPolicy(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, APIObject* userData) in unableToImplementPolicy()
DWebDatabaseManagerProxy.cpp135 Vector<RefPtr<APIObject> > result(originAndDatabasesCount); in didGetDatabasesByOrigin()
140 RefPtr<APIObject> origin = WebSecurityOrigin::create(originAndDatabases.originIdentifier); in didGetDatabasesByOrigin()
143 Vector<RefPtr<APIObject> > databases(databasesCount); in didGetDatabasesByOrigin()
147 HashMap<String, RefPtr<APIObject> > detailsMap; in didGetDatabasesByOrigin()
156 HashMap<String, RefPtr<APIObject> > originAndDatabasesMap; in didGetDatabasesByOrigin()
188 Vector<RefPtr<APIObject> > securityOrigins(originIdentifiersCount); in didGetDatabaseOrigins()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundlePageLoaderClient.h44 class APIObject; variable
50 void didStartProvisionalLoadForFrame(WebPage*, WebFrame*, RefPtr<APIObject>& userData);
51 …void didReceiveServerRedirectForProvisionalLoadForFrame(WebPage*, WebFrame*, RefPtr<APIObject>& us…
52 …WithErrorForFrame(WebPage*, WebFrame*, const WebCore::ResourceError&, RefPtr<APIObject>& userData);
53 void didCommitLoadForFrame(WebPage*, WebFrame*, RefPtr<APIObject>& userData);
54 void didFinishDocumentLoadForFrame(WebPage*, WebFrame*, RefPtr<APIObject>& userData);
55 void didFinishLoadForFrame(WebPage*, WebFrame*, RefPtr<APIObject>& userData);
56 …WithErrorForFrame(WebPage*, WebFrame*, const WebCore::ResourceError&, RefPtr<APIObject>& userData);
57 …ntNavigationForFrame(WebPage*, WebFrame*, SameDocumentNavigationType, RefPtr<APIObject>& userData);
58 void didReceiveTitleForFrame(WebPage*, const String&, WebFrame*, RefPtr<APIObject>& userData);
[all …]
DInjectedBundleUserMessageCoders.h47 InjectedBundleUserMessageEncoder(APIObject* root) in InjectedBundleUserMessageEncoder()
54 APIObject::Type type = APIObject::TypeNull; in encode()
59 case APIObject::TypeBundlePage: { in encode()
64 case APIObject::TypeBundleFrame: { in encode()
69 case APIObject::TypeBundlePageGroup: { in encode()
90 InjectedBundleUserMessageDecoder(RefPtr<APIObject>& root) in InjectedBundleUserMessageDecoder()
95 InjectedBundleUserMessageDecoder(InjectedBundleUserMessageDecoder&, RefPtr<APIObject>& root) in InjectedBundleUserMessageDecoder()
102 APIObject::Type type = APIObject::TypeNull; in decode()
106 if (coder.m_root || type == APIObject::TypeNull) in decode()
110 case APIObject::TypePage: { in decode()
[all …]
DInjectedBundlePageLoaderClient.cpp39 …lient::didStartProvisionalLoadForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didStartProvisionalLoadForFrame()
49 …rverRedirectForProvisionalLoadForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didReceiveServerRedirectForProvisionalLoadForFrame()
59 …orForFrame(WebPage* page, WebFrame* frame, const ResourceError& error, RefPtr<APIObject>& userData) in didFailProvisionalLoadWithErrorForFrame()
69 …ageLoaderClient::didCommitLoadForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didCommitLoadForFrame()
79 …rClient::didFinishDocumentLoadForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didFinishDocumentLoadForFrame()
89 …ageLoaderClient::didFinishLoadForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didFinishLoadForFrame()
99 …orForFrame(WebPage* page, WebFrame* frame, const ResourceError& error, RefPtr<APIObject>& userData) in didFailLoadWithErrorForFrame()
109 …Frame(WebPage* page, WebFrame* frame, SameDocumentNavigationType type, RefPtr<APIObject>& userData) in didSameDocumentNavigationForFrame()
119 …eiveTitleForFrame(WebPage* page, const String& title, WebFrame* frame, RefPtr<APIObject>& userData) in didReceiveTitleForFrame()
129 …geLoaderClient::didFirstLayoutForFrame(WebPage* page, WebFrame* frame, RefPtr<APIObject>& userData) in didFirstLayoutForFrame()
[all …]
DInjectedBundle.h67 class InjectedBundle : public APIObject {
77 bool load(APIObject* initializationUserData);
82 void postMessage(const String&, APIObject*);
83 void postSynchronousMessage(const String&, APIObject*, RefPtr<APIObject>& returnData);
123 void didReceiveMessage(const String&, APIObject*);
DInjectedBundlePagePolicyClient.h48 …e*, InjectedBundleNavigationAction*, const WebCore::ResourceRequest&, RefPtr<APIObject>& userData);
49 …ionAction*, const WebCore::ResourceRequest&, const String& frameName, RefPtr<APIObject>& userData);
50 …*, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, RefPtr<APIObject>& userData);
51 …ToImplementPolicy(WebPage*, WebFrame*, const WebCore::ResourceError&, RefPtr<APIObject>& userData);
DInjectedBundlePagePolicyClient.cpp37 …undleNavigationAction* action, const ResourceRequest& resourceRequest, RefPtr<APIObject>& userData) in decidePolicyForNavigationAction()
50 …tion, const ResourceRequest& resourceRequest, const String& frameName, RefPtr<APIObject>& userData) in decidePolicyForNewWindowAction()
63 …rceResponse& resourceResponse, const ResourceRequest& resourceRequest, RefPtr<APIObject>& userData) in decidePolicyForResponse()
77 …y(WebPage* page, WebFrame* frame, const WebCore::ResourceError& error, RefPtr<APIObject>& userData) in unableToImplementPolicy()
/external/webkit/Source/WebKit2/Shared/API/c/
DWKType.cpp36 return toAPI(static_cast<APIObject*>(const_cast<void*>(typeRef))->type()); in WKGetTypeID()
41 static_cast<APIObject*>(const_cast<void*>(typeRef))->ref(); in WKRetain()
47 static_cast<APIObject*>(const_cast<void*>(typeRef))->deref(); in WKRelease()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebFrameLoaderClient.cpp130 RefPtr<APIObject> userData; in detachedFromParent2()
284 RefPtr<APIObject> userData; in dispatchDidReceiveServerRedirectForProvisionalLoad()
319 RefPtr<APIObject> userData; in dispatchDidChangeLocationWithinPage()
334 RefPtr<APIObject> userData; in dispatchDidPushStateWithinPage()
349 RefPtr<APIObject> userData; in dispatchDidReplaceStateWithinPage()
364 RefPtr<APIObject> userData; in dispatchDidPopStateWithinPage()
394 RefPtr<APIObject> userData; in dispatchDidStartProvisionalLoad()
411 RefPtr<APIObject> userData; in dispatchDidReceiveTitle()
433 RefPtr<APIObject> userData; in dispatchDidCommitLoad()
457 RefPtr<APIObject> userData; in dispatchDidFailProvisionalLoad()
[all …]

123456