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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2874133002: Removed WebFrameClient.cpp from Source/web (Closed)
Patch Set: Added TODO back Created 3 years, 7 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // if opener is null. See http://html.spec.whatwg.org/#dom-opener. 205 // if opener is null. See http://html.spec.whatwg.org/#dom-opener.
206 virtual void DidChangeOpener(WebFrame*) {} 206 virtual void DidChangeOpener(WebFrame*) {}
207 207
208 // Specifies the reason for the detachment. 208 // Specifies the reason for the detachment.
209 enum class DetachType { kRemove, kSwap }; 209 enum class DetachType { kRemove, kSwap };
210 210
211 // This frame has been detached. Embedders should release any resources 211 // This frame has been detached. Embedders should release any resources
212 // associated with this frame. If the DetachType is Remove, the frame should 212 // associated with this frame. If the DetachType is Remove, the frame should
213 // also be removed from the frame tree; otherwise, if the DetachType is 213 // also be removed from the frame tree; otherwise, if the DetachType is
214 // Swap, the frame is being replaced in-place by WebFrame::swap(). 214 // Swap, the frame is being replaced in-place by WebFrame::swap().
215 virtual void FrameDetached(WebLocalFrame*, DetachType); 215 virtual void FrameDetached(WebLocalFrame*, DetachType) {}
216 216
217 // This frame has become focused. 217 // This frame has become focused.
218 virtual void FrameFocused() {} 218 virtual void FrameFocused() {}
219 219
220 // A provisional load is about to commit. 220 // A provisional load is about to commit.
221 virtual void WillCommitProvisionalLoad() {} 221 virtual void WillCommitProvisionalLoad() {}
222 222
223 // This frame's name has changed. 223 // This frame's name has changed.
224 virtual void DidChangeName(const WebString& name) {} 224 virtual void DidChangeName(const WebString& name) {}
225 225
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 // Overwrites the given URL to use an HTML5 embed if possible. 788 // Overwrites the given URL to use an HTML5 embed if possible.
789 // An empty URL is returned if the URL is not overriden. 789 // An empty URL is returned if the URL is not overriden.
790 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { 790 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
791 return WebURL(); 791 return WebURL();
792 } 792 }
793 }; 793 };
794 794
795 } // namespace blink 795 } // namespace blink
796 796
797 #endif 797 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698