summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard.cc
diff options
context:
space:
mode:
authorbshe <bshe@chromium.org>2015-02-23 09:03:03 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-23 17:03:34 +0000
commit2b07a075b8b8ce3c5c2a08c000cd0c7118a937c3 (patch)
tree8a0835af4bc958ea1568b3817de45596321c74a2 /ui/keyboard/keyboard.cc
parent4f02f4cd6c8b9087ecd286c905b15e253d88d82f (diff)
downloadchromium_src-2b07a075b8b8ce3c5c2a08c000cd0c7118a937c3.zip
chromium_src-2b07a075b8b8ce3c5c2a08c000cd0c7118a937c3.tar.gz
chromium_src-2b07a075b8b8ce3c5c2a08c000cd0c7118a937c3.tar.bz2
[Code cleanup]Remove webui keyboard mojo binding
BUG=455057 TEST=none Review URL: https://codereview.chromium.org/946623002 Cr-Commit-Position: refs/heads/master@{#317598}
Diffstat (limited to 'ui/keyboard/keyboard.cc')
-rw-r--r--ui/keyboard/keyboard.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/keyboard/keyboard.cc b/ui/keyboard/keyboard.cc
index 2d4de13..436b935 100644
--- a/ui/keyboard/keyboard.cc
+++ b/ui/keyboard/keyboard.cc
@@ -7,7 +7,6 @@
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "ui/base/resource/resource_bundle.h"
-#include "ui/keyboard/webui/vk_webui_controller.h"
namespace keyboard {
@@ -30,17 +29,4 @@ void InitializeKeyboard() {
pak_file, ui::SCALE_FACTOR_100P);
}
-void InitializeWebUIBindings() {
- CHECK(initialized);
- base::FilePath content_resources;
- DCHECK(PathService::Get(base::DIR_MODULE, &content_resources));
- content_resources =
- content_resources.Append(FILE_PATH_LITERAL("content_resources.pak"));
- ui::ResourceBundle::GetSharedInstance().AddDataPackFromPath(
- content_resources, ui::SCALE_FACTOR_100P);
-
- content::WebUIControllerFactory::RegisterFactory(
- VKWebUIControllerFactory::GetInstance());
-}
-
} // namespace keyboard