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

Side by Side Diff: chrome/browser/chromeos/cros/keyboard_library.cc

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/cros/keyboard_library.h" 5 #include "chrome/browser/chromeos/cros/keyboard_library.h"
6 6
7 #include "chrome/browser/chromeos/cros/cros_library.h" 7 #include "chrome/browser/chromeos/cros/cros_library.h"
8 #include "cros/chromeos_keyboard.h" 8 #include "third_party/cros/chromeos_keyboard.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 class KeyboardLibraryImpl : public KeyboardLibrary { 12 class KeyboardLibraryImpl : public KeyboardLibrary {
13 public: 13 public:
14 KeyboardLibraryImpl() {} 14 KeyboardLibraryImpl() {}
15 virtual ~KeyboardLibraryImpl() {} 15 virtual ~KeyboardLibraryImpl() {}
16 16
17 std::string GetHardwareKeyboardLayoutName() const { 17 std::string GetHardwareKeyboardLayoutName() const {
18 if (CrosLibrary::Get()->EnsureLoaded()) { 18 if (CrosLibrary::Get()->EnsureLoaded()) {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // static 140 // static
141 KeyboardLibrary* KeyboardLibrary::GetImpl(bool stub) { 141 KeyboardLibrary* KeyboardLibrary::GetImpl(bool stub) {
142 if (stub) 142 if (stub)
143 return new KeyboardLibraryStubImpl(); 143 return new KeyboardLibraryStubImpl();
144 else 144 else
145 return new KeyboardLibraryImpl(); 145 return new KeyboardLibraryImpl();
146 } 146 }
147 147
148 } // namespace chromeos 148 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/keyboard_library.h ('k') | chrome/browser/chromeos/cros/login_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698