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

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

Issue 219163005: Move dispatchUnloadEvent to WebFrame, part 1/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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
« 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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // Allows setting the state of the various bars exposed via BarProp 143 // Allows setting the state of the various bars exposed via BarProp
144 // properties on the window object. The size related fields of 144 // properties on the window object. The size related fields of
145 // WebWindowFeatures are ignored. 145 // WebWindowFeatures are ignored.
146 virtual void setWindowFeatures(const WebWindowFeatures&) = 0; 146 virtual void setWindowFeatures(const WebWindowFeatures&) = 0;
147 147
148 148
149 // Closing ------------------------------------------------------------- 149 // Closing -------------------------------------------------------------
150 150
151 // Runs unload handlers for the current page. 151 // Runs unload handlers for the current page.
152 // OBSOLETE; DO NOT USE. Call it on WebFrame instead.
152 virtual void dispatchUnloadEvent() = 0; 153 virtual void dispatchUnloadEvent() = 0;
153 154
154 155
155 // Frames -------------------------------------------------------------- 156 // Frames --------------------------------------------------------------
156 157
157 virtual WebFrame* mainFrame() = 0; 158 virtual WebFrame* mainFrame() = 0;
158 159
159 // Returns the frame identified by the given name. This method 160 // Returns the frame identified by the given name. This method
160 // supports pseudo-names like _self, _top, and _blank. It traverses 161 // supports pseudo-names like _self, _top, and _blank. It traverses
161 // the entire frame tree containing this tree looking for a frame that 162 // the entire frame tree containing this tree looking for a frame that
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 489
489 // Testing functionality for TestRunner --------------------------------- 490 // Testing functionality for TestRunner ---------------------------------
490 491
491 protected: 492 protected:
492 ~WebView() {} 493 ~WebView() {}
493 }; 494 };
494 495
495 } // namespace blink 496 } // namespace blink
496 497
497 #endif 498 #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