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

Side by Side Diff: chrome/browser/memory/tab_stats.cc

Issue 1249693002: Improve the about/discards UI, allowing each tab to be individually closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments on #6 Created 5 years, 5 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
« no previous file with comments | « chrome/browser/memory/tab_stats.h ('k') | chrome/browser/ui/webui/about_ui.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chrome/browser/memory/tab_stats.h" 5 #include "chrome/browser/memory/tab_stats.h"
6 6
7 namespace memory { 7 namespace memory {
8 8
9 TabStats::TabStats() 9 TabStats::TabStats()
10 : is_app(false), 10 : is_app(false),
11 is_internal_page(false), 11 is_internal_page(false),
12 is_playing_audio(false), 12 is_playing_audio(false),
13 is_pinned(false), 13 is_pinned(false),
14 is_selected(false), 14 is_selected(false),
15 is_discarded(false), 15 is_discarded(false),
16 renderer_handle(0), 16 renderer_handle(0),
17 child_process_host_id(0), 17 child_process_host_id(0),
18 #if defined(OS_CHROMEOS)
19 oom_score(0),
20 #endif
18 tab_contents_id(0) { 21 tab_contents_id(0) {
19 } 22 }
20 23
21 TabStats::~TabStats() { 24 TabStats::~TabStats() {
22 } 25 }
23 26
24 } // namespace memory 27 } // namespace memory
OLDNEW
« no previous file with comments | « chrome/browser/memory/tab_stats.h ('k') | chrome/browser/ui/webui/about_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698