summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/table/table_view_unittest.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 16:46:52 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 16:46:52 +0000
commitdb496e7d4e7e99c02c268a4d4677b343fba45127 (patch)
tree9403ffaf66550d6fa5dab47ad814f9e45a0290cc /ui/views/controls/table/table_view_unittest.cc
parent5054dc5accb0ae7a533816e9a604a36a6fd6ae8e (diff)
downloadchromium_src-db496e7d4e7e99c02c268a4d4677b343fba45127.zip
chromium_src-db496e7d4e7e99c02c268a4d4677b343fba45127.tar.gz
chromium_src-db496e7d4e7e99c02c268a4d4677b343fba45127.tar.bz2
Adds a trivial views based table implementation (only supports single
selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. BUG=109665 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9181019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls/table/table_view_unittest.cc')
-rw-r--r--ui/views/controls/table/table_view_unittest.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/ui/views/controls/table/table_view_unittest.cc b/ui/views/controls/table/table_view_unittest.cc
index ba0ddac..ad5dec0 100644
--- a/ui/views/controls/table/table_view_unittest.cc
+++ b/ui/views/controls/table/table_view_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -6,11 +6,8 @@
#include "build/build_config.h"
-#if defined(OS_WIN)
#include <atlbase.h> // NOLINT
#include <atlwin.h> // NOLINT
-#endif
-
#include <vector> // NOLINT
#include "base/compiler_specific.h"
@@ -133,8 +130,6 @@ int TestTableModel::CompareValues(int row1, int row2, int column_id) {
return rows_[row1][column_id] - rows_[row2][column_id];
}
-#if defined(OS_WIN)
-
// TableViewTest ---------------------------------------------------------------
class TableViewTest : public testing::Test, views::WidgetDelegate {
@@ -465,6 +460,4 @@ TEST_F(NullModelTableViewTest, DISABLED_NullModel) {
// to a NULL model we'll crash.
}
-#endif // OS_WIN
-
} // namespace views