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

Side by Side Diff: content/browser/gamepad/raw_input_data_fetcher_win.h

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_ 5 #ifndef CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_
6 #define CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_ 6 #define CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <stdlib.h> 10 #include <stdlib.h>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 }; 52 };
53 53
54 class RawInputDataFetcher 54 class RawInputDataFetcher
55 : public base::SupportsWeakPtr<RawInputDataFetcher>, 55 : public base::SupportsWeakPtr<RawInputDataFetcher>,
56 public base::MessageLoop::DestructionObserver { 56 public base::MessageLoop::DestructionObserver {
57 public: 57 public:
58 explicit RawInputDataFetcher(); 58 explicit RawInputDataFetcher();
59 ~RawInputDataFetcher(); 59 ~RawInputDataFetcher();
60 60
61 // DestructionObserver overrides. 61 // DestructionObserver overrides.
62 virtual void WillDestroyCurrentMessageLoop() override; 62 void WillDestroyCurrentMessageLoop() override;
63 63
64 bool Available() { return rawinput_available_; } 64 bool Available() { return rawinput_available_; }
65 void StartMonitor(); 65 void StartMonitor();
66 void StopMonitor(); 66 void StopMonitor();
67 67
68 std::vector<RawGamepadInfo*> EnumerateDevices(); 68 std::vector<RawGamepadInfo*> EnumerateDevices();
69 RawGamepadInfo* GetGamepadInfo(HANDLE handle); 69 RawGamepadInfo* GetGamepadInfo(HANDLE handle);
70 70
71 private: 71 private:
72 RawGamepadInfo* ParseGamepadInfo(HANDLE hDevice); 72 RawGamepadInfo* ParseGamepadInfo(HANDLE hDevice);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 HidPGetUsageValueFunc hidp_get_usage_value_; 130 HidPGetUsageValueFunc hidp_get_usage_value_;
131 HidPGetScaledUsageValueFunc hidp_get_scaled_usage_value_; 131 HidPGetScaledUsageValueFunc hidp_get_scaled_usage_value_;
132 HidDGetStringFunc hidd_get_product_string_; 132 HidDGetStringFunc hidd_get_product_string_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(RawInputDataFetcher); 134 DISALLOW_COPY_AND_ASSIGN(RawInputDataFetcher);
135 }; 135 };
136 136
137 } // namespace content 137 } // namespace content
138 138
139 #endif // CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_ 139 #endif // CONTENT_BROWSER_GAMEPAD_RAW_INPUT_DATA_FETCHER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698