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

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

Issue 2565813002: Create c/b/ui/cocoa/test and move test files to there (Closed)
Patch Set: Rebase Created 4 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/animatable_image_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 #include "extensions/common/extension_set.h" 109 #include "extensions/common/extension_set.h"
110 #include "net/dns/mock_host_resolver.h" 110 #include "net/dns/mock_host_resolver.h"
111 #include "net/test/embedded_test_server/embedded_test_server.h" 111 #include "net/test/embedded_test_server/embedded_test_server.h"
112 #include "net/test/embedded_test_server/request_handler_util.h" 112 #include "net/test/embedded_test_server/request_handler_util.h"
113 #include "net/test/spawned_test_server/spawned_test_server.h" 113 #include "net/test/spawned_test_server/spawned_test_server.h"
114 #include "ui/base/l10n/l10n_util.h" 114 #include "ui/base/l10n/l10n_util.h"
115 #include "ui/base/page_transition_types.h" 115 #include "ui/base/page_transition_types.h"
116 116
117 #if defined(OS_MACOSX) 117 #if defined(OS_MACOSX)
118 #include "base/mac/scoped_nsautorelease_pool.h" 118 #include "base/mac/scoped_nsautorelease_pool.h"
119 #include "chrome/browser/ui/cocoa/run_loop_testing.h" 119 #include "chrome/browser/ui/cocoa/test/run_loop_testing.h"
120 #endif 120 #endif
121 121
122 #if defined(OS_WIN) 122 #if defined(OS_WIN)
123 #include "base/i18n/rtl.h" 123 #include "base/i18n/rtl.h"
124 #include "chrome/browser/browser_process.h" 124 #include "chrome/browser/browser_process.h"
125 #endif 125 #endif
126 126
127 using app_modal::AppModalDialog; 127 using app_modal::AppModalDialog;
128 using app_modal::AppModalDialogQueue; 128 using app_modal::AppModalDialogQueue;
129 using app_modal::JavaScriptAppModalDialog; 129 using app_modal::JavaScriptAppModalDialog;
(...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after
2881 Browser* browser = new Browser(params); 2881 Browser* browser = new Browser(params);
2882 gfx::Rect bounds = browser->window()->GetBounds(); 2882 gfx::Rect bounds = browser->window()->GetBounds();
2883 2883
2884 // Should be EXPECT_EQ, but this width is inconsistent across platforms. 2884 // Should be EXPECT_EQ, but this width is inconsistent across platforms.
2885 // See https://crbug.com/567925. 2885 // See https://crbug.com/567925.
2886 EXPECT_GE(bounds.width(), 100); 2886 EXPECT_GE(bounds.width(), 100);
2887 EXPECT_EQ(122, bounds.height()); 2887 EXPECT_EQ(122, bounds.height());
2888 browser->window()->Close(); 2888 browser->window()->Close();
2889 } 2889 }
2890 } 2890 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/animatable_image_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698