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

Unified Diff: chrome/browser/chromeos/options/network_config_view.h

Issue 10382144: Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/options/network_config_view.h
diff --git a/chrome/browser/chromeos/options/network_config_view.h b/chrome/browser/chromeos/options/network_config_view.h
index 438cd5177389aaa9b70cf6cf47dc91297876614d..fbb229fe3fa84ef4954d11bd56c1ac03fc4d1858 100644
--- a/chrome/browser/chromeos/options/network_config_view.h
+++ b/chrome/browser/chromeos/options/network_config_view.h
@@ -16,11 +16,15 @@
#include "ui/views/controls/button/button.h" // views::ButtonListener
#include "ui/views/window/dialog_delegate.h"
+namespace gfx {
+class ImageSkia;
+} // namespace gfx
+
namespace views {
class ImageView;
class NativeTextButton;
class View;
-}
+} // namespace views
namespace chromeos {
@@ -169,8 +173,8 @@ class ControlledSettingIndicatorView : public views::View {
bool managed_;
views::ImageView* image_view_;
- const SkBitmap* gray_image_;
- const SkBitmap* color_image_;
+ const gfx::ImageSkia* gray_image_;
+ const gfx::ImageSkia* color_image_;
DISALLOW_COPY_AND_ASSIGN(ControlledSettingIndicatorView);
};

Powered by Google App Engine
This is Rietveld 408576698