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

Unified Diff: Source/Platform/chromium/public/WebPreconnectMotivation.h

Issue 14746002: Add WebPrescientNetworking to trigger preconnect from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix coding style Created 7 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/Platform/chromium/public/WebPreconnectMotivation.h
diff --git a/Source/WebKit/chromium/public/WebMediaSource.h b/Source/Platform/chromium/public/WebPreconnectMotivation.h
similarity index 85%
copy from Source/WebKit/chromium/public/WebMediaSource.h
copy to Source/Platform/chromium/public/WebPreconnectMotivation.h
index ae7864b3090d45d155dce3a55872d6f6a27830c4..0c4fd537ae7c82ea8ccdd7c4c496640035d5a3da 100644
--- a/Source/WebKit/chromium/public/WebMediaSource.h
+++ b/Source/Platform/chromium/public/WebPreconnectMotivation.h
@@ -28,20 +28,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSource_h
-#define WebMediaSource_h
-
-#include "../../../Platform/chromium/public/WebURL.h"
-#include "WebTimeRange.h"
+#ifndef WebPreconnectMotivation_h
+#define WebPreconnectMotivation_h
namespace WebKit {
-class WebMediaSourceClient;
-
-class WebMediaSource {
-public:
- virtual ~WebMediaSource() { };
- virtual void open(WebMediaSourceClient*) = 0;
+enum WebPreconnectMotivation {
+ WebPreconnectMotivationLinkMouseDown,
+ WebPreconnectMotivationLinkMouseOver,
+ WebPreconnectMotivationLinkTapUnconfirmed,
+ WebPreconnectMotivationLinkTapDown,
};
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698