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

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

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | chrome/browser/ui/views/task_manager_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/tabs/tab.h" 5 #include "chrome/browser/ui/views/tabs/tab.h"
6 #include "chrome/browser/ui/views/tabs/tab_controller.h" 6 #include "chrome/browser/ui/views/tabs/tab_controller.h"
7 7
8 #include "base/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/base/models/list_selection_model.h" 10 #include "ui/base/models/list_selection_model.h"
11 #include "ui/views/controls/button/image_button.h" 11 #include "ui/views/controls/button/image_button.h"
12 #include "ui/views/test/views_test_base.h" 12 #include "ui/views/test/views_test_base.h"
13 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
14 14
15 using views::Widget; 15 using views::Widget;
16 16
17 class FakeTabController : public TabController { 17 class FakeTabController : public TabController {
18 public: 18 public:
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 EXPECT_TRUE(IconAnimationInvariant(tab)); 205 EXPECT_TRUE(IconAnimationInvariant(tab));
206 EXPECT_EQ(TabRendererData::CAPTURE_STATE_NONE, tab.data().capture_state); 206 EXPECT_EQ(TabRendererData::CAPTURE_STATE_NONE, tab.data().capture_state);
207 207
208 data.audio_state = TabRendererData::AUDIO_STATE_NONE; 208 data.audio_state = TabRendererData::AUDIO_STATE_NONE;
209 tab.SetData(data); 209 tab.SetData(data);
210 EXPECT_TRUE(IconAnimationInvariant(tab)); 210 EXPECT_TRUE(IconAnimationInvariant(tab));
211 EXPECT_EQ(TabRendererData::AUDIO_STATE_NONE, tab.data().audio_state); 211 EXPECT_EQ(TabRendererData::AUDIO_STATE_NONE, tab.data().audio_state);
212 EXPECT_EQ(TabRendererData::CAPTURE_STATE_NONE, tab.data().capture_state); 212 EXPECT_EQ(TabRendererData::CAPTURE_STATE_NONE, tab.data().capture_state);
213 EXPECT_TRUE(IconAnimationInvariant(tab)); 213 EXPECT_TRUE(IconAnimationInvariant(tab));
214 } 214 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | chrome/browser/ui/views/task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698