| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // The size of the contents area. | 147 // The size of the contents area. |
| 148 virtual WebSize ContentsSize() const = 0; | 148 virtual WebSize ContentsSize() const = 0; |
| 149 | 149 |
| 150 // Returns true if the contents (minus scrollbars) has non-zero area. | 150 // Returns true if the contents (minus scrollbars) has non-zero area. |
| 151 virtual bool HasVisibleContent() const = 0; | 151 virtual bool HasVisibleContent() const = 0; |
| 152 | 152 |
| 153 // Returns the visible content rect (minus scrollbars, in absolute coordinate) | 153 // Returns the visible content rect (minus scrollbars, in absolute coordinate) |
| 154 virtual WebRect VisibleContentRect() const = 0; | 154 virtual WebRect VisibleContentRect() const = 0; |
| 155 | 155 |
| 156 virtual bool HasHorizontalScrollbar() const = 0; | |
| 157 virtual bool HasVerticalScrollbar() const = 0; | |
| 158 | |
| 159 // Whether to collapse the frame's owner element in the embedder document, | 156 // Whether to collapse the frame's owner element in the embedder document, |
| 160 // that is, to remove it from the layout as if it did not exist. Only works | 157 // that is, to remove it from the layout as if it did not exist. Only works |
| 161 // for <iframe> owner elements. | 158 // for <iframe> owner elements. |
| 162 void Collapse(bool); | 159 void Collapse(bool); |
| 163 | 160 |
| 164 // Hierarchy ---------------------------------------------------------- | 161 // Hierarchy ---------------------------------------------------------- |
| 165 | 162 |
| 166 // Returns the containing view. | 163 // Returns the containing view. |
| 167 virtual WebView* View() const = 0; | 164 virtual WebView* View() const = 0; |
| 168 | 165 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 WebFrame* first_child_; | 309 WebFrame* first_child_; |
| 313 WebFrame* last_child_; | 310 WebFrame* last_child_; |
| 314 | 311 |
| 315 WebFrame* opener_; | 312 WebFrame* opener_; |
| 316 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; | 313 std::unique_ptr<OpenedFrameTracker> opened_frame_tracker_; |
| 317 }; | 314 }; |
| 318 | 315 |
| 319 } // namespace blink | 316 } // namespace blink |
| 320 | 317 |
| 321 #endif | 318 #endif |
| OLD | NEW |