Move ShouldUseGlobalMenuBar to x_window_utils

This commit is contained in:
Cheng Zhao 2015-08-05 13:16:03 +08:00
parent 58b1172025
commit adbb909b39
3 changed files with 39 additions and 39 deletions

View file

@ -22,6 +22,9 @@ void SetWMSpecState(::Window xwindow, bool enabled, ::Atom state);
// Sets the _NET_WM_WINDOW_TYPE of window.
void SetWindowType(::Window xwindow, const std::string& type);
// Returns true if the bus name "com.canonical.AppMenu.Registrar" is available.
bool ShouldUseGlobalMenuBar();
} // namespace atom
#endif // ATOM_BROWSER_UI_X_X_WINDOW_UTILS_H_