diff options
author | ben <ben@chromium.org> | 2015-10-09 17:45:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-10 00:45:50 +0000 |
commit | 974286a2cb68813b64c27c0fcd99cdfd899a007a (patch) | |
tree | a7d987599a5551deb75d0bef9877712e3e47db2f /ui/keyboard/keyboard.cc | |
parent | 77970f1c3cd71d535a248d6e15f14081312b300a (diff) | |
download | chromium_src-974286a2cb68813b64c27c0fcd99cdfd899a007a.zip chromium_src-974286a2cb68813b64c27c0fcd99cdfd899a007a.tar.gz chromium_src-974286a2cb68813b64c27c0fcd99cdfd899a007a.tar.bz2 |
Extract content dependency from keyboard code
Move content specific stuff to content subdir.
KeyboardControllerProxy -> KeyboardUI
Restructure targets.
R=sky@chromium.org
http://crbug.com/332504
Review URL: https://codereview.chromium.org/1392713002
Cr-Commit-Position: refs/heads/master@{#353441}
Diffstat (limited to 'ui/keyboard/keyboard.cc')
-rw-r--r-- | ui/keyboard/keyboard.cc | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ui/keyboard/keyboard.cc b/ui/keyboard/keyboard.cc deleted file mode 100644 index 4e26637..0000000 --- a/ui/keyboard/keyboard.cc +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) 2013 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 "ui/keyboard/keyboard.h" - -#include "base/files/file_path.h" -#include "base/path_service.h" -#include "ui/base/resource/resource_bundle.h" - -namespace keyboard { - -void InitializeKeyboard() { - static bool initialized = false; - if (initialized) - return; - initialized = true; - - base::FilePath pak_dir; - PathService::Get(base::DIR_MODULE, &pak_dir); - base::FilePath pak_file = pak_dir.Append( - FILE_PATH_LITERAL("keyboard_resources.pak")); - ui::ResourceBundle::GetSharedInstance().AddDataPackFromPath( - pak_file, ui::SCALE_FACTOR_100P); -} - -} // namespace keyboard |