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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 beforeunload handlers for the current page, returning false if | 151 // Runs beforeunload handlers for the current page, returning false if |
152 // any handler suppressed unloading. | 152 // any handler suppressed unloading. |
| 153 // OBSOLETE; DO NOT USE. Call it on WebFrame instead. |
153 virtual bool dispatchBeforeUnloadEvent() = 0; | 154 virtual bool dispatchBeforeUnloadEvent() = 0; |
154 | 155 |
155 // Runs unload handlers for the current page. | 156 // Runs unload handlers for the current page. |
156 virtual void dispatchUnloadEvent() = 0; | 157 virtual void dispatchUnloadEvent() = 0; |
157 | 158 |
158 | 159 |
159 // Frames -------------------------------------------------------------- | 160 // Frames -------------------------------------------------------------- |
160 | 161 |
161 virtual WebFrame* mainFrame() = 0; | 162 virtual WebFrame* mainFrame() = 0; |
162 | 163 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 | 497 |
497 // Testing functionality for TestRunner --------------------------------- | 498 // Testing functionality for TestRunner --------------------------------- |
498 | 499 |
499 protected: | 500 protected: |
500 ~WebView() {} | 501 ~WebView() {} |
501 }; | 502 }; |
502 | 503 |
503 } // namespace blink | 504 } // namespace blink |
504 | 505 |
505 #endif | 506 #endif |
OLD | NEW |