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

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

Issue 23506013: Make the embedder responsible for creating the WebFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix style Created 7 years, 3 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 | « public/web/WebFrame.h ('k') | no next file » | 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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 101
102 // General notifications ----------------------------------------------- 102 // General notifications -----------------------------------------------
103 103
104 // Indicates that another page has accessed the DOM of the initial empty 104 // Indicates that another page has accessed the DOM of the initial empty
105 // document of a main frame. After this, it is no longer safe to show a 105 // document of a main frame. After this, it is no longer safe to show a
106 // pending navigation's URL, because a URL spoof is possible. 106 // pending navigation's URL, because a URL spoof is possible.
107 virtual void didAccessInitialDocument(WebFrame*) { } 107 virtual void didAccessInitialDocument(WebFrame*) { }
108 108
109 // A child frame was created in this frame. This is called when the frame 109 // A child frame was created in this frame. This is called when the frame
110 // is created and initialized. 110 // is created and initialized. Takes the name of the new frame.
111 virtual void didCreateFrame(WebFrame* parent, WebFrame* child) { } 111 virtual WebFrame* didCreateFrame(WebString) { return 0; }
darin (slow to review) 2013/09/05 06:07:53 note: it may seem as though blink / webkit coding
112 112
113 // This frame set its opener to null, disowning it. 113 // This frame set its opener to null, disowning it.
114 // See http://html.spec.whatwg.org/#dom-opener. 114 // See http://html.spec.whatwg.org/#dom-opener.
115 virtual void didDisownOpener(WebFrame*) { } 115 virtual void didDisownOpener(WebFrame*) { }
116 116
117 // This frame has been detached from the view, but has not been closed yet. 117 // This frame has been detached from the view, but has not been closed yet.
118 virtual void frameDetached(WebFrame*) { } 118 virtual void frameDetached(WebFrame*) { }
119 119
120 // This frame is about to be closed. This is called after frameDetached, 120 // This frame is about to be closed. This is called after frameDetached,
121 // when the document is being unloaded, due to new one committing. 121 // when the document is being unloaded, due to new one committing.
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 // Extensions3D.h in WebCore/platform/graphics). 361 // Extensions3D.h in WebCore/platform/graphics).
362 virtual void didLoseWebGLContext(WebFrame*, int) { } 362 virtual void didLoseWebGLContext(WebFrame*, int) { }
363 363
364 protected: 364 protected:
365 ~WebFrameClient() { } 365 ~WebFrameClient() { }
366 }; 366 };
367 367
368 } // namespace WebKit 368 } // namespace WebKit
369 369
370 #endif 370 #endif
OLDNEW
« no previous file with comments | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698