Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / native_app_window_frame_view_mac.h
blob0509f5caa66b6aad9ca4ba0b7aab4b1d07f15840
1 // Copyright 2015 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_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_
8 #include "ui/views/window/native_frame_view.h"
10 class Widget;
12 // Provides metrics consistent with a native frame on Mac. The actual frame is
13 // drawn by NSWindow.
14 class NativeAppWindowFrameViewMac : public views::NativeFrameView {
15 public:
16 explicit NativeAppWindowFrameViewMac(views::Widget* frame);
17 ~NativeAppWindowFrameViewMac() override;
19 // NonClientFrameView:
20 gfx::Rect GetWindowBoundsForClientBounds(
21 const gfx::Rect& client_bounds) const override;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowFrameViewMac);
27 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_APP_WINDOW_FRAME_VIEW_MAC_H_