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

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: applied change to panel_titlebar_gtk.cc after syncing 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
« no previous file with comments | « chrome/browser/ui/panels/old_panel.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 8fd099ed43e68554b2a2052316d1b03a21f4c320..c5b1e2f47b0a8c13ddbf3875d1cccf29aed5b8d1 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:
@@ -291,7 +294,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();
« no previous file with comments | « chrome/browser/ui/panels/old_panel.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698