Skip to content

Instantly share code, notes, and snippets.

View balazs's full-sized avatar

Balazs Kelemen balazs

  • Samsung Research America
  • Boston
View GitHub Profile
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
index 0e20ccc..8b25f63 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
@@ -793,8 +793,10 @@ class ContentViewGestureHandler implements LongPressDelegate {
* @return Whether the event was handled.
*/
boolean onTouchEvent(MotionEvent event) {
+ long nanos = System.nanoTime();
try {
INFO:root:Running file://./chrome/test/data/image_decoding/image_decoding.html?png
DEBUG:root:InspectorBackend._Connect() to ws://127.0.0.1:46533/devtools/page/955EBA60-AE92-3207-6AD7-72556BC365FF
DEBUG:root:sent [{"method": "Page.enable", "id": 0}]
DEBUG:root:got [{"result":{},"id":0}]
DEBUG:root:Server started on 127.0.0.1:40023
DEBUG:root:sent [{"params": {"returnByValue": true, "expression": "\n if (window.chrome &&\n chrome.gpuBenchmarking &&\n chrome.gpuBenchmarking.clearImageCache) {\n chrome.gpuBenchmarking.clearImageCache();\n }\n ; 0;"}, "method": "Runtime.evaluate", "id": 1}]
DEBUG:root:got [{"result":{"result":{"type":"number","value":0,"description":"0"},"wasThrown":false},"id":1}]
DEBUG:root:will send [{"method": "Tracing.hasCompleted", "id": 0}]
DEBUG:root:got [{"error":{"code":-32601,"message":"No such method"},"id":0}]
DEBUG:root:will send [{"params": {"categories": "webkit,webkit.console"}, "method": "Tracing.start", "id": 1}]
diff --git a/Source/wtf/Dummy.cpp b/Source/wtf/Dummy.cpp
new file mode 100644
index 0000000..81eb36d
--- /dev/null
+++ b/Source/wtf/Dummy.cpp
@@ -0,0 +1,45 @@
+#include "wtf/RefPtr.h"
+#include "wtf/HashMap.h"
+#include "wtf/text/String.h"
+
diff --git a/Source/wtf/Dummy.cpp b/Source/wtf/Dummy.cpp
new file mode 100644
index 0000000..55d5f66
--- /dev/null
+++ b/Source/wtf/Dummy.cpp
@@ -0,0 +1,48 @@
+#include "config.h"
+
+#include "wtf/RefPtr.h"
+#include "wtf/HashMap.h"
<!DOCTYPE html>
<!--
Copyright 2014 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
{
"gcm_sender_id": "766134470826"
}
{
"gcm_sender_id": "766134470826"
}
From e13d1e16c160cf369c608209a032bcfc683dac29 Mon Sep 17 00:00:00 2001
From: Balazs Kelemen <b.kelemen@samsung.com>
Date: Thu, 29 Jan 2015 15:58:54 -0500
Subject: [PATCH] Cleanup mapping in GWCliendDriver
We should watch for consequent registrations before callback dispatched.
Also we should remove mapping once we are done with it.
Straighten the lookup by CHECK's and use STL iterator api's to avoid
double lookups.
@balazs
balazs / -
Created January 30, 2015 05:11
diff --git a/components/gwclient_driver/push_messaging_registration_info_helper.cc b/components/gwclient_driver/push_messaging_registration_info_helper.cc
new file mode 100644
index 0000000..63dbf3d
--- /dev/null
+++ b/components/gwclient_driver/push_messaging_registration_info_helper.cc
@@ -0,0 +1,91 @@
+// TODO: licence
+
+#include "components/gwclient_driver/push_messaging_registration_info_helper.h"
+
layoutish/0000775000175000017500000000000012536662674012434 5ustar balazsbalazslayoutish/xhr-during-transition.html0000664000175000017500000000237612536665343017605 0ustar balazsbalazs