]> khamidou — GitHub mirrors - electron.git/commit
Polish thumbar code.
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 5 Aug 2015 05:47:59 +0000 (13:47 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Wed, 5 Aug 2015 11:38:12 +0000 (19:38 +0800)
commit78eac4116c656b7bb7cb2c539984726068cb7a71
treec0fec83c1a83c97299ae8bc2d93bcefc7745f545
parentdfd076a3e5e364dfa0e1b02ad9d77ecc293bdd55
Polish thumbar code.

* Fix a memory leak in thumbar initialization.
* Check the number of thumbar buttons, should be <= 7.
* Correct to check thumbar button click event.
atom/browser/native_window_views.cc
atom/browser/ui/win/atom_desktop_window_tree_host_win.cc
atom/browser/ui/win/thumbar_host.cc
atom/browser/ui/win/thumbar_host.h
docs/api/browser-window.md
filenames.gypi