| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual const WebURLRequest& originalRequest() const override; | 58 virtual const WebURLRequest& originalRequest() const override; |
| 59 virtual const WebURLRequest& request() const override; | 59 virtual const WebURLRequest& request() const override; |
| 60 virtual const WebURLResponse& response() const override; | 60 virtual const WebURLResponse& response() const override; |
| 61 virtual bool hasUnreachableURL() const override; | 61 virtual bool hasUnreachableURL() const override; |
| 62 virtual WebURL unreachableURL() const override; | 62 virtual WebURL unreachableURL() const override; |
| 63 virtual void appendRedirect(const WebURL&) override; | 63 virtual void appendRedirect(const WebURL&) override; |
| 64 virtual void redirectChain(WebVector<WebURL>&) const override; | 64 virtual void redirectChain(WebVector<WebURL>&) const override; |
| 65 virtual bool isClientRedirect() const override; | 65 virtual bool isClientRedirect() const override; |
| 66 virtual bool replacesCurrentHistoryItem() const override; | 66 virtual bool replacesCurrentHistoryItem() const override; |
| 67 virtual WebNavigationType navigationType() const override; | 67 virtual WebNavigationType navigationType() const override; |
| 68 virtual double triggeringEventTime() const override; | |
| 69 virtual ExtraData* extraData() const override; | 68 virtual ExtraData* extraData() const override; |
| 70 virtual void setExtraData(ExtraData*) override; | 69 virtual void setExtraData(ExtraData*) override; |
| 71 virtual void setNavigationStartTime(double) override; | 70 virtual void setNavigationStartTime(double) override; |
| 72 | 71 |
| 73 static WebNavigationType toWebNavigationType(NavigationType); | 72 static WebNavigationType toWebNavigationType(NavigationType); |
| 74 | 73 |
| 75 PassOwnPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_plu
ginLoadObserver.release(); } | 74 PassOwnPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_plu
ginLoadObserver.release(); } |
| 76 static void setNextPluginLoadObserver(PassOwnPtr<WebPluginLoadObserver>); | 75 static void setNextPluginLoadObserver(PassOwnPtr<WebPluginLoadObserver>); |
| 77 | 76 |
| 78 private: | 77 private: |
| 79 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData&
); | 78 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData&
); |
| 80 virtual ~WebDataSourceImpl(); | 79 virtual ~WebDataSourceImpl(); |
| 81 | 80 |
| 82 // Mutable because the const getters will magically sync these to the | 81 // Mutable because the const getters will magically sync these to the |
| 83 // latest version from WebKit. | 82 // latest version from WebKit. |
| 84 mutable WrappedResourceRequest m_originalRequestWrapper; | 83 mutable WrappedResourceRequest m_originalRequestWrapper; |
| 85 mutable WrappedResourceRequest m_requestWrapper; | 84 mutable WrappedResourceRequest m_requestWrapper; |
| 86 mutable WrappedResourceResponse m_responseWrapper; | 85 mutable WrappedResourceResponse m_responseWrapper; |
| 87 | 86 |
| 88 OwnPtr<ExtraData> m_extraData; | 87 OwnPtr<ExtraData> m_extraData; |
| 89 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver; | 88 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver; |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 } // namespace blink | 91 } // namespace blink |
| 93 | 92 |
| 94 #endif // WebDataSourceImpl_h | 93 #endif // WebDataSourceImpl_h |
| OLD | NEW |