| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 template <class T> class Local; | 43 template <class T> class Local; |
| 44 } | 44 } |
| 45 #endif | 45 #endif |
| 46 | 46 |
| 47 namespace WebKit { | 47 namespace WebKit { |
| 48 class WebData; | 48 class WebData; |
| 49 class WebDataSource; | 49 class WebDataSource; |
| 50 class WebForm; | 50 class WebForm; |
| 51 class WebHistoryItem; | 51 class WebHistoryItem; |
| 52 class WebRange; | 52 class WebRange; |
| 53 class WebSecurityOrigin; |
| 53 class WebString; | 54 class WebString; |
| 54 class WebURL; | 55 class WebURL; |
| 55 class WebURLRequest; | 56 class WebURLRequest; |
| 56 struct WebConsoleMessage; | 57 struct WebConsoleMessage; |
| 57 struct WebFindOptions; | 58 struct WebFindOptions; |
| 58 struct WebRect; | 59 struct WebRect; |
| 59 struct WebScriptSource; | 60 struct WebScriptSource; |
| 60 struct WebSize; | 61 struct WebSize; |
| 61 template <typename T> class WebVector; | 62 template <typename T> class WebVector; |
| 62 | 63 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 155 |
| 155 | 156 |
| 156 // Content ------------------------------------------------------------ | 157 // Content ------------------------------------------------------------ |
| 157 | 158 |
| 158 virtual void forms(WebVector<WebForm>&) const = 0; | 159 virtual void forms(WebVector<WebForm>&) const = 0; |
| 159 | 160 |
| 160 | 161 |
| 161 // Scripting ---------------------------------------------------------- | 162 // Scripting ---------------------------------------------------------- |
| 162 | 163 |
| 163 // Returns the security origin of the current document. | 164 // Returns the security origin of the current document. |
| 164 virtual WebString securityOrigin() const = 0; | 165 virtual WebSecurityOrigin securityOrigin() const = 0; |
| 165 | 166 |
| 166 // This grants the currently loaded document access to all security | 167 // This grants the currently loaded document access to all security |
| 167 // origins (including file URLs). Use with care. The access is | 168 // origins (including file URLs). Use with care. The access is |
| 168 // revoked when a new document is loaded into this frame. | 169 // revoked when a new document is loaded into this frame. |
| 169 virtual void grantUniversalAccess() = 0; | 170 virtual void grantUniversalAccess() = 0; |
| 170 | 171 |
| 171 // Returns a NPObject corresponding to this frame's DOMWindow. | 172 // Returns a NPObject corresponding to this frame's DOMWindow. |
| 172 virtual NPObject* windowObject() const = 0; | 173 virtual NPObject* windowObject() const = 0; |
| 173 | 174 |
| 174 // Binds a NPObject as a property of this frame's DOMWindow. | 175 // Binds a NPObject as a property of this frame's DOMWindow. |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 // from the DOM. | 439 // from the DOM. |
| 439 virtual WebString contentAsMarkup() const = 0; | 440 virtual WebString contentAsMarkup() const = 0; |
| 440 | 441 |
| 441 protected: | 442 protected: |
| 442 ~WebFrame() { } | 443 ~WebFrame() { } |
| 443 }; | 444 }; |
| 444 | 445 |
| 445 } // namespace WebKit | 446 } // namespace WebKit |
| 446 | 447 |
| 447 #endif | 448 #endif |
| OLD | NEW |