summaryrefslogtreecommitdiff
path: root/chromium/content/common/input/touch_action_optional_struct_traits.cc
blob: b2b4c33e638e60be8122af603ed4c5e113e0337d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/common/input/touch_action_optional_struct_traits.h"

#include "content/common/input_messages.h"

namespace mojo {
bool StructTraits<
    content::mojom::TouchActionOptionalDataView,
    cc::TouchAction>::Read(content::mojom::TouchActionOptionalDataView r,
                           cc::TouchAction* out) {
  return r.ReadTouchAction(out);
}
}  // namespace mojo