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

Unified Diff: ui/views/accessible_pane_view.cc

Issue 10446010: wip: Add ui::EventType parameter. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wip - views_unittests Created 8 years, 7 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 | « ui/base/accelerators/accelerator_manager_unittest.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessible_pane_view.cc
diff --git a/ui/views/accessible_pane_view.cc b/ui/views/accessible_pane_view.cc
index ab12435bc1414b234c6d4b3236224d7641dcb9d4..42db4c3ce98a5089ea0d26918e9bf3a2eeecd8b3 100644
--- a/ui/views/accessible_pane_view.cc
+++ b/ui/views/accessible_pane_view.cc
@@ -16,11 +16,11 @@ AccessiblePaneView::AccessiblePaneView()
: pane_has_focus_(false),
ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)),
focus_manager_(NULL),
- home_key_(ui::VKEY_HOME, ui::EF_NONE),
- end_key_(ui::VKEY_END, ui::EF_NONE),
- escape_key_(ui::VKEY_ESCAPE, ui::EF_NONE),
- left_key_(ui::VKEY_LEFT, ui::EF_NONE),
- right_key_(ui::VKEY_RIGHT, ui::EF_NONE) {
+ home_key_(ui::VKEY_HOME, ui::EF_NONE, ui::ET_KEY_PRESSED),
+ end_key_(ui::VKEY_END, ui::EF_NONE, ui::ET_KEY_PRESSED),
+ escape_key_(ui::VKEY_ESCAPE, ui::EF_NONE, ui::ET_KEY_PRESSED),
+ left_key_(ui::VKEY_LEFT, ui::EF_NONE, ui::ET_KEY_PRESSED),
+ right_key_(ui::VKEY_RIGHT, ui::EF_NONE, ui::ET_KEY_PRESSED) {
focus_search_.reset(new views::FocusSearch(this, true, true));
}
« no previous file with comments | « ui/base/accelerators/accelerator_manager_unittest.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698