diff options
Diffstat (limited to 'chrome/browser/views/frame/opaque_browser_frame_view.cc')
-rw-r--r-- | chrome/browser/views/frame/opaque_browser_frame_view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/opaque_browser_frame_view.cc b/chrome/browser/views/frame/opaque_browser_frame_view.cc index af74018..5014ef42 100644 --- a/chrome/browser/views/frame/opaque_browser_frame_view.cc +++ b/chrome/browser/views/frame/opaque_browser_frame_view.cc @@ -261,6 +261,10 @@ bool OpaqueBrowserFrameView::AlwaysUseNativeFrame() const { return frame_->AlwaysUseNativeFrame(); } +bool OpaqueBrowserFrameView::AlwaysUseCustomFrame() const { + return true; +} + gfx::Rect OpaqueBrowserFrameView::GetWindowBoundsForClientBounds( const gfx::Rect& client_bounds) const { int top_height = NonClientTopBorderHeight(); |