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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |