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

Side by Side Diff: chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/browser/app_window/native_app_window.h" 5 #include "extensions/browser/app_window/native_app_window.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #import "base/mac/foundation_util.h" 9 #import "base/mac/foundation_util.h"
10 #import "base/mac/mac_util.h" 10 #import "base/mac/mac_util.h"
11 #import "base/mac/scoped_cftyperef.h" 11 #import "base/mac/scoped_cftyperef.h"
12 #import "base/mac/scoped_nsobject.h" 12 #import "base/mac/scoped_nsobject.h"
13 #import "base/mac/sdk_forward_declarations.h" 13 #import "base/mac/sdk_forward_declarations.h"
14 #include "base/macros.h"
14 #include "chrome/browser/apps/app_browsertest_util.h" 15 #include "chrome/browser/apps/app_browsertest_util.h"
15 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h" 16 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h"
16 #include "chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h " 17 #include "chrome/browser/apps/app_shim/test/app_shim_host_manager_test_api_mac.h "
17 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/browser/ui/extensions/app_launch_params.h" 20 #include "chrome/browser/ui/extensions/app_launch_params.h"
20 #include "chrome/browser/ui/extensions/application_launch.h" 21 #include "chrome/browser/ui/extensions/application_launch.h"
21 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
22 #include "content/public/browser/notification_service.h" 23 #include "content/public/browser/notification_service.h"
23 #include "content/public/test/test_utils.h" 24 #include "content/public/test/test_utils.h"
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 [expected_color getComponents:expected_components]; 714 [expected_color getComponents:expected_components];
714 [color getComponents:color_components]; 715 [color getComponents:color_components];
715 EXPECT_NEAR(expected_components[0], color_components[0], 0.01); 716 EXPECT_NEAR(expected_components[0], color_components[0], 0.01);
716 EXPECT_NEAR(expected_components[1], color_components[1], 0.01); 717 EXPECT_NEAR(expected_components[1], color_components[1], 0.01);
717 EXPECT_NEAR(expected_components[2], color_components[2], 0.01); 718 EXPECT_NEAR(expected_components[2], color_components[2], 0.01);
718 } 719 }
719 720
720 INSTANTIATE_TEST_CASE_P(NativeAppWindowCocoaBrowserTestInstance, 721 INSTANTIATE_TEST_CASE_P(NativeAppWindowCocoaBrowserTestInstance,
721 NativeAppWindowCocoaBrowserTest, 722 NativeAppWindowCocoaBrowserTest,
722 ::testing::Bool()); 723 ::testing::Bool());
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698