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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_renderer_data.cc

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h"
6
7 TabRendererData::TabRendererData()
8 : network_state(NETWORK_STATE_NONE),
9 loading(false),
10 crashed_status(base::TERMINATION_STATUS_STILL_RUNNING),
11 off_the_record(false),
12 show_icon(true),
13 mini(false),
14 blocked(false),
15 app(false) {
16 }
17
18 TabRendererData::~TabRendererData() {}
19
20 bool TabRendererData::Equals(const TabRendererData& data) {
21 return
22 favicon.pixelRef() &&
23 favicon.pixelRef() == data.favicon.pixelRef() &&
24 favicon.pixelRefOffset() == data.favicon.pixelRefOffset() &&
25 network_state == data.network_state &&
26 title == data.title &&
27 loading == data.loading &&
28 crashed_status == data.crashed_status &&
29 off_the_record == data.off_the_record &&
30 show_icon == data.show_icon &&
31 mini == data.mini &&
32 blocked == data.blocked &&
33 app == data.app;
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698