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

Side by Side Diff: ui/views/focus/focus_traversal_unittest.cc

Issue 8658009: views: Move tabbed_pane directory to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix native_tabbed_pane_wrapper.h Created 9 years 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 "ui/views/focus/focus_manager.h" 5 #include "ui/views/focus/focus_manager.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "ui/base/models/combobox_model.h" 9 #include "ui/base/models/combobox_model.h"
10 #include "ui/views/controls/combobox/combobox.h" 10 #include "ui/views/controls/combobox/combobox.h"
11 #include "ui/views/focus/focus_manager_test.h" 11 #include "ui/views/focus/focus_manager_test.h"
12 #include "ui/views/widget/root_view.h" 12 #include "ui/views/widget/root_view.h"
13 #include "ui/views/widget/widget.h" 13 #include "ui/views/widget/widget.h"
14 #include "views/controls/button/checkbox.h" 14 #include "views/controls/button/checkbox.h"
15 #include "views/controls/button/radio_button.h" 15 #include "views/controls/button/radio_button.h"
16 #include "views/controls/button/text_button.h" 16 #include "views/controls/button/text_button.h"
17 #include "views/controls/label.h" 17 #include "views/controls/label.h"
18 #include "views/controls/link.h" 18 #include "views/controls/link.h"
19 #include "views/controls/native/native_view_host.h" 19 #include "views/controls/native/native_view_host.h"
20 #include "views/controls/scroll_view.h" 20 #include "views/controls/scroll_view.h"
21 #include "views/controls/textfield/textfield.h" 21 #include "views/controls/textfield/textfield.h"
22 22
23 #if !defined(USE_AURA) 23 #if !defined(USE_AURA)
24 #include "views/controls/tabbed_pane/tabbed_pane.h" 24 #include "ui/views/controls/tabbed_pane/tabbed_pane.h"
25 #endif 25 #endif
26 26
27 namespace views { 27 namespace views {
28 28
29 namespace { 29 namespace {
30 30
31 int count = 1; 31 int count = 1;
32 32
33 const int kTopCheckBoxID = count++; // 1 33 const int kTopCheckBoxID = count++; // 1
34 const int kLeftContainerID = count++; 34 const int kLeftContainerID = count++;
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 GetFocusManager()->AdvanceFocus(true); 803 GetFocusManager()->AdvanceFocus(true);
804 View* focused_view = GetFocusManager()->GetFocusedView(); 804 View* focused_view = GetFocusManager()->GetFocusedView();
805 EXPECT_TRUE(focused_view != NULL); 805 EXPECT_TRUE(focused_view != NULL);
806 if (focused_view) 806 if (focused_view)
807 EXPECT_EQ(kRightTraversalIDs[j], focused_view->id()); 807 EXPECT_EQ(kRightTraversalIDs[j], focused_view->id());
808 } 808 }
809 } 809 }
810 } 810 }
811 811
812 } // namespace views 812 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/focus/focus_manager_unittest.cc ('k') | views/controls/tabbed_pane/native_tabbed_pane_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698