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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 // Content ------------------------------------------------------------ | 248 // Content ------------------------------------------------------------ |
249 | 249 |
250 virtual WebDocument document() const = 0; | 250 virtual WebDocument document() const = 0; |
251 | 251 |
252 virtual WebPerformance performance() const = 0; | 252 virtual WebPerformance performance() const = 0; |
253 | 253 |
254 | 254 |
255 // Closing ------------------------------------------------------------- | 255 // Closing ------------------------------------------------------------- |
256 | 256 |
257 // Runs beforeunload handlers for this frame, returning false if a | |
258 // handler suppressed unloading. | |
259 virtual bool dispatchBeforeUnloadEvent() = 0; | |
260 | |
261 // Runs unload handlers for this frame. | 257 // Runs unload handlers for this frame. |
262 virtual void dispatchUnloadEvent() = 0; | 258 virtual void dispatchUnloadEvent() = 0; |
263 | 259 |
264 | 260 |
265 // Scripting ---------------------------------------------------------- | 261 // Scripting ---------------------------------------------------------- |
266 | 262 |
267 // Executes script in the context of the current page. | 263 // Executes script in the context of the current page. |
268 virtual void executeScript(const WebScriptSource&) = 0; | 264 virtual void executeScript(const WebScriptSource&) = 0; |
269 | 265 |
270 // Executes JavaScript in a new world associated with the web frame. | 266 // Executes JavaScript in a new world associated with the web frame. |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 WebFrame* m_firstChild; | 594 WebFrame* m_firstChild; |
599 WebFrame* m_lastChild; | 595 WebFrame* m_lastChild; |
600 | 596 |
601 WebFrame* m_opener; | 597 WebFrame* m_opener; |
602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 598 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
603 }; | 599 }; |
604 | 600 |
605 } // namespace blink | 601 } // namespace blink |
606 | 602 |
607 #endif | 603 #endif |
OLD | NEW |