This source file includes following definitions.
- media_state
- Equals
#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),
media_state(TAB_MEDIA_STATE_NONE) {
}
TabRendererData::~TabRendererData() {}
bool TabRendererData::Equals(const TabRendererData& data) {
return
favicon.BackedBySameObjectAs(data.favicon) &&
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 &&
media_state == data.media_state;
}