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

Side by Side Diff: ui/views/controls/combobox/native_combobox_views_unittest.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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "ui/base/event.h" 6 #include "ui/base/events/event.h"
7 #include "ui/base/keycodes/keyboard_codes.h" 7 #include "ui/base/keycodes/keyboard_codes.h"
8 #include "ui/base/models/combobox_model.h" 8 #include "ui/base/models/combobox_model.h"
9 #include "ui/views/controls/combobox/combobox.h" 9 #include "ui/views/controls/combobox/combobox.h"
10 #include "ui/views/controls/combobox/native_combobox_views.h" 10 #include "ui/views/controls/combobox/native_combobox_views.h"
11 #include "ui/views/ime/mock_input_method.h" 11 #include "ui/views/ime/mock_input_method.h"
12 #include "ui/views/test/views_test_base.h" 12 #include "ui/views/test/views_test_base.h"
13 #include "ui/views/widget/native_widget_private.h" 13 #include "ui/views/widget/native_widget_private.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace { 16 namespace {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 widget_->SetContentsView(container); 187 widget_->SetContentsView(container);
188 container->AddChildView(combobox_); 188 container->AddChildView(combobox_);
189 189
190 combobox_view_ = static_cast<NativeComboboxViews*>( 190 combobox_view_ = static_cast<NativeComboboxViews*>(
191 combobox_->GetNativeWrapperForTesting()); 191 combobox_->GetNativeWrapperForTesting());
192 ASSERT_TRUE(combobox_view_); 192 ASSERT_TRUE(combobox_view_);
193 ASSERT_FALSE(combobox_view_->enabled()); 193 ASSERT_FALSE(combobox_view_->enabled());
194 } 194 }
195 195
196 } // namespace views 196 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/combobox/native_combobox_views.cc ('k') | ui/views/controls/combobox/native_combobox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698