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

Side by Side Diff: chrome/browser/chromeos/login/html_page_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/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/chromeos/login/screen_observer.h" 9 #include "chrome/browser/chromeos/login/screen_observer.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
11 #include "content/public/browser/render_view_host.h" 11 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/site_instance.h" 12 #include "content/public/browser/site_instance.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "ui/views/events/event.h" 14 #include "ui/views/events/event.h"
15 15
16 using content::NativeWebKeyboardEvent;
16 using content::SiteInstance; 17 using content::SiteInstance;
17 using content::WebContents; 18 using content::WebContents;
18 19
19 namespace chromeos { 20 namespace chromeos {
20 21
21 /////////////////////////////////////////////////////////////////////////////// 22 ///////////////////////////////////////////////////////////////////////////////
22 // HTMLPageView 23 // HTMLPageView
23 HTMLPageView::HTMLPageView(content::BrowserContext* browser_context) 24 HTMLPageView::HTMLPageView(content::BrowserContext* browser_context)
24 : dom_view_(new WebPageDomView(browser_context)) { 25 : dom_view_(new WebPageDomView(browser_context)) {
25 } 26 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 73 }
73 74
74 /////////////////////////////////////////////////////////////////////////////// 75 ///////////////////////////////////////////////////////////////////////////////
75 // HTMLPageScreen, private: 76 // HTMLPageScreen, private:
76 void HTMLPageScreen::CloseScreen(ScreenObserver::ExitCodes code) { 77 void HTMLPageScreen::CloseScreen(ScreenObserver::ExitCodes code) {
77 StopTimeoutTimer(); 78 StopTimeoutTimer();
78 delegate()->GetObserver()->OnExit(code); 79 delegate()->GetObserver()->OnExit(code);
79 } 80 }
80 81
81 } // namespace chromeos 82 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/html_page_screen.h ('k') | chrome/browser/chromeos/login/registration_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698