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

Side by Side Diff: chrome/browser/views/accessibility_event_router_views_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <string> 5 #include <string>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/extensions/extension_accessibility_api.h" 10 #include "chrome/browser/extensions/extension_accessibility_api.h"
10 #include "chrome/browser/views/accessibility_event_router_views.h" 11 #include "chrome/browser/views/accessibility_event_router_views.h"
11 #include "chrome/browser/views/accessible_view_helper.h" 12 #include "chrome/browser/views/accessible_view_helper.h"
12 #include "chrome/common/notification_registrar.h" 13 #include "chrome/common/notification_registrar.h"
13 #include "chrome/common/notification_service.h" 14 #include "chrome/common/notification_service.h"
14 #include "chrome/test/testing_profile.h" 15 #include "chrome/test/testing_profile.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 #include "views/controls/button/native_button.h" 17 #include "views/controls/button/native_button.h"
17 #include "views/grid_layout.h" 18 #include "views/grid_layout.h"
18 #include "views/widget/root_view.h" 19 #include "views/widget/root_view.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 focus_manager->AdvanceFocus(false); 120 focus_manager->AdvanceFocus(false);
120 EXPECT_EQ(1, focus_event_count_); 121 EXPECT_EQ(1, focus_event_count_);
121 122
122 // Advance to button 1 and check the notification. 123 // Advance to button 1 and check the notification.
123 focus_manager->AdvanceFocus(false); 124 focus_manager->AdvanceFocus(false);
124 EXPECT_EQ(2, focus_event_count_); 125 EXPECT_EQ(2, focus_event_count_);
125 EXPECT_EQ(kButton1ASCII, last_control_name_); 126 EXPECT_EQ(kButton1ASCII, last_control_name_);
126 } 127 }
127 128
128 #endif // defined(TOOLKIT_VIEWS) 129 #endif // defined(TOOLKIT_VIEWS)
OLDNEW
« no previous file with comments | « chrome/browser/views/about_ipc_dialog.cc ('k') | chrome/browser/views/browser_views_accessibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698