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

Side by Side Diff: chrome/browser/views/tabs/tab_renderer.h

Issue 1701015: Now drawing background for inactive app tabs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/tabs/tab_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_
7 7
8 #include "app/animation.h" 8 #include "app/animation.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 SkBitmap* image_l; 266 SkBitmap* image_l;
267 SkBitmap* image_c; 267 SkBitmap* image_c;
268 SkBitmap* image_r; 268 SkBitmap* image_r;
269 int l_width; 269 int l_width;
270 int r_width; 270 int r_width;
271 int y_offset; 271 int y_offset;
272 }; 272 };
273 static TabImage tab_active; 273 static TabImage tab_active;
274 static TabImage tab_active_nano; 274 static TabImage tab_active_nano;
275 static TabImage tab_inactive; 275 static TabImage tab_inactive;
276 static TabImage tab_inactive_nano;
276 static TabImage tab_alpha; 277 static TabImage tab_alpha;
277 static TabImage tab_alpha_nano; 278 static TabImage tab_alpha_nano;
278 279
279 // Whether we're showing the icon. It is cached so that we can detect when it 280 // Whether we're showing the icon. It is cached so that we can detect when it
280 // changes and layout appropriately. 281 // changes and layout appropriately.
281 bool showing_icon_; 282 bool showing_icon_;
282 283
283 // Whether we are showing the close button. It is cached so that we can 284 // Whether we are showing the close button. It is cached so that we can
284 // detect when it changes and layout appropriately. 285 // detect when it changes and layout appropriately.
285 bool showing_close_button_; 286 bool showing_close_button_;
(...skipping 14 matching lines...) Expand all
300 301
301 scoped_refptr<AnimationContainer> container_; 302 scoped_refptr<AnimationContainer> container_;
302 303
303 static void InitClass(); 304 static void InitClass();
304 static bool initialized_; 305 static bool initialized_;
305 306
306 DISALLOW_COPY_AND_ASSIGN(TabRenderer); 307 DISALLOW_COPY_AND_ASSIGN(TabRenderer);
307 }; 308 };
308 309
309 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_ 310 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_H_
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/tabs/tab_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698