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

Unified Diff: content/test/mock_keyboard_driver_win.h

Issue 1026493002: Allow only a user gesture to trigger autofill popup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not show autofill popup if desktop IME is composing. Created 5 years, 8 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: content/test/mock_keyboard_driver_win.h
diff --git a/content/test/mock_keyboard_driver_win.h b/content/test/mock_keyboard_driver_win.h
index 15150dd62fa972b40c98dc2aaa6a68fa32e0597e..157df3173d4df9da5f356bcfbe74aa0e642c4fe2 100644
--- a/content/test/mock_keyboard_driver_win.h
+++ b/content/test/mock_keyboard_driver_win.h
@@ -21,8 +21,8 @@ class MockKeyboardDriverWin {
~MockKeyboardDriverWin();
bool SetLayout(int layout);
- bool SetModifiers(int modifiers);
- int GetCharacters(int key_code, std::wstring* code);
+ void SetModifiers(int modifiers);
+ int GetCharacters(int key_code, std::wstring* code) const;
private:
void MaybeUnloadActiveLayout();

Powered by Google App Engine
This is Rietveld 408576698