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

Side by Side Diff: ui/views/test/views_test_base.cc

Issue 2604303002: (Mac)Views: Widgets focus first View in traversal order if initial focus fails. (Closed)
Patch Set: Fix compile error. Created 3 years, 11 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
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 "ui/views/test/views_test_base.h" 5 #include "ui/views/test/views_test_base.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 112
113 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) { 113 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) {
114 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget); 114 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget);
115 } 115 }
116 116
117 gfx::NativeWindow ViewsTestBase::GetContext() { 117 gfx::NativeWindow ViewsTestBase::GetContext() {
118 return test_helper_->GetContext(); 118 return test_helper_->GetContext();
119 } 119 }
120 120
121 void ViewsTestBase::SetFullKeyboardAccessState(Widget* widget, bool new_state) {
122 test_helper_->SetFullKeyboardAccessState(widget, new_state);
123 }
124
121 } // namespace views 125 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698