| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 254 |
| 255 // Content ------------------------------------------------------------ | 255 // Content ------------------------------------------------------------ |
| 256 | 256 |
| 257 virtual WebDocument document() const = 0; | 257 virtual WebDocument document() const = 0; |
| 258 | 258 |
| 259 virtual WebPerformance performance() const = 0; | 259 virtual WebPerformance performance() const = 0; |
| 260 | 260 |
| 261 | 261 |
| 262 // Closing ------------------------------------------------------------- | 262 // Closing ------------------------------------------------------------- |
| 263 | 263 |
| 264 // Runs beforeunload handlers for this frame, returning false if a | |
| 265 // handler suppressed unloading. | |
| 266 virtual bool dispatchBeforeUnloadEvent() = 0; | |
| 267 | |
| 268 // Runs unload handlers for this frame. | 264 // Runs unload handlers for this frame. |
| 269 virtual void dispatchUnloadEvent() = 0; | 265 virtual void dispatchUnloadEvent() = 0; |
| 270 | 266 |
| 271 | 267 |
| 272 // Scripting ---------------------------------------------------------- | 268 // Scripting ---------------------------------------------------------- |
| 273 | 269 |
| 274 // Executes script in the context of the current page. | 270 // Executes script in the context of the current page. |
| 275 virtual void executeScript(const WebScriptSource&) = 0; | 271 virtual void executeScript(const WebScriptSource&) = 0; |
| 276 | 272 |
| 277 // Executes JavaScript in a new world associated with the web frame. | 273 // Executes JavaScript in a new world associated with the web frame. |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 WebFrame* m_firstChild; | 601 WebFrame* m_firstChild; |
| 606 WebFrame* m_lastChild; | 602 WebFrame* m_lastChild; |
| 607 | 603 |
| 608 WebFrame* m_opener; | 604 WebFrame* m_opener; |
| 609 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 605 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 610 }; | 606 }; |
| 611 | 607 |
| 612 } // namespace blink | 608 } // namespace blink |
| 613 | 609 |
| 614 #endif | 610 #endif |
| OLD | NEW |