Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 307 | 307 |
| 308 // In fixed layout mode, the layout of the page is independent of the | 308 // In fixed layout mode, the layout of the page is independent of the |
| 309 // view port size, given by WebWidget::size(). | 309 // view port size, given by WebWidget::size(). |
| 310 | 310 |
| 311 virtual bool isFixedLayoutModeEnabled() const = 0; | 311 virtual bool isFixedLayoutModeEnabled() const = 0; |
| 312 virtual void enableFixedLayoutMode(bool enable) = 0; | 312 virtual void enableFixedLayoutMode(bool enable) = 0; |
| 313 | 313 |
| 314 virtual WebSize fixedLayoutSize() const = 0; | 314 virtual WebSize fixedLayoutSize() const = 0; |
| 315 virtual void setFixedLayoutSize(const WebSize&) = 0; | 315 virtual void setFixedLayoutSize(const WebSize&) = 0; |
| 316 | 316 |
| 317 virtual void setFixedLayoutSizeLock(bool) = 0; | |
|
aelias_OOO_until_Jul13
2013/09/06 23:11:18
I looked at this more carefully and you don't need
mkosiba (inactive)
2013/09/10 09:11:31
ah, cool!
Thanks for looking. I keep forgetting th
| |
| 317 | 318 |
| 318 // Auto-Resize ----------------------------------------------------------- | 319 // Auto-Resize ----------------------------------------------------------- |
| 319 | 320 |
| 320 // In auto-resize mode, the view is automatically adjusted to fit the html | 321 // In auto-resize mode, the view is automatically adjusted to fit the html |
| 321 // content within the given bounds. | 322 // content within the given bounds. |
| 322 virtual void enableAutoResizeMode( | 323 virtual void enableAutoResizeMode( |
| 323 const WebSize& minSize, | 324 const WebSize& minSize, |
| 324 const WebSize& maxSize) = 0; | 325 const WebSize& maxSize) = 0; |
| 325 | 326 |
| 326 // Turn off auto-resize. | 327 // Turn off auto-resize. |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 518 | 519 |
| 519 // Testing functionality for TestRunner --------------------------------- | 520 // Testing functionality for TestRunner --------------------------------- |
| 520 | 521 |
| 521 protected: | 522 protected: |
| 522 ~WebView() {} | 523 ~WebView() {} |
| 523 }; | 524 }; |
| 524 | 525 |
| 525 } // namespace WebKit | 526 } // namespace WebKit |
| 526 | 527 |
| 527 #endif | 528 #endif |
| OLD | NEW |