electron/atom/browser/ui/views
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
..
autofill_popup_view.cc use smart pointer for paint_canvas 2017-11-13 15:50:49 +09:00
autofill_popup_view.h Add enable_osr build flag 2017-06-28 18:58:52 +02:00
frameless_view.cc Rename GetPrefferedSize to CalculatePrefferedSize 2017-11-24 10:58:17 +09:00
frameless_view.h Rename GetPrefferedSize to CalculatePrefferedSize 2017-11-24 10:58:17 +09:00
global_menu_bar_x11.cc Make the status string shorter 2017-07-20 22:45:06 +09:00
global_menu_bar_x11.h Sort includes alphabetically 2016-08-26 15:30:02 -07:00
menu_bar.cc Better GTK+ Menu color support (#12300) 2018-03-17 06:37:36 +09:00
menu_bar.h Better GTK+ Menu color support (#12300) 2018-03-17 06:37:36 +09:00
menu_delegate.cc Cleanup MenuRunner API 2017-11-24 10:58:17 +09:00
menu_delegate.h Cleanup MenuRunner API 2017-11-24 10:58:17 +09:00
menu_model_adapter.cc Only use default accelerator in Windows/Linux app menu 2016-07-07 11:50:19 -07:00
menu_model_adapter.h Only use default accelerator in Windows/Linux app menu 2016-07-07 11:50:19 -07:00
native_frame_view.cc
native_frame_view.h
submenu_button.cc Better GTK+ Menu color support (#12300) 2018-03-17 06:37:36 +09:00
submenu_button.h Better GTK+ Menu color support (#12300) 2018-03-17 06:37:36 +09:00
win_frame_view.cc Use Chrome default client inset handling 2017-04-13 13:03:46 +03:00
win_frame_view.h