| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_KEYBOARD_LOCK_KEYBOARD_LOCK_SERVICE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_KEYBOARD_LOCK_KEYBOARD_LOCK_SERVICE_IMPL_H_ |
| 7 |
| 5 #include <string> | 8 #include <string> |
| 6 #include <vector> | 9 #include <vector> |
| 7 | 10 |
| 8 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 9 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 10 #include "third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock
.mojom.h" | 13 #include "third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock
.mojom.h" |
| 11 | 14 |
| 12 namespace service_manager { | 15 namespace service_manager { |
| 13 struct BindSourceInfo; | 16 struct BindSourceInfo; |
| 14 } | 17 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 25 const service_manager::BindSourceInfo& source_info, | 28 const service_manager::BindSourceInfo& source_info, |
| 26 blink::mojom::KeyboardLockServiceRequest request); | 29 blink::mojom::KeyboardLockServiceRequest request); |
| 27 | 30 |
| 28 // blink::mojom::KeyboardLockService implementations. | 31 // blink::mojom::KeyboardLockService implementations. |
| 29 void RequestKeyboardLock(const std::vector<std::string>& key_codes, | 32 void RequestKeyboardLock(const std::vector<std::string>& key_codes, |
| 30 RequestKeyboardLockCallback callback) override; | 33 RequestKeyboardLockCallback callback) override; |
| 31 void CancelKeyboardLock() override; | 34 void CancelKeyboardLock() override; |
| 32 }; | 35 }; |
| 33 | 36 |
| 34 } // namespace | 37 } // namespace |
| 38 |
| 39 #endif // CONTENT_BROWSER_KEYBOARD_LOCK_KEYBOARD_LOCK_SERVICE_IMPL_H_ |
| OLD | NEW |