// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_BROWSER_UI_WIN_TASKBAR_HOST_H_ #define ATOM_BROWSER_UI_WIN_TASKBAR_HOST_H_ #include #include #include #include "atom/browser/native_window.h" namespace atom { class TaskbarHost { public: explicit TaskbarHost(HWND window); ~TaskbarHost(); bool SetThumbarButtons( const std::vector& buttons); bool HandleThumbarButtonEvent(int button_id); private: using ThumbarButtonClickedCallbackMap = std::map< int, NativeWindow::ThumbarButtonClickedCallback>; ThumbarButtonClickedCallbackMap thumbar_button_clicked_callback_map_; bool is_initialized_; HWND window_; DISALLOW_COPY_AND_ASSIGN(TaskbarHost); }; } // namespace atom #endif // ATOM_BROWSER_UI_WIN_TASKBAR_HOST_H_