| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/ui/cocoa/website_settings/website_settings_bubble_contro
ller.h" | 5 #import "chrome/browser/ui/cocoa/website_settings/website_settings_bubble_contro
ller.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 10 #include "base/macros.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" | 12 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" |
| 10 #include "testing/gtest_mac.h" | 13 #include "testing/gtest_mac.h" |
| 11 | 14 |
| 12 @interface WebsiteSettingsBubbleController (ExposedForTesting) | 15 @interface WebsiteSettingsBubbleController (ExposedForTesting) |
| 13 - (NSSegmentedControl*)segmentedControl; | 16 - (NSSegmentedControl*)segmentedControl; |
| 14 - (NSTabView*)tabView; | 17 - (NSTabView*)tabView; |
| 15 - (NSView*)permissionsView; | 18 - (NSView*)permissionsView; |
| 16 - (NSView*)connectionTabContentView; | 19 - (NSView*)connectionTabContentView; |
| 17 - (NSImageView*)identityStatusIcon; | 20 - (NSImageView*)identityStatusIcon; |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 } | 406 } |
| 404 if ([view isKindOfClass:[NSPopUpButton class]]) { | 407 if ([view isKindOfClass:[NSPopUpButton class]]) { |
| 405 NSPopUpButton* button = static_cast<NSPopUpButton*>(view); | 408 NSPopUpButton* button = static_cast<NSPopUpButton*>(view); |
| 406 EXPECT_LT(NSMaxX([button frame]), window_width); | 409 EXPECT_LT(NSMaxX([button frame]), window_width); |
| 407 } | 410 } |
| 408 } | 411 } |
| 409 } | 412 } |
| 410 } | 413 } |
| 411 | 414 |
| 412 } // namespace | 415 } // namespace |
| OLD | NEW |