OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
5 #include "base/path_service.h" | 8 #include "base/path_service.h" |
6 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
7 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag
s_manager.h" | 10 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag
s_manager.h" |
8 #include "chrome/browser/task_management/task_management_browsertest_util.h" | 11 #include "chrome/browser/task_management/task_management_browsertest_util.h" |
9 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 13 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
11 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
12 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
13 #include "chrome/test/base/in_process_browser_test.h" | 16 #include "chrome/test/base/in_process_browser_test.h" |
14 #include "chrome/test/base/ui_test_utils.h" | 17 #include "chrome/test/base/ui_test_utils.h" |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 309 |
307 // Check that the task manager uses the default favicon for the page. | 310 // Check that the task manager uses the default favicon for the page. |
308 gfx::Image default_favicon_image = | 311 gfx::Image default_favicon_image = |
309 ResourceBundle::GetSharedInstance().GetNativeImageNamed( | 312 ResourceBundle::GetSharedInstance().GetNativeImageNamed( |
310 IDR_DEFAULT_FAVICON); | 313 IDR_DEFAULT_FAVICON); |
311 EXPECT_TRUE(gfx::test::AreImagesEqual(default_favicon_image, | 314 EXPECT_TRUE(gfx::test::AreImagesEqual(default_favicon_image, |
312 gfx::Image(task->icon()))); | 315 gfx::Image(task->icon()))); |
313 } | 316 } |
314 | 317 |
315 } // namespace task_management | 318 } // namespace task_management |
OLD | NEW |