Expose NativeWindow.setThumbarButtons API to all platforms.
This commit is contained in:
parent
78eac4116c
commit
2f1cb8b52a
10 changed files with 35 additions and 52 deletions
|
@ -717,17 +717,17 @@ bool NativeWindowViews::IsVisibleOnAllWorkspaces() {
|
|||
return false;
|
||||
}
|
||||
|
||||
#if defined(OS_WIN)
|
||||
bool NativeWindowViews::SetThumbarButtons(
|
||||
const std::vector<ThumbarHost::ThumbarButton>& buttons) {
|
||||
const std::vector<NativeWindow::ThumbarButton>& buttons) {
|
||||
#if defined(OS_WIN)
|
||||
if (atom_desktop_window_tree_host_win_) {
|
||||
return atom_desktop_window_tree_host_win_->SetThumbarButtons(
|
||||
views::HWNDForNativeWindow(window_->GetNativeWindow()),
|
||||
buttons);
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
gfx::AcceleratedWidget NativeWindowViews::GetAcceleratedWidget() {
|
||||
return GetNativeWindow()->GetHost()->GetAcceleratedWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue