electron/atom
Charles Kerr 558ef7352d
Better GTK+ Menu color support (#12300)
* Better GTK+ Menu color support

 * Fix 'invisible menu' issue (#12275)

 * Now updates menu text color when focus changes!

 * Better caching of colors when system theme changes

 * Removed all GTK+ deprecation warnings from menubar

* Don't highlight menu text on mouseover in GTK+

* Fix textColor declaration scope error

* Simplify FocusManager connection management a bit

* Make the linter happy

* Decouple MenuBar view recoloring from rebuilding

This way we don't need to rebuild the subview each time a recolor
is needed, e.g. when window focus changes or the system theme changes

* Don't iterate child views if we don't need to

* Move variable declaration outside of a loop

* More efficient iteration of MenuBar children

* Cleaner MenuButton bounds testing

* Fix oops

* Add a nullptr check in MenuBar::GetItemCount()

* Simplify iteration in MenuBar::RebuildChildren()

* Make the linter happy

* Fix signed-unsigned comparison

* Remove declarations of nonexistent methods

* Make SubmenuButton accessor const

* Cleaner accelerator iteration

* Windows fixes
2018-03-17 06:37:36 +09:00
..
app Fixed Mac build when enable_run_as_node==false 2018-03-09 13:33:04 +01:00
browser Better GTK+ Menu color support (#12300) 2018-03-17 06:37:36 +09:00
common Merge pull request #12198 from electron/fix_crash_handler 2018-03-14 11:40:11 +09:00
node Fixed build issues 2017-11-24 10:58:53 +09:00
renderer add NOLINT rule for include order in renderer_client_base 2018-03-09 15:19:07 +05:30
utility [c++11 library] Remove ScopedVector 2017-11-24 10:58:17 +09:00
CPPLINT.cfg Enable alphabetical include order lint filter 2016-08-26 15:29:53 -07:00