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

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

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/html_page_screen.h" 5 #include "chrome/browser/chromeos/login/html_page_screen.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.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/chromeos/login/screen_observer.h" 12 #include "chrome/browser/chromeos/login/screen_observer.h"
13 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
14 #include "chrome/browser/ui/views/handle_web_keyboard_event.h" 14 #include "chrome/browser/ui/views/handle_web_keyboard_event.h"
15 #include "content/browser/renderer_host/render_view_host.h" 15 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/browser/site_instance.h" 16 #include "content/browser/site_instance.h"
17 #include "content/browser/tab_contents/tab_contents.h"
18 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
19 #include "ui/views/events/event.h" 18 #include "ui/views/events/event.h"
20 19
21 namespace chromeos { 20 namespace chromeos {
22 21
23 /////////////////////////////////////////////////////////////////////////////// 22 ///////////////////////////////////////////////////////////////////////////////
24 // HTMLPageDomView 23 // HTMLPageDomView
25 TabContents* HTMLPageDomView::CreateTabContents(Profile* profile, 24 TabContents* HTMLPageDomView::CreateTabContents(Profile* profile,
26 SiteInstance* instance) { 25 SiteInstance* instance) {
27 return new WizardWebPageViewTabContents(profile, 26 return new WizardWebPageViewTabContents(profile,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 if (g_browser_process) { 110 if (g_browser_process) {
112 const std::string locale = g_browser_process->GetApplicationLocale(); 111 const std::string locale = g_browser_process->GetApplicationLocale();
113 input_method::InputMethodManager* manager = 112 input_method::InputMethodManager* manager =
114 input_method::InputMethodManager::GetInstance(); 113 input_method::InputMethodManager::GetInstance();
115 manager->EnableInputMethods(locale, input_method::kKeyboardLayoutsOnly, ""); 114 manager->EnableInputMethods(locale, input_method::kKeyboardLayoutsOnly, "");
116 } 115 }
117 delegate()->GetObserver()->OnExit(code); 116 delegate()->GetObserver()->OnExit(code);
118 } 117 }
119 118
120 } // namespace chromeos 119 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/external_protocol_dialog.cc ('k') | chrome/browser/chromeos/login/lock_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698