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

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

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 <string> 5 #include <string>
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/accessibility/accessibility_extension_api.h" 10 #include "chrome/browser/accessibility/accessibility_extension_api.h"
(...skipping 14 matching lines...) Expand all
25 #include "ui/views/widget/native_widget.h" 25 #include "ui/views/widget/native_widget.h"
26 #include "ui/views/widget/root_view.h" 26 #include "ui/views/widget/root_view.h"
27 #include "ui/views/widget/widget.h" 27 #include "ui/views/widget/widget.h"
28 #include "ui/views/widget/widget_delegate.h" 28 #include "ui/views/widget/widget_delegate.h"
29 29
30 #if defined(OS_WIN) 30 #if defined(OS_WIN)
31 #include "ui/base/win/scoped_ole_initializer.h" 31 #include "ui/base/win/scoped_ole_initializer.h"
32 #endif 32 #endif
33 33
34 #if defined(USE_AURA) 34 #if defined(USE_AURA)
35 #include "ui/aura/root_window.h"
36 #include "ui/aura/test/aura_test_helper.h" 35 #include "ui/aura/test/aura_test_helper.h"
36 #include "ui/aura/window_event_dispatcher.h"
37 #include "ui/compositor/test/context_factories_for_test.h" 37 #include "ui/compositor/test/context_factories_for_test.h"
38 #endif 38 #endif
39 39
40 using base::ASCIIToUTF16; 40 using base::ASCIIToUTF16;
41 41
42 class AccessibilityViewsDelegate : public views::TestViewsDelegate { 42 class AccessibilityViewsDelegate : public views::TestViewsDelegate {
43 public: 43 public:
44 AccessibilityViewsDelegate() {} 44 AccessibilityViewsDelegate() {}
45 virtual ~AccessibilityViewsDelegate() {} 45 virtual ~AccessibilityViewsDelegate() {}
46 46
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 499
500 AccessibilityEventRouterViews::RecursiveGetMenuItemIndexAndCount( 500 AccessibilityEventRouterViews::RecursiveGetMenuItemIndexAndCount(
501 menu_container, 501 menu_container,
502 menu->GetMenuItemByID(kTestCases[i].command_id), 502 menu->GetMenuItemByID(kTestCases[i].command_id),
503 &index, 503 &index,
504 &count); 504 &count);
505 EXPECT_EQ(kTestCases[i].expected_index, index) << "Case " << i; 505 EXPECT_EQ(kTestCases[i].expected_index, index) << "Case " << i;
506 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i; 506 EXPECT_EQ(kTestCases[i].expected_count, count) << "Case " << i;
507 } 507 }
508 } 508 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698