Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kenneth Rohde Christiansen kenchris

🏠
Working from home
  • Intel Corporation
  • Denmark
View GitHub Profile
View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
View gist:3920aa4b652b99c4da56
[2626/3999] CXX obj/content/common/content_common.content_message_generator.o
FAILED: c++ -MMD -MF obj/content/common/content_common.content_message_generator.o.d -DCONTENT_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAG
View designer.html
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
View gist:f54865ce82f5be76fe52
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
<link href="../../bower_components/core-icons/core-icons.html" rel="import">
<polymer-element name="demo-card">
<template>
<style>
#frame {
margin: 15px;
View gist:b46a061cb7efbf1eadc1
npm ERR! Error: No compatible version found: doctrine@'PolymerLabs/doctrine#master'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4"]
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:719:10)
npm ERR! at /usr/share/npm/lib/cache.js:638:10
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
View gist:a21b77a3945f3cb5a3a0
$ git grep "WebDisplayMode.*GetDisplayMode("
chrome/browser/extensions/api/tab_capture/offscreen_presentation.cc:blink::WebDisplayMode OffscreenPresentation::GetDisplayMode(
chrome/browser/extensions/api/tab_capture/offscreen_presentation.h: blink::WebDisplayMode GetDisplayMode(
content/browser/renderer_host/render_view_host_delegate.cc:blink::WebDisplayMode RenderViewHostDelegate::GetDisplayMode() const {
content/browser/renderer_host/render_view_host_delegate.h: virtual blink::WebDisplayMode GetDisplayMode() const;
content/browser/renderer_host/render_view_host_impl.cc:blink::WebDisplayMode RenderViewHostImpl::GetDisplayMode() const {
content/browser/renderer_host/render_view_host_impl.h: blink::WebDisplayMode GetDisplayMode() const override;
content/browser/renderer_host/render_widget_host_impl.cc:blink::WebDisplayMode RenderWidgetHostImpl::GetDisplayMode() const {
content/browser/renderer_host/render_widget_host_impl.h: virtual blink::WebDisplayMode GetDisplayMode() const;
content/browser/web_contents
View gist:1345129
diff --git a/Source/WebKit2/UIProcess/qt/QtGestureRecognizer.h b/Source/WebKit2/UIProcess/qt/QtGestureRecognizer.h
index 0994c46..f5222c7 100644
--- a/Source/WebKit2/UIProcess/qt/QtGestureRecognizer.h
+++ b/Source/WebKit2/UIProcess/qt/QtGestureRecognizer.h
@@ -31,6 +31,9 @@ namespace WebKit {
class QtViewportInteractionEngine;
class QtGestureRecognizer {
+public:
+ bool isRecognized() const { return m_state == GestureRecognized; }
View gist:1565292
commit d63b4bb28948669cf882787e24de8f4e6c82481a
Author: Kenneth Rohde Christiansen <kenneth@webkit.org>
Date: Thu Jan 5 13:54:16 2012 +0100
[Qt] Implement QQuickWebView::inputMethodQuery
Reviewed by NOBODY (OOPS!).
Implement the non-Maliit dependent parts of inputMethodQuery.
View gist:1565569
commit dc7c5f063c750500c0de7f56dd93a96481cf8636
Author: Kenneth Rohde Christiansen <kenneth@webkit.org>
Date: Thu Jan 5 13:54:16 2012 +0100
[Qt] Implement QQuickWebView::inputMethodQuery
Reviewed by NOBODY (OOPS!).
Implement the non-Maliit dependent parts of inputMethodQuery.
View gist:1571092
commit 6a7de7f6428fa6339e8cf48e29bf91b86ed8324e
Author: Kenneth Rohde Christiansen <kenneth@webkit.org>
Date: Fri Jan 6 16:32:31 2012 +0100
WIP
diff --git a/Source/WebCore/loader/EmptyClients.h b/Source/WebCore/loader/EmptyClients.h
index 8d1fe7d..e522eff 100644
--- a/Source/WebCore/loader/EmptyClients.h
+++ b/Source/WebCore/loader/EmptyClients.h