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

Unified Diff: chrome/browser/chromeos/login/default_user_images.h

Issue 10376003: Improve accessibility of user image selection screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added child selector to css and updated image indices to match change from ivankr Created 8 years, 4 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/browser/chromeos/login/default_user_images.h
diff --git a/chrome/browser/chromeos/login/default_user_images.h b/chrome/browser/chromeos/login/default_user_images.h
index ffec8ffe28f3cf5ca11950a606208cb4d7668402..b7bb9d0b66e294ae1b915387ef4cc0f5a0233882 100644
--- a/chrome/browser/chromeos/login/default_user_images.h
+++ b/chrome/browser/chromeos/login/default_user_images.h
@@ -8,6 +8,8 @@
#include <cstddef> // for size_t
#include <string>
+#include "base/string16.h"
+
namespace gfx {
class ImageSkia;
}
@@ -34,6 +36,9 @@ bool IsDefaultImageUrl(const std::string url, int* image_id);
// Returns bitmap of default user image with specified index.
const gfx::ImageSkia& GetDefaultImage(int index);
+// Returns a description of a default user image with specified index.
+string16 GetDefaultImageDescription(int index);
+
// Resource IDs of default user images.
extern const int kDefaultImageResources[];

Powered by Google App Engine
This is Rietveld 408576698