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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual WebDocument document() const; | 108 virtual WebDocument document() const; |
109 virtual WebPerformance performance() const; | 109 virtual WebPerformance performance() const; |
110 virtual NPObject* windowObject() const; | 110 virtual NPObject* windowObject() const; |
111 virtual void bindToWindowObject(const WebString& name, NPObject*); | 111 virtual void bindToWindowObject(const WebString& name, NPObject*); |
112 virtual void bindToWindowObject(const WebString& name, NPObject*, void*); | 112 virtual void bindToWindowObject(const WebString& name, NPObject*, void*); |
113 virtual void executeScript(const WebScriptSource&); | 113 virtual void executeScript(const WebScriptSource&); |
114 virtual void executeScriptInIsolatedWorld( | 114 virtual void executeScriptInIsolatedWorld( |
115 int worldID, const WebScriptSource* sources, unsigned numSources, | 115 int worldID, const WebScriptSource* sources, unsigned numSources, |
116 int extensionGroup); | 116 int extensionGroup); |
117 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&); | 117 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&); |
| 118 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
); |
118 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&); | 119 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&); |
119 virtual void addMessageToConsole(const WebConsoleMessage&); | 120 virtual void addMessageToConsole(const WebConsoleMessage&); |
120 virtual void collectGarbage(); | 121 virtual void collectGarbage(); |
121 virtual bool checkIfRunInsecureContent(const WebURL&) const; | 122 virtual bool checkIfRunInsecureContent(const WebURL&) const; |
122 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( | 123 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( |
123 const WebScriptSource&); | 124 const WebScriptSource&); |
124 virtual void executeScriptInIsolatedWorld( | 125 virtual void executeScriptInIsolatedWorld( |
125 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 126 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
126 int extensionGroup, WebVector<v8::Local<v8::Value> >* results); | 127 int extensionGroup, WebVector<v8::Local<v8::Value> >* results); |
127 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( | 128 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 long long m_identifier; | 491 long long m_identifier; |
491 | 492 |
492 // Ensure we don't overwrite valid history data during same document loads | 493 // Ensure we don't overwrite valid history data during same document loads |
493 // from HistoryItems | 494 // from HistoryItems |
494 bool m_inSameDocumentHistoryLoad; | 495 bool m_inSameDocumentHistoryLoad; |
495 }; | 496 }; |
496 | 497 |
497 } // namespace WebKit | 498 } // namespace WebKit |
498 | 499 |
499 #endif | 500 #endif |
OLD | NEW |