OLD | NEW |
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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_util.h" | |
10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/browser/extensions/extension_service.h" | 14 #include "chrome/browser/extensions/extension_service.h" |
15 #include "chrome/browser/extensions/test_extension_system.h" | 15 #include "chrome/browser/extensions/test_extension_system.h" |
16 #import "chrome/browser/ui/browser_window.h" | 16 #import "chrome/browser/ui/browser_window.h" |
17 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 17 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
18 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle
r.h" | 18 #import "chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controlle
r.h" |
19 #import "chrome/browser/ui/cocoa/info_bubble_window.h" | 19 #import "chrome/browser/ui/cocoa/info_bubble_window.h" |
20 #include "chrome/common/chrome_paths.h" | 20 #include "chrome/common/chrome_paths.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 int minHeight = extension_installed_bubble::kIconSize + | 304 int minHeight = extension_installed_bubble::kIconSize + |
305 (2 * extension_installed_bubble::kOuterVerticalMargin); | 305 (2 * extension_installed_bubble::kOuterVerticalMargin); |
306 EXPECT_GT(height, minHeight); | 306 EXPECT_GT(height, minHeight); |
307 | 307 |
308 // Make sure the "show me" link is visible. | 308 // Make sure the "show me" link is visible. |
309 EXPECT_FALSE([[controller appInstalledShortcutLink] isHidden]); | 309 EXPECT_FALSE([[controller appInstalledShortcutLink] isHidden]); |
310 | 310 |
311 [controller close]; | 311 [controller close]; |
312 } | 312 } |
313 | 313 |
OLD | NEW |