blob: 41e525b7cd5d6d12cc8bd2088a0bf26344953096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/tabs/tab_renderer_data.h"
TabRendererData::TabRendererData()
: network_state(NETWORK_STATE_NONE),
loading(false),
crashed_status(base::TERMINATION_STATUS_STILL_RUNNING),
incognito(false),
show_icon(true),
mini(false),
blocked(false),
app(false) {
}
TabRendererData::~TabRendererData() {}
bool TabRendererData::Equals(const TabRendererData& data) {
return
favicon.pixelRef() &&
favicon.pixelRef() == data.favicon.pixelRef() &&
favicon.pixelRefOffset() == data.favicon.pixelRefOffset() &&
network_state == data.network_state &&
title == data.title &&
url == data.url &&
loading == data.loading &&
crashed_status == data.crashed_status &&
incognito == data.incognito &&
show_icon == data.show_icon &&
mini == data.mini &&
blocked == data.blocked &&
app == data.app;
}
|