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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager.h

Issue 7508014: Add member variables to VirtualKeyboardSelector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rewrote CheckUrls Created 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/input_method_manager.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager.h b/chrome/browser/chromeos/input_method/input_method_manager.h
index 37576e4cb6a15b4b83e7a3e42a94e8c59fcbef18..ff09a82210648755f6b77a7d52a74bcdd6aea636 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager.h
@@ -9,6 +9,7 @@
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_
#pragma once
+#include <map>
#include <set>
#include <string>
#include <utility>
@@ -166,6 +167,7 @@ class InputMethodManager {
// for details.
// TODO(yusukes): Add UnregisterVirtualKeyboard function as well.
virtual void RegisterVirtualKeyboard(const GURL& launch_url,
+ const std::string& name,
const std::set<std::string>& layouts,
bool is_system) = 0;
@@ -178,6 +180,14 @@ class InputMethodManager {
// See virtual_keyboard_selector.h for details.
virtual void ClearAllVirtualKeyboardPreferences() = 0;
+ // Returns a map from extension URL to virtual keyboard extension.
+ virtual const std::map<GURL, const VirtualKeyboard*>&
+ GetUrlToKeyboardMapping() const = 0;
+
+ // Returns a multi map from layout name to virtual keyboard extension.
+ virtual const std::multimap<std::string, const VirtualKeyboard*>&
+ GetLayoutNameToKeyboardMapping() const = 0;
+
virtual input_method::InputMethodDescriptor previous_input_method() const = 0;
virtual input_method::InputMethodDescriptor current_input_method() const = 0;
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698