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

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

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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/registration_screen.h" 5 #include "chrome/browser/chromeos/login/registration_screen.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 10 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
11 #include "chrome/browser/chromeos/input_method/input_method_util.h" 11 #include "chrome/browser/chromeos/input_method/input_method_util.h"
12 #include "chrome/browser/profiles/profile_manager.h" 12 #include "chrome/browser/profiles/profile_manager.h"
13 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
14 #include "content/public/browser/child_process_security_policy.h" 14 #include "content/public/browser/child_process_security_policy.h"
15 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/site_instance.h" 16 #include "content/public/browser/site_instance.h"
17 #include "content/public/browser/web_contents.h" 17 #include "content/public/browser/web_contents.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "net/url_request/url_request_about_job.h" 19 #include "net/url_request/url_request_about_job.h"
20 #include "net/url_request/url_request_filter.h" 20 #include "net/url_request/url_request_filter.h"
21 21
22 using content::ChildProcessSecurityPolicy; 22 using content::ChildProcessSecurityPolicy;
23 using content::NativeWebKeyboardEvent;
23 using content::OpenURLParams; 24 using content::OpenURLParams;
24 using content::SiteInstance; 25 using content::SiteInstance;
25 using content::WebContents; 26 using content::WebContents;
26 27
27 namespace chromeos { 28 namespace chromeos {
28 29
29 namespace { 30 namespace {
30 31
31 const char kRegistrationHostPageUrl[] = "chrome://register/"; 32 const char kRegistrationHostPageUrl[] = "chrome://register/";
32 33
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 130 }
130 131
131 // static 132 // static
132 net::URLRequestJob* RegistrationScreen::Factory(net::URLRequest* request, 133 net::URLRequestJob* RegistrationScreen::Factory(net::URLRequest* request,
133 const std::string& scheme) { 134 const std::string& scheme) {
134 VLOG(1) << "Handling url: " << request->url().spec().c_str(); 135 VLOG(1) << "Handling url: " << request->url().spec().c_str();
135 return new net::URLRequestAboutJob(request); 136 return new net::URLRequestAboutJob(request);
136 } 137 }
137 138
138 } // namespace chromeos 139 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/registration_screen.h ('k') | chrome/browser/chromeos/login/webui_login_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698