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

Side by Side Diff: chrome/browser/ui/browser_browsertest.cc

Issue 817153002: Switch users of foundation_util.h to include it directly and clean up uses of mac_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #include "extensions/browser/uninstall_reason.h" 87 #include "extensions/browser/uninstall_reason.h"
88 #include "extensions/common/constants.h" 88 #include "extensions/common/constants.h"
89 #include "extensions/common/extension.h" 89 #include "extensions/common/extension.h"
90 #include "extensions/common/extension_set.h" 90 #include "extensions/common/extension_set.h"
91 #include "net/dns/mock_host_resolver.h" 91 #include "net/dns/mock_host_resolver.h"
92 #include "net/test/spawned_test_server/spawned_test_server.h" 92 #include "net/test/spawned_test_server/spawned_test_server.h"
93 #include "ui/base/l10n/l10n_util.h" 93 #include "ui/base/l10n/l10n_util.h"
94 #include "ui/base/page_transition_types.h" 94 #include "ui/base/page_transition_types.h"
95 95
96 #if defined(OS_MACOSX) 96 #if defined(OS_MACOSX)
97 #include "base/mac/mac_util.h"
98 #include "base/mac/scoped_nsautorelease_pool.h" 97 #include "base/mac/scoped_nsautorelease_pool.h"
99 #include "chrome/browser/ui/cocoa/run_loop_testing.h" 98 #include "chrome/browser/ui/cocoa/run_loop_testing.h"
100 #endif 99 #endif
101 100
102 #if defined(OS_WIN) 101 #if defined(OS_WIN)
103 #include "base/i18n/rtl.h" 102 #include "base/i18n/rtl.h"
104 #include "chrome/browser/browser_process.h" 103 #include "chrome/browser/browser_process.h"
105 #endif 104 #endif
106 105
107 using app_modal::AppModalDialog; 106 using app_modal::AppModalDialog;
(...skipping 2618 matching lines...) Expand 10 before | Expand all | Expand 10 after
2726 #endif 2725 #endif
2727 EXPECT_EQ(exp_commit_size, rwhv_commit_size2); 2726 EXPECT_EQ(exp_commit_size, rwhv_commit_size2);
2728 EXPECT_EQ(exp_commit_size, wcv_commit_size2); 2727 EXPECT_EQ(exp_commit_size, wcv_commit_size2);
2729 gfx::Size exp_final_size(initial_wcv_size); 2728 gfx::Size exp_final_size(initial_wcv_size);
2730 exp_final_size.Enlarge(wcv_resize_insets.width(), 2729 exp_final_size.Enlarge(wcv_resize_insets.width(),
2731 wcv_resize_insets.height() + height_inset); 2730 wcv_resize_insets.height() + height_inset);
2732 EXPECT_EQ(exp_final_size, 2731 EXPECT_EQ(exp_final_size,
2733 web_contents->GetRenderWidgetHostView()->GetViewBounds().size()); 2732 web_contents->GetRenderWidgetHostView()->GetViewBounds().size());
2734 EXPECT_EQ(exp_final_size, web_contents->GetContainerBounds().size()); 2733 EXPECT_EQ(exp_final_size, web_contents->GetContainerBounds().size());
2735 } 2734 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ('k') | chrome/browser/ui/browser_commands_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698