| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights |
| 5 * reserved. | 5 * reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool RequestObject(const String& url, | 105 bool RequestObject(const String& url, |
| 106 const String& mime_type, | 106 const String& mime_type, |
| 107 const Vector<String>& param_names, | 107 const Vector<String>& param_names, |
| 108 const Vector<String>& param_values); | 108 const Vector<String>& param_values); |
| 109 bool ShouldUsePlugin(const KURL&, | 109 bool ShouldUsePlugin(const KURL&, |
| 110 const String& mime_type, | 110 const String& mime_type, |
| 111 bool has_fallback, | 111 bool has_fallback, |
| 112 bool& use_fallback); | 112 bool& use_fallback); |
| 113 | 113 |
| 114 void DispatchErrorEvent(); | 114 void DispatchErrorEvent(); |
| 115 bool IsErrorplaceholder(); |
| 115 void LazyReattachIfNeeded(); | 116 void LazyReattachIfNeeded(); |
| 116 | 117 |
| 117 String service_type_; | 118 String service_type_; |
| 118 String url_; | 119 String url_; |
| 119 KURL loaded_url_; | 120 KURL loaded_url_; |
| 120 Member<HTMLImageLoader> image_loader_; | 121 Member<HTMLImageLoader> image_loader_; |
| 121 bool is_delaying_load_event_; | 122 bool is_delaying_load_event_; |
| 122 | 123 |
| 123 private: | 124 private: |
| 124 // EventTarget overrides: | 125 // EventTarget overrides: |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 inline bool IsHTMLPlugInElement(const HTMLElement& element) { | 195 inline bool IsHTMLPlugInElement(const HTMLElement& element) { |
| 195 return element.IsPluginElement(); | 196 return element.IsPluginElement(); |
| 196 } | 197 } |
| 197 | 198 |
| 198 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); | 199 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); |
| 199 | 200 |
| 200 } // namespace blink | 201 } // namespace blink |
| 201 | 202 |
| 202 #endif // HTMLPlugInElement_h | 203 #endif // HTMLPlugInElement_h |
| OLD | NEW |