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

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

Issue 942913002: [AppBanner] Blink implementation of an event when an install banner is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 5 years, 9 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) override; 228 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) override;
229 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags) override; 229 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags) override;
230 virtual void setAutofillClient(WebAutofillClient*) override; 230 virtual void setAutofillClient(WebAutofillClient*) override;
231 virtual WebAutofillClient* autofillClient() override; 231 virtual WebAutofillClient* autofillClient() override;
232 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) override; 232 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) override;
233 virtual bool isLoading() const override; 233 virtual bool isLoading() const override;
234 virtual bool isResourceLoadInProgress() const override; 234 virtual bool isResourceLoadInProgress() const override;
235 virtual void addStyleSheetByURL(const WebString& url) override; 235 virtual void addStyleSheetByURL(const WebString& url) override;
236 virtual void navigateToSandboxedMarkup(const WebData& markup) override; 236 virtual void navigateToSandboxedMarkup(const WebData& markup) override;
237 virtual void sendOrientationChangeEvent() override; 237 virtual void sendOrientationChangeEvent() override;
238 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa nnerPromptReply*) override;
238 239
239 void willDetachParent(); 240 void willDetachParent();
240 241
241 static WebLocalFrameImpl* create(WebFrameClient*); 242 static WebLocalFrameImpl* create(WebFrameClient*);
242 virtual ~WebLocalFrameImpl(); 243 virtual ~WebLocalFrameImpl();
243 244
244 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName); 245 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName);
245 246
246 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&, HTMLFrameOwnerElement*); 247 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&, HTMLFrameOwnerElement*);
247 248
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 GC_PLUGIN_IGNORE("340522") 385 GC_PLUGIN_IGNORE("340522")
385 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 386 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
386 #endif 387 #endif
387 }; 388 };
388 389
389 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 390 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
390 391
391 } // namespace blink 392 } // namespace blink
392 393
393 #endif 394 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698