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

Side by Side Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h" 5 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h"
6 6
7 #include <stddef.h>
8
9 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" 13 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
11 #import "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h" 14 #import "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
12 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
13 #include "components/omnibox/browser/autocomplete_input.h" 16 #include "components/omnibox/browser/autocomplete_input.h"
14 #include "ui/gfx/font_list.h" 17 #include "ui/gfx/font_list.h"
15 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/text_elider.h" 19 #include "ui/gfx/text_elider.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 EXPECT_GT(popup_view.GetTargetBounds().height(), old_height); 74 EXPECT_GT(popup_view.GetTargetBounds().height(), old_height);
72 EXPECT_EQ(5, [popup_view.matrix() numberOfRows]); 75 EXPECT_EQ(5, [popup_view.matrix() numberOfRows]);
73 76
74 popup_view.SetResultCount(0); 77 popup_view.SetResultCount(0);
75 popup_view.UpdatePopupAppearance(); 78 popup_view.UpdatePopupAppearance();
76 EXPECT_FALSE(popup_view.IsOpen()); 79 EXPECT_FALSE(popup_view.IsOpen());
77 EXPECT_EQ(0, [popup_view.matrix() numberOfRows]); 80 EXPECT_EQ(0, [popup_view.matrix() numberOfRows]);
78 } 81 }
79 82
80 } // namespace 83 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698