From 5df0362361f840b138b1f5ddd2f68ec601b94d2c Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 12 Apr 2018 19:18:02 +0530 Subject: [PATCH] Remove obsolete ShouldHandleSystemCommands function. https://chromium-review.googlesource.com/c/chromium/src/+/924315 --- atom/browser/native_window_views.cc | 4 ---- atom/browser/native_window_views.h | 1 - 2 files changed, 5 deletions(-) diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 0c07d370237e..697b849557d5 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -1186,10 +1186,6 @@ base::string16 NativeWindowViews::GetWindowTitle() const { return base::UTF8ToUTF16(title_); } -bool NativeWindowViews::ShouldHandleSystemCommands() const { - return true; -} - views::View* NativeWindowViews::GetContentsView() { return root_view_.get(); } diff --git a/atom/browser/native_window_views.h b/atom/browser/native_window_views.h index 0ebed3cb1296..ef1e4413ca87 100644 --- a/atom/browser/native_window_views.h +++ b/atom/browser/native_window_views.h @@ -154,7 +154,6 @@ class NativeWindowViews : public NativeWindow, bool CanMaximize() const override; bool CanMinimize() const override; base::string16 GetWindowTitle() const override; - bool ShouldHandleSystemCommands() const override; views::View* GetContentsView() override; bool ShouldDescendIntoChildForEventHandling( gfx::NativeView child,