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

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

Issue 220233008: Move dispatchUnloadEvent to WebFrame, part 3/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « Source/web/WebViewImpl.cpp ('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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // Allows disabling domain relaxation. 142 // Allows disabling domain relaxation.
143 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0 ; 143 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0 ;
144 144
145 // Allows setting the state of the various bars exposed via BarProp 145 // Allows setting the state of the various bars exposed via BarProp
146 // properties on the window object. The size related fields of 146 // properties on the window object. The size related fields of
147 // WebWindowFeatures are ignored. 147 // WebWindowFeatures are ignored.
148 virtual void setWindowFeatures(const WebWindowFeatures&) = 0; 148 virtual void setWindowFeatures(const WebWindowFeatures&) = 0;
149 149
150 150
151 // Closing -------------------------------------------------------------
152
153 // Runs unload handlers for the current page.
154 // OBSOLETE; DO NOT USE. Call it on WebFrame instead.
155 virtual void dispatchUnloadEvent() = 0;
156
157
158 // Frames -------------------------------------------------------------- 151 // Frames --------------------------------------------------------------
159 152
160 virtual WebFrame* mainFrame() = 0; 153 virtual WebFrame* mainFrame() = 0;
161 154
162 // Returns the frame identified by the given name. This method 155 // Returns the frame identified by the given name. This method
163 // supports pseudo-names like _self, _top, and _blank. It traverses 156 // supports pseudo-names like _self, _top, and _blank. It traverses
164 // the entire frame tree containing this tree looking for a frame that 157 // the entire frame tree containing this tree looking for a frame that
165 // matches the given name. If the optional relativeToFrame parameter 158 // matches the given name. If the optional relativeToFrame parameter
166 // is specified, then the search begins with the given frame and its 159 // is specified, then the search begins with the given frame and its
167 // children. 160 // children.
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 492
500 // Testing functionality for TestRunner --------------------------------- 493 // Testing functionality for TestRunner ---------------------------------
501 494
502 protected: 495 protected:
503 ~WebView() {} 496 ~WebView() {}
504 }; 497 };
505 498
506 } // namespace blink 499 } // namespace blink
507 500
508 #endif 501 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698