| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // In fixed layout mode, the layout of the page is independent of the | 242 // In fixed layout mode, the layout of the page is independent of the |
| 243 // view port size, given by WebWidget::size(). | 243 // view port size, given by WebWidget::size(). |
| 244 | 244 |
| 245 virtual bool isFixedLayoutModeEnabled() const = 0; | 245 virtual bool isFixedLayoutModeEnabled() const = 0; |
| 246 virtual void enableFixedLayoutMode(bool enable) = 0; | 246 virtual void enableFixedLayoutMode(bool enable) = 0; |
| 247 | 247 |
| 248 virtual WebSize fixedLayoutSize() const = 0; | 248 virtual WebSize fixedLayoutSize() const = 0; |
| 249 virtual void setFixedLayoutSize(const WebSize&) = 0; | 249 virtual void setFixedLayoutSize(const WebSize&) = 0; |
| 250 | 250 |
| 251 | 251 |
| 252 // Auto size ----------------------------------------------------------- |
| 253 |
| 254 // In autosize mode, the view is automatically adjusted to fit the html |
| 255 // content within the given bounds. |
| 256 virtual void enableAutoSizeMode( |
| 257 bool enable, |
| 258 const WebSize& minSize, |
| 259 const WebSize& maxSize) = 0; |
| 260 |
| 261 |
| 252 // Media --------------------------------------------------------------- | 262 // Media --------------------------------------------------------------- |
| 253 | 263 |
| 254 // Performs the specified action on the node at the given location. | 264 // Performs the specified action on the node at the given location. |
| 255 virtual void performMediaPlayerAction( | 265 virtual void performMediaPlayerAction( |
| 256 const WebMediaPlayerAction&, const WebPoint& location) = 0; | 266 const WebMediaPlayerAction&, const WebPoint& location) = 0; |
| 257 | 267 |
| 258 | 268 |
| 259 // Data exchange ------------------------------------------------------- | 269 // Data exchange ------------------------------------------------------- |
| 260 | 270 |
| 261 // Copy to the clipboard the image located at a particular point in the | 271 // Copy to the clipboard the image located at a particular point in the |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 virtual void loseCompositorContext(int numTimes) = 0; | 426 virtual void loseCompositorContext(int numTimes) = 0; |
| 417 | 427 |
| 418 | 428 |
| 419 protected: | 429 protected: |
| 420 ~WebView() {} | 430 ~WebView() {} |
| 421 }; | 431 }; |
| 422 | 432 |
| 423 } // namespace WebKit | 433 } // namespace WebKit |
| 424 | 434 |
| 425 #endif | 435 #endif |
| OLD | NEW |