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

Side by Side Diff: content/common/input/synthetic_pointer_action_params.cc

Issue 2634183002: Support multi-button press for synthetic mouse events (Closed)
Patch Set: Test modifiers and button Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "content/common/input/synthetic_pointer_action_params.h" 5 #include "content/common/input/synthetic_pointer_action_params.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 SyntheticPointerActionParams::SyntheticPointerActionParams() 9 SyntheticPointerActionParams::SyntheticPointerActionParams()
10 : pointer_action_type_(PointerActionType::NOT_INITIALIZED), index_(0) {} 10 : pointer_action_type_(PointerActionType::NOT_INITIALIZED),
11 index_(0),
12 button_(0) {}
11 13
12 SyntheticPointerActionParams::SyntheticPointerActionParams( 14 SyntheticPointerActionParams::SyntheticPointerActionParams(
13 PointerActionType action_type) 15 PointerActionType action_type)
14 : pointer_action_type_(action_type), index_(0) {} 16 : pointer_action_type_(action_type), index_(0), button_(0) {}
15 17
16 SyntheticPointerActionParams::~SyntheticPointerActionParams() {} 18 SyntheticPointerActionParams::~SyntheticPointerActionParams() {}
17 19
18 } // namespace content 20 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698