Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/WebKit/Source/web/WebDataSourceImpl.h

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stop calling didCreateDataSource for same-page navs Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool hasUnreachableURL() const override; 62 bool hasUnreachableURL() const override;
63 WebURL unreachableURL() const override; 63 WebURL unreachableURL() const override;
64 void appendRedirect(const WebURL&) override; 64 void appendRedirect(const WebURL&) override;
65 void redirectChain(WebVector<WebURL>&) const override; 65 void redirectChain(WebVector<WebURL>&) const override;
66 bool isClientRedirect() const override; 66 bool isClientRedirect() const override;
67 bool replacesCurrentHistoryItem() const override; 67 bool replacesCurrentHistoryItem() const override;
68 WebNavigationType navigationType() const override; 68 WebNavigationType navigationType() const override;
69 ExtraData* extraData() const override; 69 ExtraData* extraData() const override;
70 void setExtraData(ExtraData*) override; 70 void setExtraData(ExtraData*) override;
71 void setNavigationStartTime(double) override; 71 void setNavigationStartTime(double) override;
72 double getNavigationStartTime() override;
72 73
73 static WebNavigationType toWebNavigationType(NavigationType); 74 static WebNavigationType toWebNavigationType(NavigationType);
74 75
75 PassOwnPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_plu ginLoadObserver.release(); } 76 PassOwnPtr<WebPluginLoadObserver> releasePluginLoadObserver() { return m_plu ginLoadObserver.release(); }
76 static void setNextPluginLoadObserver(PassOwnPtr<WebPluginLoadObserver>); 77 static void setNextPluginLoadObserver(PassOwnPtr<WebPluginLoadObserver>);
77 78
78 DECLARE_VIRTUAL_TRACE(); 79 DECLARE_VIRTUAL_TRACE();
79 80
80 private: 81 private:
81 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData& ); 82 WebDataSourceImpl(LocalFrame*, const ResourceRequest&, const SubstituteData& );
82 ~WebDataSourceImpl() override; 83 ~WebDataSourceImpl() override;
83 void detachFromFrame() override; 84 void detachFromFrame() override;
84 85
85 // Mutable because the const getters will magically sync these to the 86 // Mutable because the const getters will magically sync these to the
86 // latest version from WebKit. 87 // latest version from WebKit.
87 mutable WrappedResourceRequest m_originalRequestWrapper; 88 mutable WrappedResourceRequest m_originalRequestWrapper;
88 mutable WrappedResourceRequest m_requestWrapper; 89 mutable WrappedResourceRequest m_requestWrapper;
89 mutable WrappedResourceResponse m_responseWrapper; 90 mutable WrappedResourceResponse m_responseWrapper;
90 91
91 OwnPtr<ExtraData> m_extraData; 92 OwnPtr<ExtraData> m_extraData;
92 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver; 93 OwnPtr<WebPluginLoadObserver> m_pluginLoadObserver;
93 }; 94 };
94 95
95 } // namespace blink 96 } // namespace blink
96 97
97 #endif // WebDataSourceImpl_h 98 #endif // WebDataSourceImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698