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

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_view_browsertest.cc

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | Annotate | Revision Log
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 <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" 29 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
30 #include "chrome/browser/ui/omnibox/omnibox_view.h" 30 #include "chrome/browser/ui/omnibox/omnibox_view.h"
31 #include "chrome/common/chrome_notification_types.h" 31 #include "chrome/common/chrome_notification_types.h"
32 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/url_constants.h" 33 #include "chrome/common/url_constants.h"
34 #include "chrome/test/base/in_process_browser_test.h" 34 #include "chrome/test/base/in_process_browser_test.h"
35 #include "chrome/test/base/ui_test_utils.h" 35 #include "chrome/test/base/ui_test_utils.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "net/base/mock_host_resolver.h" 38 #include "net/base/mock_host_resolver.h"
39 #include "ui/base/events.h" 39 #include "ui/base/events/event_constants.h"
40 #include "ui/base/keycodes/keyboard_codes.h" 40 #include "ui/base/keycodes/keyboard_codes.h"
41 #include "ui/gfx/point.h" 41 #include "ui/gfx/point.h"
42 42
43 #if defined(TOOLKIT_GTK) 43 #if defined(TOOLKIT_GTK)
44 #include <gdk/gdk.h> 44 #include <gdk/gdk.h>
45 #include <gtk/gtk.h> 45 #include <gtk/gtk.h>
46 #endif 46 #endif
47 47
48 #if defined(USE_AURA) 48 #if defined(USE_AURA)
49 #include "chrome/browser/ui/views/frame/browser_view.h" 49 #include "chrome/browser/ui/views/frame/browser_view.h"
(...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1670 1670
1671 // Middle-clicking shouldn't select all the text either. 1671 // Middle-clicking shouldn't select all the text either.
1672 ASSERT_NO_FATAL_FAILURE( 1672 ASSERT_NO_FATAL_FAILURE(
1673 ClickFocusViewOrigin(ui_controls::LEFT, kClickOffset, kClickOffset)); 1673 ClickFocusViewOrigin(ui_controls::LEFT, kClickOffset, kClickOffset));
1674 ASSERT_NO_FATAL_FAILURE(ClickBrowserWindowCenter()); 1674 ASSERT_NO_FATAL_FAILURE(ClickBrowserWindowCenter());
1675 ASSERT_NO_FATAL_FAILURE( 1675 ASSERT_NO_FATAL_FAILURE(
1676 ClickFocusViewOrigin(ui_controls::MIDDLE, kClickOffset, kClickOffset)); 1676 ClickFocusViewOrigin(ui_controls::MIDDLE, kClickOffset, kClickOffset));
1677 EXPECT_FALSE(omnibox_view->IsSelectAll()); 1677 EXPECT_FALSE(omnibox_view->IsSelectAll());
1678 } 1678 }
1679 #endif // defined(USE_AURA) 1679 #endif // defined(USE_AURA)
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/event_utils_unittest.cc ('k') | chrome/browser/ui/views/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698