| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 void SetFindEndstateFocusAndSelection(); | 260 void SetFindEndstateFocusAndSelection(); |
| 261 | 261 |
| 262 // Sets whether the WebFrameImpl allows its document to be scrolled. | 262 // Sets whether the WebFrameImpl allows its document to be scrolled. |
| 263 // If the parameter is true, allow the document to be scrolled. | 263 // If the parameter is true, allow the document to be scrolled. |
| 264 // Otherwise, disallow scrolling | 264 // Otherwise, disallow scrolling |
| 265 void SetAllowsScrolling(bool flag); | 265 void SetAllowsScrolling(bool flag); |
| 266 | 266 |
| 267 // Returns true if the frame CSS is in "printing" mode. | 267 // Returns true if the frame CSS is in "printing" mode. |
| 268 bool printing() const { return printing_; } | 268 bool printing() const { return printing_; } |
| 269 | 269 |
| 270 virtual bool HasUnloadListener(); | |
| 271 virtual bool IsReloadAllowingStaleData() const; | 270 virtual bool IsReloadAllowingStaleData() const; |
| 272 | 271 |
| 273 protected: | 272 protected: |
| 274 friend class WebFrameLoaderClient; | 273 friend class WebFrameLoaderClient; |
| 275 | 274 |
| 276 // Informs the WebFrame that the Frame is being closed, called by the | 275 // Informs the WebFrame that the Frame is being closed, called by the |
| 277 // WebFrameLoaderClient | 276 // WebFrameLoaderClient |
| 278 void Closing(); | 277 void Closing(); |
| 279 | 278 |
| 280 // A helper function for loading some document, given all of its data, into | 279 // A helper function for loading some document, given all of its data, into |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 // In "printing" mode. Used as a state check. | 432 // In "printing" mode. Used as a state check. |
| 434 bool printing_; | 433 bool printing_; |
| 435 | 434 |
| 436 // For each printed page, the view of the document in pixels. | 435 // For each printed page, the view of the document in pixels. |
| 437 Vector<WebCore::IntRect> pages_; | 436 Vector<WebCore::IntRect> pages_; |
| 438 | 437 |
| 439 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); | 438 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); |
| 440 }; | 439 }; |
| 441 | 440 |
| 442 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ | 441 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ |
| OLD | NEW |