Skip to content

Instantly share code, notes, and snippets.

View vivekgalatage's full-sized avatar
👋
Hey!

Vivek Galatage vivekgalatage

👋
Hey!
View GitHub Profile
@vivekgalatage
vivekgalatage / Note Taking.md
Last active April 5, 2024 08:52
Note Taking details
@vivekgalatage
vivekgalatage / section-sizes
Created January 15, 2014 12:26
Data table obtained using "size -A out/Release/lib/libchromiumtestshell.so"
+------------------------+-----------------+------------+-----------+
| section | without patch | with patch | gain/loss |
+------------------------+-----------------+------------+-----------+
| .dynsym | 12368 | 12368 | 0 |
| .dynstr | 25959 | 25959 | 0 |
| .hash | 5184 | 5184 | 0 |
| .rel.dyn | 1992040 | 1989160 | 2880 |
| .data.rel.ro | 994984 | 993544 | 1440 |
| .rel.plt | 2704 | 2704 | 0 |
| .plt | 4076 | 4076 | 0 |
@vivekgalatage
vivekgalatage / env.diff
Created December 23, 2013 06:52
Android environment diff.
--- /home/vivek.v/tmp/pre-setup.txt 2013-12-23 12:20:55.957533919 +0530
+++ /home/vivek.v/tmp/post-setup.txt 2013-12-23 12:21:17.973533133 +0530
@@ -1,7 +1,16 @@
all_proxy=socks://107.108.85.10:80/
ALL_PROXY=socks://107.108.85.10:80/
+ANDROID_NDK_ROOT=/home/vivek.v/workspace/chromium/src/third_party/android_tools/ndk/
+ANDROID_SDK_BUILD=1
+ANDROID_SDK_BUILD_TOOLS_VERSION=19.0.0
+ANDROID_SDK_ROOT=/home/vivek.v/workspace/chromium/src/third_party/android_tools/sdk/
+ANDROID_SDK_TOOLS=/home/vivek.v/workspace/chromium/src/third_party/android_tools/sdk//build-tools/19.0.0
@vivekgalatage
vivekgalatage / XSLTProcessor.diff
Created October 1, 2013 05:09
Adding runtime enabled flag check for XSLTProcessor in relevant layout tests.
diff --git a/LayoutTests/fast/xsl/xslt-processor.html b/LayoutTests/fast/xsl/xslt-processor.html
index 2bd7a4e..021dcf6 100644
--- a/LayoutTests/fast/xsl/xslt-processor.html
+++ b/LayoutTests/fast/xsl/xslt-processor.html
@@ -7,12 +7,17 @@ span { font-weight: bold }
.failure { color: red; }
</STYLE>
</head>
-<body id="body">
+<body id="body" onload="runTest();">
@vivekgalatage
vivekgalatage / DOMStorage.diff
Created August 6, 2013 10:17
DOMStorage undo/redo stack reset when the page modifies the storage
diff --git a/LayoutTests/inspector/storage-panel-dom-storage-undo-redo.html b/LayoutTests/inspector/storage-panel-dom-storage-undo-redo.html
index 1412ef6..fd5d5f0 100644
--- a/LayoutTests/inspector/storage-panel-dom-storage-undo-redo.html
+++ b/LayoutTests/inspector/storage-panel-dom-storage-undo-redo.html
@@ -24,7 +24,7 @@ function getDOMStorageEntries(isLocalStorage)
function test()
{
- WebInspector.DOMStorageHistory.MAX_UNDO_STACK_DEPTH = 20;
+ WebInspector.DOMStorageActionHistory.MAX_UNDO_STACK_DEPTH = 20;
@vivekgalatage
vivekgalatage / RemoveVendorPrefix.diff
Created May 17, 2013 11:20
Remove the vendor prefixes of supported properties.
diff --git a/Source/devtools/front_end/cm/cmdevtools.css b/Source/devtools/front_end/cm/cmdevtools.css
index 7026b63..495550a 100644
--- a/Source/devtools/front_end/cm/cmdevtools.css
+++ b/Source/devtools/front_end/cm/cmdevtools.css
@@ -1,5 +1,5 @@
.CodeMirror * {
- -webkit-box-sizing: content-box;
+ box-sizing: content-box;
}
@vivekgalatage
vivekgalatage / Singleton.cpp
Last active December 16, 2015 06:49
Singleton Template ass base class
template <class T>
class SingleTon
{
public:
static T& instance() {
static T inst;
return inst;
}
protected:
InspectorHistory* InspectorDOMStorageAgent::findStorageHistory(ErrorString* errorString, const RefPtr<InspectorObject>& storageId, RefPtr<StorageArea>& storageArea, Frame*& targetFrame)
{
storageArea = findStorageArea(0, storageId, targetFrame);
if (!storageArea) {
*errorString = "Storage not found";
return 0;
}
String historyMapKey;
bool isLocalStorage = false;
diff --git a/Source/WebCore/WebCore.gypi b/Source/WebCore/WebCore.gypi
index fb69071..c05f4f3 100644
--- a/Source/WebCore/WebCore.gypi
+++ b/Source/WebCore/WebCore.gypi
@@ -5457,6 +5457,7 @@
'webinspector_audits_js_files': [
'inspector/front-end/AuditCategories.js',
+ 'inspector/front-end/AuditController.js',
'inspector/front-end/AuditFormatters.js',