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

Unified Diff: chrome/browser/views/extensions/extension_shelf.h

Issue 215017: Fix extension toolstrip background update code (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
Index: chrome/browser/views/extensions/extension_shelf.h
===================================================================
--- chrome/browser/views/extensions/extension_shelf.h (revision 26491)
+++ chrome/browser/views/extensions/extension_shelf.h (working copy)
@@ -99,7 +99,7 @@
void CollapseToolstrip(ExtensionHost* host, const GURL& url);
// Initializes the background bitmaps for all views.
- void InitBackground(gfx::Canvas* canvas, const SkRect& subset);
+ void InitBackground(gfx::Canvas* canvas);
// Returns the Toolstrip at |x| coordinate. If |x| is out of bounds, returns
// NULL.
@@ -132,11 +132,6 @@
// Background bitmap to draw under extension views.
bool background_needs_repaint_;
- // Whether the background we are remembering is for detached mode or not.
- // This allows us to switch backgrounds and remember if we've done so, so that
- // we don't have to do it over and over again.
- bool background_for_detached_;
-
// The browser this extension shelf belongs to.
Browser* browser_;
« no previous file with comments | « chrome/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/browser/views/extensions/extension_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698