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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.cc

Issue 2479023003: Remove is_fling flag for fling intervention (Closed)
Patch Set: Make enum explicitly Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/browser/renderer_host/input/input_router_impl.h" 5 #include "content/browser/renderer_host/input/input_router_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 const char* GetEventAckName(InputEventAckState ack_result) { 53 const char* GetEventAckName(InputEventAckState ack_result) {
54 switch(ack_result) { 54 switch(ack_result) {
55 case INPUT_EVENT_ACK_STATE_UNKNOWN: return "UNKNOWN"; 55 case INPUT_EVENT_ACK_STATE_UNKNOWN: return "UNKNOWN";
56 case INPUT_EVENT_ACK_STATE_CONSUMED: return "CONSUMED"; 56 case INPUT_EVENT_ACK_STATE_CONSUMED: return "CONSUMED";
57 case INPUT_EVENT_ACK_STATE_NOT_CONSUMED: return "NOT_CONSUMED"; 57 case INPUT_EVENT_ACK_STATE_NOT_CONSUMED: return "NOT_CONSUMED";
58 case INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS: return "NO_CONSUMER_EXISTS"; 58 case INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS: return "NO_CONSUMER_EXISTS";
59 case INPUT_EVENT_ACK_STATE_IGNORED: return "IGNORED"; 59 case INPUT_EVENT_ACK_STATE_IGNORED: return "IGNORED";
60 case INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING: 60 case INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING:
61 return "SET_NON_BLOCKING"; 61 return "SET_NON_BLOCKING";
62 case INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING_DUE_TO_FLING:
63 return "SET_NON_BLOCKING_DUE_TO_FLING";
62 } 64 }
63 DLOG(WARNING) << "Unhandled InputEventAckState in GetEventAckName."; 65 DLOG(WARNING) << "Unhandled InputEventAckState in GetEventAckName.";
64 return ""; 66 return "";
65 } 67 }
66 68
67 } // namespace 69 } // namespace
68 70
69 InputRouterImpl::Config::Config() { 71 InputRouterImpl::Config::Config() {
70 } 72 }
71 73
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 629
628 flush_requested_ = false; 630 flush_requested_ = false;
629 client_->DidFlush(); 631 client_->DidFlush();
630 } 632 }
631 633
632 void InputRouterImpl::SetFrameTreeNodeId(int frameTreeNodeId) { 634 void InputRouterImpl::SetFrameTreeNodeId(int frameTreeNodeId) {
633 frame_tree_node_id_ = frameTreeNodeId; 635 frame_tree_node_id_ = frameTreeNodeId;
634 } 636 }
635 637
636 } // namespace content 638 } // namespace content
OLDNEW
« no previous file with comments | « blimp/client/core/input/blimp_input_handler_wrapper.cc ('k') | content/common/input/input_event_ack_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698