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

Side by Side Diff: chrome/browser/ui/cocoa/dev_tools_controller_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 #import "chrome/browser/ui/cocoa/dev_tools_controller.h" 5 #import "chrome/browser/ui/cocoa/dev_tools_controller.h"
6 6
7 #include "base/macros.h"
7 #include "chrome/browser/devtools/devtools_window.h" 8 #include "chrome/browser/devtools/devtools_window.h"
8 #include "chrome/browser/devtools/devtools_window_testing.h" 9 #include "chrome/browser/devtools/devtools_window_testing.h"
9 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/browser_list.h" 11 #include "chrome/browser/ui/browser_list.h"
11 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
12 #include "chrome/browser/ui/cocoa/browser_window_controller.h" 13 #include "chrome/browser/ui/cocoa/browser_window_controller.h"
13 #include "chrome/browser/ui/find_bar/find_bar.h" 14 #include "chrome/browser/ui/find_bar/find_bar.h"
14 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 15 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
15 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
16 #include "chrome/test/base/in_process_browser_test.h" 17 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 IN_PROC_BROWSER_TEST_F(DevToolsControllerTest, AllowOtherViews) { 51 IN_PROC_BROWSER_TEST_F(DevToolsControllerTest, AllowOtherViews) {
51 EXPECT_FALSE(web_contents()->GetAllowOtherViews()); 52 EXPECT_FALSE(web_contents()->GetAllowOtherViews());
52 53
53 OpenDevToolsWindow(); 54 OpenDevToolsWindow();
54 EXPECT_TRUE(devtools_web_contents()->GetAllowOtherViews()); 55 EXPECT_TRUE(devtools_web_contents()->GetAllowOtherViews());
55 EXPECT_TRUE(web_contents()->GetAllowOtherViews()); 56 EXPECT_TRUE(web_contents()->GetAllowOtherViews());
56 57
57 CloseDevToolsWindow(); 58 CloseDevToolsWindow();
58 EXPECT_FALSE(web_contents()->GetAllowOtherViews()); 59 EXPECT_FALSE(web_contents()->GetAllowOtherViews());
59 } 60 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm ('k') | chrome/browser/ui/cocoa/dock_icon.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698