| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 const WebCore::IntSize&, | 175 const WebCore::IntSize&, |
| 176 WebCore::HTMLAppletElement*, | 176 WebCore::HTMLAppletElement*, |
| 177 const WebCore::KURL& /* base_url */, | 177 const WebCore::KURL& /* base_url */, |
| 178 const Vector<WebCore::String>& paramNames, | 178 const Vector<WebCore::String>& paramNames, |
| 179 const Vector<WebCore::String>& paramValues); | 179 const Vector<WebCore::String>& paramValues); |
| 180 virtual WebCore::ObjectContentType objectContentType( | 180 virtual WebCore::ObjectContentType objectContentType( |
| 181 const WebCore::KURL& url, const WebCore::String& mimeType); | 181 const WebCore::KURL& url, const WebCore::String& mimeType); |
| 182 virtual WebCore::String overrideMediaType() const; | 182 virtual WebCore::String overrideMediaType() const; |
| 183 virtual void didPerformFirstNavigation() const; | 183 virtual void didPerformFirstNavigation() const; |
| 184 virtual void registerForIconNotification(bool listen = true); | 184 virtual void registerForIconNotification(bool listen = true); |
| 185 virtual bool allowJavaScript(bool enabledPerSettings); |
| 185 | 186 |
| 186 private: | 187 private: |
| 187 void makeDocumentView(); | 188 void makeDocumentView(); |
| 188 | 189 |
| 189 // Given a NavigationAction, determine the associated WebNavigationPolicy. | 190 // Given a NavigationAction, determine the associated WebNavigationPolicy. |
| 190 // For example, a middle click means "open in background tab". | 191 // For example, a middle click means "open in background tab". |
| 191 static bool actionSpecifiesNavigationPolicy( | 192 static bool actionSpecifiesNavigationPolicy( |
| 192 const WebCore::NavigationAction& action, WebNavigationPolicy* policy); | 193 const WebCore::NavigationAction& action, WebNavigationPolicy* policy); |
| 193 | 194 |
| 194 // Called when a dummy back-forward navigation is intercepted. | 195 // Called when a dummy back-forward navigation is intercepted. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 221 // which specifies that the plugin should be ready to accept data. | 222 // which specifies that the plugin should be ready to accept data. |
| 222 bool m_sentInitialResponseToPlugin; | 223 bool m_sentInitialResponseToPlugin; |
| 223 | 224 |
| 224 // The navigation policy to use for the next call to dispatchCreatePage. | 225 // The navigation policy to use for the next call to dispatchCreatePage. |
| 225 WebNavigationPolicy m_nextNavigationPolicy; | 226 WebNavigationPolicy m_nextNavigationPolicy; |
| 226 }; | 227 }; |
| 227 | 228 |
| 228 } // namespace WebKit | 229 } // namespace WebKit |
| 229 | 230 |
| 230 #endif | 231 #endif |
| OLD | NEW |