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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_
15 class NativeBrowserFrame
{
17 virtual ~NativeBrowserFrame() {}
19 virtual views::NativeWidget
* AsNativeWidget() = 0;
20 virtual const views::NativeWidget
* AsNativeWidget() const = 0;
22 // Returns true if the OS takes care of showing the system menu. Returning
23 // false means BrowserFrame handles showing the system menu.
24 virtual bool UsesNativeSystemMenu() const = 0;
27 friend class BrowserFrame
;
29 // BrowserFrame pass-thrus ---------------------------------------------------
30 // See browser_frame.h for documentation:
31 virtual int GetMinimizeButtonOffset() const = 0;
34 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_