| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 virtual WebLocalFrame* toWebLocalFrame() = 0; | 97 virtual WebLocalFrame* toWebLocalFrame() = 0; |
| 98 | 98 |
| 99 // This method closes and deletes the WebFrame. | 99 // This method closes and deletes the WebFrame. |
| 100 virtual void close() = 0; | 100 virtual void close() = 0; |
| 101 | 101 |
| 102 // Geometry ----------------------------------------------------------- | 102 // Geometry ----------------------------------------------------------- |
| 103 | 103 |
| 104 // NOTE: These routines do not force page layout so their results may | 104 // NOTE: These routines do not force page layout so their results may |
| 105 // not be accurate if the page layout is out-of-date. | 105 // not be accurate if the page layout is out-of-date. |
| 106 | 106 |
| 107 // If set to false, do not draw scrollbars on this frame's view. | |
| 108 virtual void setCanHaveScrollbars(bool) = 0; | |
| 109 | |
| 110 // The scroll offset from the top-left corner of the frame in pixels. | 107 // The scroll offset from the top-left corner of the frame in pixels. |
| 111 virtual WebSize scrollOffset() const = 0; | 108 virtual WebSize scrollOffset() const = 0; |
| 112 | 109 |
| 113 // The minimum and maxium scroll positions in pixels. | 110 // The minimum and maxium scroll positions in pixels. |
| 114 virtual WebSize minimumScrollOffset() const = 0; | 111 virtual WebSize minimumScrollOffset() const = 0; |
| 115 virtual WebSize maximumScrollOffset() const = 0; | 112 virtual WebSize maximumScrollOffset() const = 0; |
| 116 | 113 |
| 117 // The size of the contents area. | 114 // The size of the contents area. |
| 118 virtual WebSize contentsSize() const = 0; | 115 virtual WebSize contentsSize() const = 0; |
| 119 | 116 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 private: | 327 private: |
| 331 }; | 328 }; |
| 332 | 329 |
| 333 #if BLINK_IMPLEMENTATION | 330 #if BLINK_IMPLEMENTATION |
| 334 Frame* toCoreFrame(const WebFrame*); | 331 Frame* toCoreFrame(const WebFrame*); |
| 335 #endif | 332 #endif |
| 336 | 333 |
| 337 } // namespace blink | 334 } // namespace blink |
| 338 | 335 |
| 339 #endif | 336 #endif |
| OLD | NEW |