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

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

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 26 matching lines...) Expand all
37 #include "ui/base/events.h" 37 #include "ui/base/events.h"
38 #include "ui/base/keycodes/keyboard_codes.h" 38 #include "ui/base/keycodes/keyboard_codes.h"
39 39
40 #if defined(TOOLKIT_USES_GTK) 40 #if defined(TOOLKIT_USES_GTK)
41 #include <gdk/gdk.h> 41 #include <gdk/gdk.h>
42 #include <gtk/gtk.h> 42 #include <gtk/gtk.h>
43 #endif 43 #endif
44 44
45 #if defined(TOOLKIT_VIEWS) 45 #if defined(TOOLKIT_VIEWS)
46 #include "ui/views/events/event.h" 46 #include "ui/views/events/event.h"
47 #include "ui/views/widget/widget.h"
47 #include "views/controls/textfield/native_textfield_views.h" 48 #include "views/controls/textfield/native_textfield_views.h"
48 #include "views/widget/widget.h"
49 #endif 49 #endif
50 50
51 using base::Time; 51 using base::Time;
52 using base::TimeDelta; 52 using base::TimeDelta;
53 53
54 namespace { 54 namespace {
55 55
56 const char kSearchKeyword[] = "foo"; 56 const char kSearchKeyword[] = "foo";
57 const wchar_t kSearchKeywordKeys[] = { 57 const wchar_t kSearchKeywordKeys[] = {
58 ui::VKEY_F, ui::VKEY_O, ui::VKEY_O, 0 58 ui::VKEY_F, ui::VKEY_O, ui::VKEY_O, 0
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 PersistKeywordModeOnTabSwitch) { 1408 PersistKeywordModeOnTabSwitch) {
1409 PersistKeywordModeOnTabSwitch(); 1409 PersistKeywordModeOnTabSwitch();
1410 } 1410 }
1411 1411
1412 IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest, 1412 IN_PROC_BROWSER_TEST_F(OmniboxViewViewsTest,
1413 CtrlKeyPressedWithInlineAutocompleteTest) { 1413 CtrlKeyPressedWithInlineAutocompleteTest) {
1414 CtrlKeyPressedWithInlineAutocompleteTest(); 1414 CtrlKeyPressedWithInlineAutocompleteTest();
1415 } 1415 }
1416 1416
1417 #endif 1417 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/input_window_dialog_win.cc ('k') | chrome/browser/ui/panels/auto_hiding_desktop_bar_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698