| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 // For a WebFrame with contents being rendered in another process, this | 149 // For a WebFrame with contents being rendered in another process, this |
| 150 // sets a layer for use by the in-process compositor. WebLayer should be | 150 // sets a layer for use by the in-process compositor. WebLayer should be |
| 151 // null if the content is being rendered in the current process. | 151 // null if the content is being rendered in the current process. |
| 152 virtual void setRemoteWebLayer(WebLayer*) = 0; | 152 virtual void setRemoteWebLayer(WebLayer*) = 0; |
| 153 | 153 |
| 154 // Initializes the various client interfaces. | 154 // Initializes the various client interfaces. |
| 155 virtual void setPermissionClient(WebPermissionClient*) = 0; | 155 virtual void setPermissionClient(WebPermissionClient*) = 0; |
| 156 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) = 0; | 156 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) = 0; |
| 157 | 157 |
| 158 // The security origin of this frame. |
| 159 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
| 160 |
| 158 // Geometry ----------------------------------------------------------- | 161 // Geometry ----------------------------------------------------------- |
| 159 | 162 |
| 160 // NOTE: These routines do not force page layout so their results may | 163 // NOTE: These routines do not force page layout so their results may |
| 161 // not be accurate if the page layout is out-of-date. | 164 // not be accurate if the page layout is out-of-date. |
| 162 | 165 |
| 163 // If set to false, do not draw scrollbars on this frame's view. | 166 // If set to false, do not draw scrollbars on this frame's view. |
| 164 virtual void setCanHaveScrollbars(bool) = 0; | 167 virtual void setCanHaveScrollbars(bool) = 0; |
| 165 | 168 |
| 166 // The scroll offset from the top-left corner of the frame in pixels. | 169 // The scroll offset from the top-left corner of the frame in pixels. |
| 167 virtual WebSize scrollOffset() const = 0; | 170 virtual WebSize scrollOffset() const = 0; |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 695 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 693 }; | 696 }; |
| 694 | 697 |
| 695 #if BLINK_IMPLEMENTATION | 698 #if BLINK_IMPLEMENTATION |
| 696 Frame* toCoreFrame(const WebFrame*); | 699 Frame* toCoreFrame(const WebFrame*); |
| 697 #endif | 700 #endif |
| 698 | 701 |
| 699 } // namespace blink | 702 } // namespace blink |
| 700 | 703 |
| 701 #endif | 704 #endif |
| OLD | NEW |