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

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

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands.h » ('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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/extensions/extension_util.h" 31 #include "chrome/browser/extensions/extension_util.h"
32 #include "chrome/browser/extensions/tab_helper.h" 32 #include "chrome/browser/extensions/tab_helper.h"
33 #include "chrome/browser/first_run/first_run.h" 33 #include "chrome/browser/first_run/first_run.h"
34 #include "chrome/browser/lifetime/application_lifetime.h" 34 #include "chrome/browser/lifetime/application_lifetime.h"
35 #include "chrome/browser/prefs/incognito_mode_prefs.h" 35 #include "chrome/browser/prefs/incognito_mode_prefs.h"
36 #include "chrome/browser/profiles/profile.h" 36 #include "chrome/browser/profiles/profile.h"
37 #include "chrome/browser/profiles/profile_info_cache.h" 37 #include "chrome/browser/profiles/profile_info_cache.h"
38 #include "chrome/browser/profiles/profile_manager.h" 38 #include "chrome/browser/profiles/profile_manager.h"
39 #include "chrome/browser/search/search.h" 39 #include "chrome/browser/search/search.h"
40 #include "chrome/browser/sessions/session_service_factory.h" 40 #include "chrome/browser/sessions/session_service_factory.h"
41 #include "chrome/browser/ssl/security_state_model.h"
42 #include "chrome/browser/translate/chrome_translate_client.h" 41 #include "chrome/browser/translate/chrome_translate_client.h"
43 #include "chrome/browser/translate/cld_data_harness.h" 42 #include "chrome/browser/translate/cld_data_harness.h"
44 #include "chrome/browser/translate/cld_data_harness_factory.h" 43 #include "chrome/browser/translate/cld_data_harness_factory.h"
45 #include "chrome/browser/ui/browser.h" 44 #include "chrome/browser/ui/browser.h"
46 #include "chrome/browser/ui/browser_command_controller.h" 45 #include "chrome/browser/ui/browser_command_controller.h"
47 #include "chrome/browser/ui/browser_commands.h" 46 #include "chrome/browser/ui/browser_commands.h"
48 #include "chrome/browser/ui/browser_finder.h" 47 #include "chrome/browser/ui/browser_finder.h"
49 #include "chrome/browser/ui/browser_iterator.h" 48 #include "chrome/browser/ui/browser_iterator.h"
50 #include "chrome/browser/ui/browser_tabstrip.h" 49 #include "chrome/browser/ui/browser_tabstrip.h"
51 #include "chrome/browser/ui/browser_ui_prefs.h" 50 #include "chrome/browser/ui/browser_ui_prefs.h"
(...skipping 3263 matching lines...) Expand 10 before | Expand all | Expand 10 after
3315 Browser* browser = new Browser(params); 3314 Browser* browser = new Browser(params);
3316 gfx::Rect bounds = browser->window()->GetBounds(); 3315 gfx::Rect bounds = browser->window()->GetBounds();
3317 3316
3318 // Should be EXPECT_EQ, but this width is inconsistent across platforms. 3317 // Should be EXPECT_EQ, but this width is inconsistent across platforms.
3319 // See https://crbug.com/567925. 3318 // See https://crbug.com/567925.
3320 EXPECT_GE(bounds.width(), 100); 3319 EXPECT_GE(bounds.width(), 100);
3321 EXPECT_EQ(122, bounds.height()); 3320 EXPECT_EQ(122, bounds.height());
3322 browser->window()->Close(); 3321 browser->window()->Close();
3323 } 3322 }
3324 } 3323 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698