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

Side by Side Diff: chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h

Issue 6679024: Removing 'off the record' references from TabRendererGtk. Contributed by vipul.bhasin@gmail.com (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_GTK_TABS_TAB_RENDERER_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <map> 10 #include <map>
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 BitmapCache; 253 BitmapCache;
254 254
255 // Model data. We store this here so that we don't need to ask the underlying 255 // Model data. We store this here so that we don't need to ask the underlying
256 // model, which is tricky since instances of this object can outlive the 256 // model, which is tricky since instances of this object can outlive the
257 // corresponding objects in the underlying model. 257 // corresponding objects in the underlying model.
258 struct TabData { 258 struct TabData {
259 TabData() 259 TabData()
260 : is_default_favicon(false), 260 : is_default_favicon(false),
261 loading(false), 261 loading(false),
262 crashed(false), 262 crashed(false),
263 off_the_record(false), 263 incognito(false),
264 show_icon(true), 264 show_icon(true),
265 mini(false), 265 mini(false),
266 blocked(false), 266 blocked(false),
267 animating_mini_change(false), 267 animating_mini_change(false),
268 app(false) { 268 app(false) {
269 } 269 }
270 270
271 SkBitmap favicon; 271 SkBitmap favicon;
272 bool is_default_favicon; 272 bool is_default_favicon;
273 string16 title; 273 string16 title;
274 bool loading; 274 bool loading;
275 bool crashed; 275 bool crashed;
276 bool off_the_record; 276 bool incognito;
277 bool show_icon; 277 bool show_icon;
278 bool mini; 278 bool mini;
279 bool blocked; 279 bool blocked;
280 bool animating_mini_change; 280 bool animating_mini_change;
281 bool app; 281 bool app;
282 }; 282 };
283 283
284 // TODO(jhawkins): Move into TabResources class. 284 // TODO(jhawkins): Move into TabResources class.
285 struct TabImage { 285 struct TabImage {
286 SkBitmap* image_l; 286 SkBitmap* image_l;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 // The current color of the close button. 447 // The current color of the close button.
448 SkColor close_button_color_; 448 SkColor close_button_color_;
449 449
450 // Used to listen for theme change notifications. 450 // Used to listen for theme change notifications.
451 NotificationRegistrar registrar_; 451 NotificationRegistrar registrar_;
452 452
453 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); 453 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk);
454 }; 454 };
455 455
456 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_ 456 #endif // CHROME_BROWSER_UI_GTK_TABS_TAB_RENDERER_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698