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

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

Issue 2728373003: Fixs bug resulting in double event delivery in mus (Closed)
Patch Set: comments Created 3 years, 9 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 102 }
103 103
104 bool ViewsTestBase::HasCompositingManager() const { 104 bool ViewsTestBase::HasCompositingManager() const {
105 return has_compositing_manager_; 105 return has_compositing_manager_;
106 } 106 }
107 107
108 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) { 108 void ViewsTestBase::SimulateNativeDestroy(Widget* widget) {
109 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget); 109 test_helper_->platform_test_helper()->SimulateNativeDestroy(widget);
110 } 110 }
111 111
112 void ViewsTestBase::DisableMusInputMethod(Widget* widget) {
113 test_helper_->platform_test_helper()->DisableMusInputMethod(widget);
114 }
115
112 gfx::NativeWindow ViewsTestBase::GetContext() { 116 gfx::NativeWindow ViewsTestBase::GetContext() {
113 return test_helper_->GetContext(); 117 return test_helper_->GetContext();
114 } 118 }
115 119
116 } // namespace views 120 } // namespace views
OLDNEW
« ui/views/test/views_test_base.h ('K') | « ui/views/test/views_test_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698