Skip to content

Instantly share code, notes, and snippets.

View kenchris's full-sized avatar
🏠
Working from home

Kenneth Rohde Christiansen kenchris

🏠
Working from home
  • Intel Corporation
  • Denmark
View GitHub Profile
$ 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
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>
<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;
<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">
[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
<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 {
commit d4ed8fd334151976e0e111f506ae8863ebb4d8d3
Author: Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
Date: Mon Dec 2 15:18:47 2013 +0100
WIP lockOrientation
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h
index fa21925..a9f5f64 100644
--- a/Source/core/events/EventTarget.h
+++ b/Source/core/events/EventTarget.h
diff --git a/tizen/mobile/ui/tizen_system_indicator_watcher.cc b/tizen/mobile/ui/tizen_system_indicator_watcher.cc
index b277c0b..f77b6e6 100644
--- a/tizen/mobile/ui/tizen_system_indicator_watcher.cc
+++ b/tizen/mobile/ui/tizen_system_indicator_watcher.cc
@@ -115,7 +115,9 @@ bool TizenSystemIndicatorWatcher::Connect() {
.Append(".ecore")
.Append(service_name_)
.Append(kServiceNumber));
- return IPC::CreateClientUnixDomainSocket(path, &fd_);
+ bool success =IPC::CreateClientUnixDomainSocket(path, &fd_);
commit 895c566d341e4a3d3ecca7fea5b3cea87fb29738
Author: Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
Date: Tue Dec 10 14:43:20 2013 +0100
WIP: Getting there
diff --git a/runtime/browser/ui/native_app_window_tizen.cc b/runtime/browser/ui/native_app_window_tizen.cc
index 7c995e6..1d6fe27 100644
--- a/runtime/browser/ui/native_app_window_tizen.cc
+++ b/runtime/browser/ui/native_app_window_tizen.cc
commit 825cc8a3884628a0f5e5f75dc780d896c7f9327f
Author: Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
Date: Mon Dec 9 18:39:36 2013 +0100
Support the 2x resolution of the Tizen System Indicator
Change to inherit from ImageView instead of View as it fits our
use-case. Insert the system indicator image as a 2.0 image
representation in the ImageSkia, and use its size as the preferred
size.