Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: chrome/android/java/res/drawable/infobar_close_bg.xml

Issue 24109002: [InfoBar] Upstram basic infobar flow for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upstream_infobar_full
Patch Set: Fix License header in two more files Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/drawable/infobar_close_bg.xml
diff --git a/chrome/android/java/res/drawable/infobar_close_bg.xml b/chrome/android/java/res/drawable/infobar_close_bg.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4847d20b7a21b63bd6fd1d5b1a5d558bf00c1ea5
--- /dev/null
+++ b/chrome/android/java/res/drawable/infobar_close_bg.xml
@@ -0,0 +1,20 @@
+<?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_pressed="false"
+ android:state_focused="false"
+ android:drawable="@android:color/transparent" />
+ <item
+ android:state_pressed="false"
+ android:state_focused="true"
+ android:drawable="@drawable/infobar_close_button_focused" />
+ <item
+ android:drawable="@drawable/infobar_close_button_pressed" />
+</selector>

Powered by Google App Engine
This is Rietveld 408576698