Chromium Code Reviews| Index: chrome/utility/shell_handler_impl_win.h |
| diff --git a/chrome/utility/shell_handler_impl_win.h b/chrome/utility/shell_handler_impl_win.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..224812e5dbddeaecf7cb32c8d021797761313477 |
| --- /dev/null |
| +++ b/chrome/utility/shell_handler_impl_win.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2016 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. |
| + |
| +#ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ |
| +#define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ |
| + |
| +#include "base/macros.h" |
| +#include "chrome/common/shell_handler_win.mojom.h" |
| +#include "mojo/public/cpp/bindings/strong_binding.h" |
| + |
| +// Implements the ShellHandler mojo interface. |
| +class ShellHandlerImpl : public mojom::ShellHandler { |
|
gab
2016/06/28 20:59:18
How is this related to "class ShellHandler"? I'm n
Patrick Monette
2016/06/28 23:22:25
ShellHandler is the deprecated IPC version that ne
gab
2016/06/30 15:28:11
Got it, can you rename the old one then? IPCShellH
|
| + public: |
| + static void Create(mojom::ShellHandlerRequest request); |
| + |
| + private: |
| + explicit ShellHandlerImpl(mojom::ShellHandlerRequest request); |
| + ~ShellHandlerImpl() override; |
| + |
| + // mojom::ShellHandler: |
| + void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override; |
| + |
| + mojo::StrongBinding<ShellHandler> binding_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl); |
| +}; |
| + |
| +#endif // CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_ |