Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / native_browser_frame.h
blob1aea739e2fc91a55ca32ef545bc53cee02b60820
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_
8 class BrowserFrame;
9 class BrowserView;
11 namespace views {
12 class NativeWidget;
15 class NativeBrowserFrame {
16 public:
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;
26 protected:
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_