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

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 1208423015: Make sendPings accommodate any context node. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/web/WebLocalFrameImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Creates a test interface by name if available, returns an empty handle 233 // Creates a test interface by name if available, returns an empty handle
234 // for unknown names. 234 // for unknown names.
235 v8::Local<v8::Value> createTestInterface(const AtomicString& name); 235 v8::Local<v8::Value> createTestInterface(const AtomicString& name);
236 236
237 // WebLocalFrame methods: 237 // WebLocalFrame methods:
238 void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString& name, WebSandboxFlags) override; 238 void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString& name, WebSandboxFlags) override;
239 void setAutofillClient(WebAutofillClient*) override; 239 void setAutofillClient(WebAutofillClient*) override;
240 WebAutofillClient* autofillClient() override; 240 WebAutofillClient* autofillClient() override;
241 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; 241 void setDevToolsAgentClient(WebDevToolsAgentClient*) override;
242 WebDevToolsAgent* devToolsAgent() override; 242 WebDevToolsAgent* devToolsAgent() override;
243 void sendPings(const WebNode& linkNode, const WebURL& destinationURL) overri de; 243 void sendPings(const WebNode& contextNode, const WebURL& destinationURL) ove rride;
244 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRequest::C achePolicy) 244 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRequest::C achePolicy)
245 const override; 245 const override;
246 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de; 246 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de;
247 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, 247 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&,
248 WebHistoryLoadType) override; 248 WebHistoryLoadType) override;
249 bool isLoading() const override; 249 bool isLoading() const override;
250 bool isResourceLoadInProgress() const override; 250 bool isResourceLoadInProgress() const override;
251 void setCommittedFirstRealLoad() override; 251 void setCommittedFirstRealLoad() override;
252 void sendOrientationChangeEvent() override; 252 void sendOrientationChangeEvent() override;
253 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override; 253 void willShowInstallBannerPrompt(int requestId, const WebVector<WebString>& platforms, WebAppBannerPromptReply*) override;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 GC_PLUGIN_IGNORE("340522") 406 GC_PLUGIN_IGNORE("340522")
407 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 407 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
408 #endif 408 #endif
409 }; 409 };
410 410
411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
412 412
413 } // namespace blink 413 } // namespace blink
414 414
415 #endif 415 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698