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

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

Issue 1089813002: Change beforeinstallprompt event to take an array of platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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) 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 virtual WebAutofillClient* autofillClient() override; 236 virtual WebAutofillClient* autofillClient() override;
237 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) override; 237 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) override;
238 virtual WebDevToolsAgent* devToolsAgent() override; 238 virtual WebDevToolsAgent* devToolsAgent() override;
239 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) override; 239 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) override;
240 virtual bool isLoading() const override; 240 virtual bool isLoading() const override;
241 virtual bool isResourceLoadInProgress() const override; 241 virtual bool isResourceLoadInProgress() const override;
242 virtual void setCommittedFirstRealLoad() override; 242 virtual void setCommittedFirstRealLoad() override;
243 virtual void addStyleSheetByURL(const WebString& url) override; 243 virtual void addStyleSheetByURL(const WebString& url) override;
244 virtual void navigateToSandboxedMarkup(const WebData& markup) override; 244 virtual void navigateToSandboxedMarkup(const WebData& markup) override;
245 virtual void sendOrientationChangeEvent() override; 245 virtual void sendOrientationChangeEvent() override;
246 virtual void willShowInstallBannerPrompt(const WebVector<WebString>& platfor ms, WebAppBannerPromptReply*) override;
246 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa nnerPromptReply*) override; 247 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa nnerPromptReply*) override;
247 void requestRunTask(WebSuspendableTask*) const override; 248 void requestRunTask(WebSuspendableTask*) const override;
248 249
249 void willBeDetached(); 250 void willBeDetached();
250 void willDetachParent(); 251 void willDetachParent();
251 252
252 static WebLocalFrameImpl* create(WebFrameClient*); 253 static WebLocalFrameImpl* create(WebFrameClient*);
253 virtual ~WebLocalFrameImpl(); 254 virtual ~WebLocalFrameImpl();
254 255
255 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName); 256 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName);
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 GC_PLUGIN_IGNORE("340522") 402 GC_PLUGIN_IGNORE("340522")
402 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 403 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
403 #endif 404 #endif
404 }; 405 };
405 406
406 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
407 408
408 } // namespace blink 409 } // namespace blink
409 410
410 #endif 411 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698