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

Side by Side Diff: chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa_browser_test.mm

Issue 1292353006: Mac Changes for BubbleManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mcdb-mac-3.gitbr
Patch Set: Created 5 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /*
5 #include "chrome/browser/ui/browser.h" 6 #include "chrome/browser/ui/browser.h"
6 #include "chrome/browser/ui/browser_window.h" 7 #include "chrome/browser/ui/browser_window.h"
7 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
8 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" 9 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h"
9 #import "chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h" 10 #import "chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h"
10 #include "chrome/browser/ui/website_settings/permission_bubble_browser_test_util .h" 11 #include "chrome/browser/ui/website_settings/permission_bubble_browser_test_util .h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 #import "testing/gtest_mac.h" 13 #import "testing/gtest_mac.h"
13 #import "ui/base/cocoa/fullscreen_window_manager.h" 14 #import "ui/base/cocoa/fullscreen_window_manager.h"
14 15
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 NSPoint withLocationBar = bubble.GetAnchorPoint(); 119 NSPoint withLocationBar = bubble.GetAnchorPoint();
119 120
120 ON_CALL(bubble, HasLocationBar()).WillByDefault(testing::Return(false)); 121 ON_CALL(bubble, HasLocationBar()).WillByDefault(testing::Return(false));
121 NSPoint withoutLocationBar = bubble.GetAnchorPoint(); 122 NSPoint withoutLocationBar = bubble.GetAnchorPoint();
122 123
123 // The bubble should be in different places depending if the location bar is 124 // The bubble should be in different places depending if the location bar is
124 // available or not. 125 // available or not.
125 EXPECT_NSNE(withLocationBar, withoutLocationBar); 126 EXPECT_NSNE(withLocationBar, withoutLocationBar);
126 bubble.Hide(); 127 bubble.Hide();
127 } 128 }
129 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698