OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host_linux.h
" | 5 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host_linux.h
" |
6 | 6 |
7 //////////////////////////////////////////////////////////////////////////////// | 7 //////////////////////////////////////////////////////////////////////////////// |
8 // BrowserDesktopRootWindowHostLinux, public: | 8 // BrowserDesktopRootWindowHostLinux, public: |
9 | 9 |
10 BrowserDesktopRootWindowHostLinux::BrowserDesktopRootWindowHostLinux( | 10 BrowserDesktopRootWindowHostLinux::BrowserDesktopRootWindowHostLinux( |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 views::DesktopRootWindowHost* | 26 views::DesktopRootWindowHost* |
27 BrowserDesktopRootWindowHostLinux::AsDesktopRootWindowHost() { | 27 BrowserDesktopRootWindowHostLinux::AsDesktopRootWindowHost() { |
28 return this; | 28 return this; |
29 } | 29 } |
30 | 30 |
31 int BrowserDesktopRootWindowHostLinux::GetMinimizeButtonOffset() const { | 31 int BrowserDesktopRootWindowHostLinux::GetMinimizeButtonOffset() const { |
32 return 0; | 32 return 0; |
33 } | 33 } |
34 | 34 |
| 35 bool BrowserDesktopRootWindowHostLinux::UsesNativeSystemMenu() const { |
| 36 return false; |
| 37 } |
| 38 |
35 //////////////////////////////////////////////////////////////////////////////// | 39 //////////////////////////////////////////////////////////////////////////////// |
36 // BrowserDesktopRootWindowHost, public: | 40 // BrowserDesktopRootWindowHost, public: |
37 | 41 |
38 // static | 42 // static |
39 BrowserDesktopRootWindowHost* | 43 BrowserDesktopRootWindowHost* |
40 BrowserDesktopRootWindowHost::CreateBrowserDesktopRootWindowHost( | 44 BrowserDesktopRootWindowHost::CreateBrowserDesktopRootWindowHost( |
41 views::internal::NativeWidgetDelegate* native_widget_delegate, | 45 views::internal::NativeWidgetDelegate* native_widget_delegate, |
42 views::DesktopNativeWidgetAura* desktop_native_widget_aura, | 46 views::DesktopNativeWidgetAura* desktop_native_widget_aura, |
43 const gfx::Rect& initial_bounds, | 47 const gfx::Rect& initial_bounds, |
44 BrowserView* browser_view, | 48 BrowserView* browser_view, |
45 BrowserFrame* browser_frame) { | 49 BrowserFrame* browser_frame) { |
46 return new BrowserDesktopRootWindowHostLinux(native_widget_delegate, | 50 return new BrowserDesktopRootWindowHostLinux(native_widget_delegate, |
47 desktop_native_widget_aura, | 51 desktop_native_widget_aura, |
48 initial_bounds); | 52 initial_bounds); |
49 } | 53 } |
OLD | NEW |