| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 // The size of the contents area. | 104 // The size of the contents area. |
| 105 virtual WebSize contentsSize() const = 0; | 105 virtual WebSize contentsSize() const = 0; |
| 106 | 106 |
| 107 // Returns true if the contents (minus scrollbars) has non-zero area. | 107 // Returns true if the contents (minus scrollbars) has non-zero area. |
| 108 virtual bool hasVisibleContent() const = 0; | 108 virtual bool hasVisibleContent() const = 0; |
| 109 | 109 |
| 110 // Returns the visible content rect (minus scrollbars, in absolute coordinat
e) | 110 // Returns the visible content rect (minus scrollbars, in absolute coordinat
e) |
| 111 virtual WebRect visibleContentRect() const = 0; | 111 virtual WebRect visibleContentRect() const = 0; |
| 112 | 112 |
| 113 virtual bool hasHorizontalScrollbar() const = 0; | |
| 114 virtual bool hasVerticalScrollbar() const = 0; | |
| 115 | |
| 116 // Hierarchy ---------------------------------------------------------- | 113 // Hierarchy ---------------------------------------------------------- |
| 117 | 114 |
| 118 // Returns the containing view. | 115 // Returns the containing view. |
| 119 virtual WebView* view() const = 0; | 116 virtual WebView* view() const = 0; |
| 120 | 117 |
| 121 // Content ------------------------------------------------------------ | 118 // Content ------------------------------------------------------------ |
| 122 | 119 |
| 123 virtual WebDocument document() const = 0; | 120 virtual WebDocument document() const = 0; |
| 124 | 121 |
| 125 | 122 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 private: | 269 private: |
| 273 }; | 270 }; |
| 274 | 271 |
| 275 #if BLINK_IMPLEMENTATION | 272 #if BLINK_IMPLEMENTATION |
| 276 Frame* toCoreFrame(const WebFrame*); | 273 Frame* toCoreFrame(const WebFrame*); |
| 277 #endif | 274 #endif |
| 278 | 275 |
| 279 } // namespace blink | 276 } // namespace blink |
| 280 | 277 |
| 281 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ | 278 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ |
| OLD | NEW |