root/content/browser/gamepad/gamepad_platform_data_fetcher.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. GetGamepadData

// Copyright (c) 2012 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/browser/gamepad/gamepad_platform_data_fetcher.h"

#include "third_party/WebKit/public/platform/WebGamepads.h"

namespace content {

GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {
}

void GamepadDataFetcherEmpty::GetGamepadData(blink::WebGamepads* pads,
                                             bool devices_changed_hint) {
  pads->length = 0;
}

}  // namespace content

/* [<][>][^][v][top][bottom][index][help] */