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

Unified Diff: chrome/browser/ui/webui/keyboard_ui.cc

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/keyboard_ui.cc
diff --git a/chrome/browser/ui/webui/keyboard_ui.cc b/chrome/browser/ui/webui/keyboard_ui.cc
deleted file mode 100644
index f86188ee18042d7e306b6d34c283d62e62f05d52..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/keyboard_ui.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/webui/keyboard_ui.h"
-
-#include "base/memory/ref_counted_memory.h"
-#include "base/memory/singleton.h"
-#include "base/message_loop.h"
-#include "base/string_piece.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
-#include "chrome/common/url_constants.h"
-#include "content/public/browser/web_contents.h"
-#include "content/public/browser/web_ui.h"
-#include "ui/base/resource/resource_bundle.h"
-
-using content::WebContents;
-
-///////////////////////////////////////////////////////////////////////////////
-// KeyboardUI
-
-KeyboardUI::KeyboardUI(content::WebUI* web_ui)
- : WebUIController(web_ui) {
- KeyboardHTMLSource* html_source = new KeyboardHTMLSource();
- Profile* profile = Profile::FromWebUI(web_ui);
- ChromeURLDataManager::AddDataSource(profile, html_source);
-}
-
-KeyboardUI::~KeyboardUI() {
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// KeyboardHTMLSource
-
-KeyboardUI::KeyboardHTMLSource::KeyboardHTMLSource()
- : DataSource(chrome::kChromeUIKeyboardHost, MessageLoop::current()) {
-}
-
-void KeyboardUI::KeyboardHTMLSource::StartDataRequest(const std::string& path,
- bool is_incognito,
- int request_id) {
- NOTREACHED() << "We should never get here since the extension should have"
- << "been triggered";
- SendResponse(request_id, NULL);
-}
-
-std::string KeyboardUI::KeyboardHTMLSource::GetMimeType(
- const std::string&) const {
- NOTREACHED() << "We should never get here since the extension should have"
- << "been triggered";
- return "text/html";
-}
« no previous file with comments | « chrome/browser/ui/webui/keyboard_ui.h ('k') | chrome/browser/ui/webui/options2/chromeos/cros_language_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698