| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_H_ |
| 7 |
| 8 #include "ui/views/widget/desktop_aura/desktop_root_window_host_ozone.h" |
| 9 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host.h" |
| 10 |
| 11 class BrowserView; |
| 12 |
| 13 namespace views { |
| 14 class DesktopNativeWidgetAura; |
| 15 } |
| 16 |
| 17 class BrowserDesktopRootWindowHostOzone |
| 18 : public BrowserDesktopRootWindowHost, |
| 19 public views::DesktopRootWindowHostOzone { |
| 20 public: |
| 21 BrowserDesktopRootWindowHostOzone( |
| 22 views::internal::NativeWidgetDelegate* native_widget_delegate, |
| 23 views::DesktopNativeWidgetAura* desktop_native_widget_aura, |
| 24 BrowserView* browser_view); |
| 25 virtual ~BrowserDesktopRootWindowHostOzone(); |
| 26 |
| 27 private: |
| 28 // Overridden from BrowserDesktopRootWindowHost: |
| 29 virtual views::DesktopRootWindowHost* AsDesktopRootWindowHost() OVERRIDE; |
| 30 virtual int GetMinimizeButtonOffset() const OVERRIDE; |
| 31 virtual bool UsesNativeSystemMenu() const OVERRIDE; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopRootWindowHostOzone); |
| 34 }; |
| 35 |
| 36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_OZONE_
H_ |
| OLD | NEW |