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

Side by Side Diff: chrome/browser/chromeos/login/screen_locker_tester.cc

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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) 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 "chrome/browser/chromeos/login/screen_locker_tester.h" 5 #include "chrome/browser/chromeos/login/screen_locker_tester.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/chromeos/login/login_status_consumer.h" 13 #include "chrome/browser/chromeos/login/login_status_consumer.h"
14 #include "chrome/browser/chromeos/login/mock_authenticator.h" 14 #include "chrome/browser/chromeos/login/mock_authenticator.h"
15 #include "chrome/browser/chromeos/login/screen_locker.h" 15 #include "chrome/browser/chromeos/login/screen_locker.h"
16 #include "chrome/browser/chromeos/login/webui_screen_locker.h" 16 #include "chrome/browser/chromeos/login/webui_screen_locker.h"
17 #include "chrome/test/base/ui_test_utils.h" 17 #include "chrome/test/base/ui_test_utils.h"
18 #include "content/public/browser/render_view_host.h" 18 #include "content/public/browser/render_view_host.h"
19 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
20 #include "content/public/browser/web_ui.h" 20 #include "content/public/browser/web_ui.h"
21 #include "ui/views/controls/button/button.h" 21 #include "ui/views/controls/button/button.h"
22 #include "ui/views/controls/label.h" 22 #include "ui/views/controls/label.h"
23 #include "ui/views/controls/textfield/textfield.h" 23 #include "ui/views/controls/textfield/textfield.h"
24 #include "ui/views/events/event.h"
25 #include "ui/views/widget/root_view.h" 24 #include "ui/views/widget/root_view.h"
26 25
27 using content::WebContents; 26 using content::WebContents;
28 27
29 namespace { 28 namespace {
30 29
31 class LoginAttemptObserver : public chromeos::LoginStatusConsumer { 30 class LoginAttemptObserver : public chromeos::LoginStatusConsumer {
32 public: 31 public:
33 explicit LoginAttemptObserver(chromeos::ScreenLocker* locker); 32 explicit LoginAttemptObserver(chromeos::ScreenLocker* locker);
34 virtual ~LoginAttemptObserver(); 33 virtual ~LoginAttemptObserver();
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 new MockAuthenticator(ScreenLocker::screen_locker_, user, password)); 205 new MockAuthenticator(ScreenLocker::screen_locker_, user, password));
207 } 206 }
208 207
209 } // namespace test 208 } // namespace test
210 209
211 test::ScreenLockerTester* ScreenLocker::GetTester() { 210 test::ScreenLockerTester* ScreenLocker::GetTester() {
212 return new test::WebUIScreenLockerTester(); 211 return new test::WebUIScreenLockerTester();
213 } 212 }
214 213
215 } // namespace chromeos 214 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/html_page_screen.cc ('k') | chrome/browser/extensions/extension_input_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698