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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 // Returns true if the contents (minus scrollbars) has non-zero area. | 178 // Returns true if the contents (minus scrollbars) has non-zero area. |
179 virtual bool hasVisibleContent() const = 0; | 179 virtual bool hasVisibleContent() const = 0; |
180 | 180 |
181 // Returns the visible content rect (minus scrollbars, in absolute coordinate) | 181 // Returns the visible content rect (minus scrollbars, in absolute coordinate) |
182 virtual WebRect visibleContentRect() const = 0; | 182 virtual WebRect visibleContentRect() const = 0; |
183 | 183 |
184 virtual bool hasHorizontalScrollbar() const = 0; | 184 virtual bool hasHorizontalScrollbar() const = 0; |
185 virtual bool hasVerticalScrollbar() const = 0; | 185 virtual bool hasVerticalScrollbar() const = 0; |
186 | 186 |
| 187 // Collapses the owner element of this frame in the parent frame's layout. |
| 188 virtual void collapseFrameOwner(bool) = 0; |
| 189 |
187 // Hierarchy ---------------------------------------------------------- | 190 // Hierarchy ---------------------------------------------------------- |
188 | 191 |
189 // Returns the containing view. | 192 // Returns the containing view. |
190 virtual WebView* view() const = 0; | 193 virtual WebView* view() const = 0; |
191 | 194 |
192 // Returns the frame that opened this frame or 0 if there is none. | 195 // Returns the frame that opened this frame or 0 if there is none. |
193 BLINK_EXPORT WebFrame* opener() const; | 196 BLINK_EXPORT WebFrame* opener() const; |
194 | 197 |
195 // Sets the frame that opened this one or 0 if there is none. | 198 // Sets the frame that opened this one or 0 if there is none. |
196 BLINK_EXPORT void setOpener(WebFrame*); | 199 BLINK_EXPORT void setOpener(WebFrame*); |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 WebFrame* m_firstChild; | 487 WebFrame* m_firstChild; |
485 WebFrame* m_lastChild; | 488 WebFrame* m_lastChild; |
486 | 489 |
487 WebFrame* m_opener; | 490 WebFrame* m_opener; |
488 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; | 491 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; |
489 }; | 492 }; |
490 | 493 |
491 } // namespace blink | 494 } // namespace blink |
492 | 495 |
493 #endif | 496 #endif |
OLD | NEW |