summaryrefslogtreecommitdiffstats
path: root/chrome/android/java/res
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/android/java/res')
-rw-r--r--chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_pause.pngbin0 -> 94 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_play.pngbin0 -> 192 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_stop.pngbin0 -> 190 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_cast_dark_off.pngbin0 -> 376 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_cast_dark_on.pngbin0 -> 541 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_notification_media_route.pngbin0 -> 259 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_vidcontrol_pause.pngbin0 -> 93 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_vidcontrol_play.pngbin0 -> 186 bytes
-rw-r--r--chrome/android/java/res/drawable-hdpi/ic_vidcontrol_stop.pngbin0 -> 180 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_pause.pngbin0 -> 93 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_play.pngbin0 -> 148 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_stop.pngbin0 -> 145 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_cast_dark_off.pngbin0 -> 253 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_cast_dark_on.pngbin0 -> 387 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_notification_media_route.pngbin0 -> 190 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_vidcontrol_pause.pngbin0 -> 90 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_vidcontrol_play.pngbin0 -> 146 bytes
-rw-r--r--chrome/android/java/res/drawable-mdpi/ic_vidcontrol_stop.pngbin0 -> 140 bytes
-rw-r--r--chrome/android/java/res/drawable-v19/notification_icon_bg.xml15
-rw-r--r--chrome/android/java/res/drawable-v21/notification_icon_bg.xml15
-rw-r--r--chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_pause.pngbin0 -> 103 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_stop.pngbin0 -> 211 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_cast_dark_off.pngbin0 -> 465 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_cast_dark_on.pngbin0 -> 657 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_notification_media_route.pngbin0 -> 342 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_pause.pngbin0 -> 90 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_play.pngbin0 -> 208 bytes
-rw-r--r--chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_stop.pngbin0 -> 201 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_pause.pngbin0 -> 109 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_play.pngbin0 -> 303 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_stop.pngbin0 -> 270 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_off.pngbin0 -> 721 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_on.pngbin0 -> 924 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_notification_media_route.pngbin0 -> 472 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_pause.pngbin0 -> 92 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_play.pngbin0 -> 278 bytes
-rw-r--r--chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_stop.pngbin0 -> 260 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_pause.pngbin0 -> 114 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_play.pngbin0 -> 370 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_stop.pngbin0 -> 331 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi/ic_notification_media_route.pngbin0 -> 599 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_pause.pngbin0 -> 97 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_play.pngbin0 -> 345 bytes
-rw-r--r--chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_stop.pngbin0 -> 318 bytes
-rw-r--r--chrome/android/java/res/drawable/ic_cast_dark_chrome.xml15
-rw-r--r--chrome/android/java/res/layout/cast_controller_media_route_button.xml13
-rw-r--r--chrome/android/java/res/layout/expanded_cast_controller.xml41
-rw-r--r--chrome/android/java/res/layout/remote_notification_bar.xml101
-rw-r--r--chrome/android/java/res/values-v17/styles.xml20
-rw-r--r--chrome/android/java/res/values-v21/styles.xml12
-rw-r--r--chrome/android/java/res/values/dimens.xml4
-rw-r--r--chrome/android/java/res/values/values.xml3
52 files changed, 237 insertions, 2 deletions
diff --git a/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..6f3d24d
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_play.png
new file mode 100644
index 0000000..3cc7488
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..cc8c01e
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi-v21/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_cast_dark_off.png b/chrome/android/java/res/drawable-hdpi/ic_cast_dark_off.png
new file mode 100644
index 0000000..e1d0f88
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_cast_dark_off.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_cast_dark_on.png b/chrome/android/java/res/drawable-hdpi/ic_cast_dark_on.png
new file mode 100644
index 0000000..549aed3
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_cast_dark_on.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_notification_media_route.png b/chrome/android/java/res/drawable-hdpi/ic_notification_media_route.png
new file mode 100644
index 0000000..6f69b68
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_notification_media_route.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..7be7c85
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_play.png
new file mode 100644
index 0000000..7e7513b
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..868a1ae
--- /dev/null
+++ b/chrome/android/java/res/drawable-hdpi/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..bcc194a
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_play.png
new file mode 100644
index 0000000..e617efa
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..1026bec
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi-v21/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_cast_dark_off.png b/chrome/android/java/res/drawable-mdpi/ic_cast_dark_off.png
new file mode 100644
index 0000000..4f17ebc
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_cast_dark_off.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_cast_dark_on.png b/chrome/android/java/res/drawable-mdpi/ic_cast_dark_on.png
new file mode 100644
index 0000000..304b484
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_cast_dark_on.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_notification_media_route.png b/chrome/android/java/res/drawable-mdpi/ic_notification_media_route.png
new file mode 100644
index 0000000..a2ab731
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_notification_media_route.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..9d73b64
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_play.png
new file mode 100644
index 0000000..4ad5315
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..f1343ea
--- /dev/null
+++ b/chrome/android/java/res/drawable-mdpi/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-v19/notification_icon_bg.xml b/chrome/android/java/res/drawable-v19/notification_icon_bg.xml
new file mode 100644
index 0000000..11ef229
--- /dev/null
+++ b/chrome/android/java/res/drawable-v19/notification_icon_bg.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2014 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+ <solid android:color="@color/light_active_color" />
+ <size
+ android:width="40dp"
+ android:height="40dp"/>
+</shape> \ No newline at end of file
diff --git a/chrome/android/java/res/drawable-v21/notification_icon_bg.xml b/chrome/android/java/res/drawable-v21/notification_icon_bg.xml
new file mode 100644
index 0000000..11ef229
--- /dev/null
+++ b/chrome/android/java/res/drawable-v21/notification_icon_bg.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2014 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+ <solid android:color="@color/light_active_color" />
+ <size
+ android:width="40dp"
+ android:height="40dp"/>
+</shape> \ No newline at end of file
diff --git a/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..82c2552
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..725633c
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi-v21/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_off.png b/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_off.png
new file mode 100644
index 0000000..343419a
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_off.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_on.png b/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_on.png
new file mode 100644
index 0000000..82648a1
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_cast_dark_on.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_notification_media_route.png b/chrome/android/java/res/drawable-xhdpi/ic_notification_media_route.png
new file mode 100644
index 0000000..158151f
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_notification_media_route.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..eb9a5a4
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_play.png
new file mode 100644
index 0000000..e9aacb2
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..be08ad5
--- /dev/null
+++ b/chrome/android/java/res/drawable-xhdpi/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..46a97c3
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_play.png
new file mode 100644
index 0000000..842438f
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..ec50bbe
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi-v21/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_off.png b/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_off.png
new file mode 100644
index 0000000..e11f480
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_off.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_on.png b/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_on.png
new file mode 100644
index 0000000..ace0ca4
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_cast_dark_on.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_notification_media_route.png b/chrome/android/java/res/drawable-xxhdpi/ic_notification_media_route.png
new file mode 100644
index 0000000..bfff22f
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_notification_media_route.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..2ac0603
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_play.png
new file mode 100644
index 0000000..b3129f8
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..1ebc210
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxhdpi/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..071f8c2
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_play.png
new file mode 100644
index 0000000..b5e8921
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..ebff9ca
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi-v21/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi/ic_notification_media_route.png b/chrome/android/java/res/drawable-xxxhdpi/ic_notification_media_route.png
new file mode 100644
index 0000000..f83ba97
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi/ic_notification_media_route.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_pause.png b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_pause.png
new file mode 100644
index 0000000..0bb162d
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_pause.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_play.png b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_play.png
new file mode 100644
index 0000000..71185b0
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_play.png
Binary files differ
diff --git a/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_stop.png b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_stop.png
new file mode 100644
index 0000000..01e4bc7
--- /dev/null
+++ b/chrome/android/java/res/drawable-xxxhdpi/ic_vidcontrol_stop.png
Binary files differ
diff --git a/chrome/android/java/res/drawable/ic_cast_dark_chrome.xml b/chrome/android/java/res/drawable/ic_cast_dark_chrome.xml
new file mode 100644
index 0000000..070f460
--- /dev/null
+++ b/chrome/android/java/res/drawable/ic_cast_dark_chrome.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_checked="true" android:state_enabled="true"
+ android:drawable="@drawable/ic_cast_dark_on" />
+ <item android:state_activated="true" android:state_enabled="true"
+ android:drawable="@drawable/ic_cast_dark_on" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/ic_cast_dark_off" />
+</selector> \ No newline at end of file
diff --git a/chrome/android/java/res/layout/cast_controller_media_route_button.xml b/chrome/android/java/res/layout/cast_controller_media_route_button.xml
new file mode 100644
index 0000000..547361b
--- /dev/null
+++ b/chrome/android/java/res/layout/cast_controller_media_route_button.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<org.chromium.chrome.browser.media.remote.FullscreenMediaRouteButton
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/cast_controller_media_route_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="visible"
+ android:layout_gravity = "start|top"
+ style="@style/CastMediaRouteButton" />
diff --git a/chrome/android/java/res/layout/expanded_cast_controller.xml b/chrome/android/java/res/layout/expanded_cast_controller.xml
new file mode 100644
index 0000000..340cef1
--- /dev/null
+++ b/chrome/android/java/res/layout/expanded_cast_controller.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/cast_frame_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:minHeight="200dp">
+ <ImageView
+ android:id="@+id/cast_background_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:paddingStart="12dp"
+ android:paddingEnd="12dp"
+ android:alpha="0.7"
+ android:scaleType="fitCenter"
+ android:adjustViewBounds="true"
+ android:contentDescription="@null"/>
+ <TextView
+ android:id="@+id/cast_screen_title"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
+ android:gravity="center"
+ android:textSize="14sp"
+ android:textStyle="bold"
+ android:textColor="@color/cast_media_controller_text" />
+ <org.chromium.third_party.android.media.MediaController
+ android:id="@+id/cast_media_controller"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom">
+ </org.chromium.third_party.android.media.MediaController>
+</FrameLayout>
diff --git a/chrome/android/java/res/layout/remote_notification_bar.xml b/chrome/android/java/res/layout/remote_notification_bar.xml
new file mode 100644
index 0000000..5cce18d
--- /dev/null
+++ b/chrome/android/java/res/layout/remote_notification_bar.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<!--
+ Notification layout for remote controls.
+ ___________________________________________________________
+ | | | |
+ | | [Living Room TV] | _ |
+ | ICON | =====0============================= | || |_| |
+ | | Playing "[Web Page Title]" | |
+ |________|______________________________________|_________|
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical">
+
+ <FrameLayout
+ android:layout_width="@android:dimen/notification_large_icon_width"
+ android:layout_height="@android:dimen/notification_large_icon_height" >
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:contentDescription="@null"
+ android:scaleType="centerInside"
+ android:src="@drawable/notification_icon_bg" />
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:contentDescription="@null"
+ android:scaleType="center"
+ android:src="@drawable/ic_notification_media_route" />
+ </FrameLayout>
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="7dp"
+ android:layout_weight="1"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/RemoteNotificationTitle"/>
+
+ <!-- android:visibility is set to 'gone' by default since we don't want to show it as long
+ as the duration of the video is unknown. The duration can be unknown in the case of
+ live streaming videos or YouTube. -->
+ <ProgressBar
+ android:id="@+id/progress"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ style="@style/RemoteNotificationProgressBar"/>
+
+ <TextView
+ android:id="@+id/status"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/RemoteNotificationText"/>
+
+ </LinearLayout>
+
+ <ImageButton
+ android:id="@+id/playpause"
+ android:src="@drawable/ic_vidcontrol_play"
+ android:layout_width="40dp"
+ android:layout_height="48dp"
+ android:layout_marginStart="8dp"
+ android:gravity="center"
+ android:padding="8dp"
+ android:scaleType="center"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@null"/>
+
+ <ImageButton
+ android:id="@+id/stop"
+ android:src="@drawable/ic_vidcontrol_stop"
+ android:layout_width="40dp"
+ android:layout_height="48dp"
+ android:layout_marginEnd="8dp"
+ android:gravity="center"
+ android:padding="8dp"
+ android:scaleType="center"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/accessibility_stop"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/chrome/android/java/res/values-v17/styles.xml b/chrome/android/java/res/values-v17/styles.xml
index 3957100..ef22bc5 100644
--- a/chrome/android/java/res/values-v17/styles.xml
+++ b/chrome/android/java/res/values-v17/styles.xml
@@ -224,5 +224,23 @@
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
</style>
-
+ <!-- Cast -->
+ <style
+ name="RemoteNotificationTitle"
+ parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>
+ <style
+ name="RemoteNotificationText"
+ parent="@android:style/TextAppearance.StatusBar.EventContent"/>
+ <style
+ name="RemoteNotificationProgressBar"
+ parent="@android:style/Widget.Holo.ProgressBar.Horizontal"/>
+ <style name="CastMediaRouteButton" parent="@style/Widget.MediaRouter.MediaRouteButton">
+ <item name="android:background">@null</item>
+ <item name="android:paddingTop">0dp</item>
+ <item name="android:paddingBottom">0dp</item>
+ <item name="android:paddingStart">0dp</item>
+ <item name="android:paddingEnd">0dp</item>
+ <item name="externalRouteEnabledDrawable">@drawable/ic_cast_dark_chrome</item>
+ </style>
+
</resources>
diff --git a/chrome/android/java/res/values-v21/styles.xml b/chrome/android/java/res/values-v21/styles.xml
index b156f18..75f28bf 100644
--- a/chrome/android/java/res/values-v21/styles.xml
+++ b/chrome/android/java/res/values-v21/styles.xml
@@ -58,5 +58,15 @@
<style name="ButtonCompatBorderless" parent="ButtonCompat">
<item name="android:background">@drawable/button_borderless_compat</item>
</style>
-
+ <!-- Cast notification -->
+ <style name="RemoteNotificationTitle"
+ parent="@android:style/TextAppearance.Material.Notification.Title">
+ <item name="android:layout_marginBottom">4dp</item>
+ </style>
+ <style name="RemoteNotificationText"
+ parent="@android:style/TextAppearance.Material.Notification.Line2"/>
+ <style name="RemoteNotificationProgressBar" parent="@android:style/Widget.ProgressBar.Horizontal">
+ <item name="android:minHeight">5dp</item>
+ </style>
+
</resources>
diff --git a/chrome/android/java/res/values/dimens.xml b/chrome/android/java/res/values/dimens.xml
index ef408db..baa7ce4 100644
--- a/chrome/android/java/res/values/dimens.xml
+++ b/chrome/android/java/res/values/dimens.xml
@@ -126,4 +126,8 @@
<!-- Autofill card unmasking prompt dimensions -->
<dimen name="autofill_card_unmask_tooltip_horizontal_padding">16dp</dimen>
<dimen name="autofill_card_unmask_tooltip_vertical_padding">4dp</dimen>
+
+ <!-- Cast related constants -->
+ <dimen name="remote_notification_logo_max_width">@android:dimen/notification_large_icon_width</dimen>
+ <dimen name="remote_notification_logo_max_height">64dp</dimen>
</resources>
diff --git a/chrome/android/java/res/values/values.xml b/chrome/android/java/res/values/values.xml
index bb04f2f..6e3b434 100644
--- a/chrome/android/java/res/values/values.xml
+++ b/chrome/android/java/res/values/values.xml
@@ -39,4 +39,7 @@
<item type="id" name="menu_id_help_privacy" />
<item type="id" name="menu_id_contextual_search_learn" />
+ <!-- Cast notification -->
+ <item type="id" name="remote_notification" />
+
</resources>