| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 WebFrame* m_firstChild; | 482 WebFrame* m_firstChild; |
| 480 WebFrame* m_lastChild; | 483 WebFrame* m_lastChild; |
| 481 | 484 |
| 482 WebFrame* m_opener; | 485 WebFrame* m_opener; |
| 483 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; | 486 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; |
| 484 }; | 487 }; |
| 485 | 488 |
| 486 } // namespace blink | 489 } // namespace blink |
| 487 | 490 |
| 488 #endif | 491 #endif |
| OLD | NEW |