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

Side by Side Diff: chrome/browser/webui/keyboard_ui.cc

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/webui/keyboard_ui.h ('k') | chrome/browser/webui/mediaplayer_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/webui/keyboard_ui.h" 5 #include "chrome/browser/webui/keyboard_ui.h"
6 6
7 #include "base/ref_counted_memory.h" 7 #include "base/ref_counted_memory.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "base/string_piece.h" 9 #include "base/string_piece.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
12 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 12 #include "chrome/browser/tab_contents/tab_contents.h"
13 #include "chrome/browser/webui/chrome_url_data_manager.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "grit/browser_resources.h" 15 #include "grit/browser_resources.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
17 17
18 /////////////////////////////////////////////////////////////////////////////// 18 ///////////////////////////////////////////////////////////////////////////////
19 // KeyboardUI 19 // KeyboardUI
20 20
21 KeyboardUI::KeyboardUI(TabContents* contents) 21 KeyboardUI::KeyboardUI(TabContents* contents)
22 : WebUI(contents) { 22 : WebUI(contents) {
23 KeyboardHTMLSource* html_source = new KeyboardHTMLSource(); 23 KeyboardHTMLSource* html_source = new KeyboardHTMLSource();
(...skipping 17 matching lines...) Expand all
41 << "been triggered"; 41 << "been triggered";
42 SendResponse(request_id, NULL); 42 SendResponse(request_id, NULL);
43 } 43 }
44 44
45 std::string KeyboardUI::KeyboardHTMLSource::GetMimeType( 45 std::string KeyboardUI::KeyboardHTMLSource::GetMimeType(
46 const std::string&) const { 46 const std::string&) const {
47 NOTREACHED() << "We should never get here since the extension should have" 47 NOTREACHED() << "We should never get here since the extension should have"
48 << "been triggered"; 48 << "been triggered";
49 return "text/html"; 49 return "text/html";
50 } 50 }
OLDNEW
« no previous file with comments | « chrome/browser/webui/keyboard_ui.h ('k') | chrome/browser/webui/mediaplayer_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698