OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |