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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 10827259: Change panels to use gfx::Image instead of SkBitmap for favicon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fix 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/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 9155d0b031bdf503a2b0d69479cb8d8020af8673..c83d6eb09b6fc8193218fe535c758bde8ab4fa3c 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -26,7 +26,6 @@ class PanelHost;
class PanelManager;
class PanelStrip;
class Profile;
-class SkBitmap;
namespace content {
class WebContents;
@@ -37,6 +36,10 @@ namespace extensions {
class WindowController;
}
+namespace gfx {
+class Image;
+}
+
// A platform independent implementation of BaseWindow for Panels.
// This class gets the first crack at all the BaseWindow calls for Panels and
// does one or more of the following:
@@ -292,7 +295,7 @@ class Panel : public BaseWindow,
string16 GetWindowTitle() const;
// Gets the Favicon of the web contents.
- virtual SkBitmap GetCurrentPageIcon() const;
+ virtual gfx::Image GetCurrentPageIcon() const;
// Updates the title bar to display the current title and icon.
void UpdateTitleBar();

Powered by Google App Engine
This is Rietveld 408576698