1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h"
7 TabRendererData::TabRendererData()
8 : network_state(NETWORK_STATE_NONE
),
10 crashed_status(base::TERMINATION_STATUS_STILL_RUNNING
),
16 media_state(TAB_MEDIA_STATE_NONE
) {
19 TabRendererData::~TabRendererData() {}
21 bool TabRendererData::Equals(const TabRendererData
& data
) {
23 favicon
.BackedBySameObjectAs(data
.favicon
) &&
24 network_state
== data
.network_state
&&
25 title
== data
.title
&&
27 loading
== data
.loading
&&
28 crashed_status
== data
.crashed_status
&&
29 incognito
== data
.incognito
&&
30 show_icon
== data
.show_icon
&&
32 blocked
== data
.blocked
&&
34 media_state
== data
.media_state
;