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

Unified Diff: chrome/android/java/res/drawable/infobar_button_normal_floating.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
« no previous file with comments | « no previous file | chrome/android/java/res/drawable/infobar_button_normal_full_left.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/drawable/infobar_button_normal_floating.xml
diff --git a/ui/android/java/res/drawable/autofill_popup_background.xml b/chrome/android/java/res/drawable/infobar_button_normal_floating.xml
similarity index 51%
copy from ui/android/java/res/drawable/autofill_popup_background.xml
copy to chrome/android/java/res/drawable/infobar_button_normal_floating.xml
index 0f8d38babdf320de088cf831d701b0795d29f756..4853014d3057013bf32949c19d4e88240beedacb 100644
--- a/ui/android/java/res/drawable/autofill_popup_background.xml
+++ b/chrome/android/java/res/drawable/infobar_button_normal_floating.xml
@@ -1,13 +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_above_anchor="true"
- android:drawable="@drawable/autofill_popup_background_up" />
- <item android:drawable="@drawable/autofill_popup_background_down" />
-</selector>
+ <item
+ android:state_pressed="false"
+ android:state_focused="false"
+ android:drawable="@drawable/infobar_button_normal_floating_enabled" />
+ <item
+ android:drawable="@drawable/infobar_button_normal_floating_pressed" />
+</selector>
« no previous file with comments | « no previous file | chrome/android/java/res/drawable/infobar_button_normal_full_left.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698