| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // current document. | 116 // current document. |
| 117 virtual int contentsPreferredWidth() const = 0; | 117 virtual int contentsPreferredWidth() const = 0; |
| 118 | 118 |
| 119 // Returns true if the contents (minus scrollbars) has non-zero area. | 119 // Returns true if the contents (minus scrollbars) has non-zero area. |
| 120 virtual bool hasVisibleContent() const = 0; | 120 virtual bool hasVisibleContent() const = 0; |
| 121 | 121 |
| 122 | 122 |
| 123 // Hierarchy ---------------------------------------------------------- | 123 // Hierarchy ---------------------------------------------------------- |
| 124 | 124 |
| 125 // Returns the containing view. | 125 // Returns the containing view. |
| 126 virtual WebView* view() const = 0; | 126 virtual ::WebView* view() const = 0; |
| 127 | 127 |
| 128 // Returns the frame that opened this frame or 0 if there is none. | 128 // Returns the frame that opened this frame or 0 if there is none. |
| 129 virtual WebFrame* opener() const = 0; | 129 virtual WebFrame* opener() const = 0; |
| 130 | 130 |
| 131 // Returns the parent frame or 0 if this is a top-most frame. | 131 // Returns the parent frame or 0 if this is a top-most frame. |
| 132 virtual WebFrame* parent() const = 0; | 132 virtual WebFrame* parent() const = 0; |
| 133 | 133 |
| 134 // Returns the top-most frame in the hierarchy containing this frame. | 134 // Returns the top-most frame in the hierarchy containing this frame. |
| 135 virtual WebFrame* top() const = 0; | 135 virtual WebFrame* top() const = 0; |
| 136 | 136 |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // from the DOM. | 439 // from the DOM. |
| 440 virtual WebString contentAsMarkup() const = 0; | 440 virtual WebString contentAsMarkup() const = 0; |
| 441 | 441 |
| 442 protected: | 442 protected: |
| 443 ~WebFrame() { } | 443 ~WebFrame() { } |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 } // namespace WebKit | 446 } // namespace WebKit |
| 447 | 447 |
| 448 #endif | 448 #endif |
| OLD | NEW |