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

Side by Side Diff: chrome/browser/ui/views/first_run_bubble_unittest.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (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 #include "base/macros.h"
5 #include "chrome/browser/search_engines/template_url_service_factory.h" 6 #include "chrome/browser/search_engines/template_url_service_factory.h"
6 #include "chrome/browser/ui/views/first_run_bubble.h" 7 #include "chrome/browser/ui/views/first_run_bubble.h"
7 #include "chrome/test/base/testing_browser_process.h" 8 #include "chrome/test/base/testing_browser_process.h"
8 #include "chrome/test/base/testing_profile.h" 9 #include "chrome/test/base/testing_profile.h"
9 #include "components/search_engines/template_url.h" 10 #include "components/search_engines/template_url.h"
10 #include "components/search_engines/template_url_service.h" 11 #include "components/search_engines/template_url_service.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
13 #include "ui/aura/window_tree_host.h" 14 #include "ui/aura/window_tree_host.h"
14 #include "ui/events/event.h" 15 #include "ui/events/event.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON); 150 ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON);
150 CreateAndCloseBubbleOnEventTest(&mouse_down); 151 CreateAndCloseBubbleOnEventTest(&mouse_down);
151 } 152 }
152 153
153 TEST_F(FirstRunBubbleTest, CloseBubbleOnTouchDownEvent) { 154 TEST_F(FirstRunBubbleTest, CloseBubbleOnTouchDownEvent) {
154 ui::TouchEvent touch_down( 155 ui::TouchEvent touch_down(
155 ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, ui::EventTimeForNow()); 156 ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, ui::EventTimeForNow());
156 CreateAndCloseBubbleOnEventTest(&touch_down); 157 CreateAndCloseBubbleOnEventTest(&touch_down);
157 } 158 }
158 159
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_views_interactive_uitest.cc ('k') | chrome/browser/ui/views/first_run_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698