| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 240 |
| 241 virtual WebPerformance performance() const = 0; | 241 virtual WebPerformance performance() const = 0; |
| 242 | 242 |
| 243 | 243 |
| 244 // Closing ------------------------------------------------------------- | 244 // Closing ------------------------------------------------------------- |
| 245 | 245 |
| 246 // Runs beforeunload handlers for this frame, returning false if a | 246 // Runs beforeunload handlers for this frame, returning false if a |
| 247 // handler suppressed unloading. | 247 // handler suppressed unloading. |
| 248 virtual bool dispatchBeforeUnloadEvent() = 0; | 248 virtual bool dispatchBeforeUnloadEvent() = 0; |
| 249 | 249 |
| 250 // Runs unload handlers for this frame. |
| 251 virtual void dispatchUnloadEvent() = 0; |
| 252 |
| 250 | 253 |
| 251 // Scripting ---------------------------------------------------------- | 254 // Scripting ---------------------------------------------------------- |
| 252 | 255 |
| 253 // Returns a NPObject corresponding to this frame's DOMWindow. | 256 // Returns a NPObject corresponding to this frame's DOMWindow. |
| 254 virtual NPObject* windowObject() const = 0; | 257 virtual NPObject* windowObject() const = 0; |
| 255 | 258 |
| 256 // Binds a NPObject as a property of this frame's DOMWindow. | 259 // Binds a NPObject as a property of this frame's DOMWindow. |
| 257 virtual void bindToWindowObject(const WebString& name, NPObject*) = 0; | 260 virtual void bindToWindowObject(const WebString& name, NPObject*) = 0; |
| 258 virtual void bindToWindowObject( | 261 virtual void bindToWindowObject( |
| 259 const WebString& name, NPObject*, void*) = 0; | 262 const WebString& name, NPObject*, void*) = 0; |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 // text form. This is used only by layout tests. | 677 // text form. This is used only by layout tests. |
| 675 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 678 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
| 676 | 679 |
| 677 protected: | 680 protected: |
| 678 ~WebFrame() { } | 681 ~WebFrame() { } |
| 679 }; | 682 }; |
| 680 | 683 |
| 681 } // namespace blink | 684 } // namespace blink |
| 682 | 685 |
| 683 #endif | 686 #endif |
| OLD | NEW |