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

Unified Diff: chrome/browser/chromeos/cros/keyboard_library.h

Issue 3076029: Allow chrome for cros to be started with a username / password (Closed)
Patch Set: Only declare StubLogin on cros builds Created 10 years, 4 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/chromeos/cros/keyboard_library.h
diff --git a/chrome/browser/chromeos/cros/keyboard_library.h b/chrome/browser/chromeos/cros/keyboard_library.h
index ab1b12e96d0d3328d212bc2809337d6a08a539e8..0a160d5e27c4f5f99d5f447c1e97436f5d376212 100644
--- a/chrome/browser/chromeos/cros/keyboard_library.h
+++ b/chrome/browser/chromeos/cros/keyboard_library.h
@@ -38,22 +38,9 @@ class KeyboardLibrary {
// is given, the same keyboard layout will be shared for all applications.
// Returns true on success.
virtual bool SetKeyboardLayoutPerWindow(bool is_per_window) = 0;
-};
-class KeyboardLibraryImpl : public KeyboardLibrary {
- public:
- KeyboardLibraryImpl() {}
- virtual ~KeyboardLibraryImpl() {}
-
- // KeyboardLibrary overrides.
- virtual std::string GetCurrentKeyboardLayoutName() const;
- virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name);
- virtual bool RemapModifierKeys(const ModifierMap& modifier_map);
- virtual bool GetKeyboardLayoutPerWindow(bool* is_per_window) const;
- virtual bool SetKeyboardLayoutPerWindow(bool is_per_window);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(KeyboardLibraryImpl);
+ // Get library implementation.
+ static KeyboardLibrary* GetImpl(bool stub);
};
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/cros/input_method_library.cc ('k') | chrome/browser/chromeos/cros/keyboard_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698