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 / app_window_native_widget_mac.h
blobae7cfc2c4eb5d8833abddace515c30a976dac671
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_APP_WINDOW_NATIVE_WIDGET_MAC_H
6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_NATIVE_WIDGET_MAC_H
8 #include "ui/views/widget/native_widget_mac.h"
10 // This implements features specific to app windows, e.g. frameless windows that
11 // behave like normal windows.
12 class AppWindowNativeWidgetMac : public views::NativeWidgetMac {
13 public:
14 explicit AppWindowNativeWidgetMac(views::Widget* widget);
15 ~AppWindowNativeWidgetMac() override;
17 protected:
18 // NativeWidgetMac:
19 gfx::NativeWindow CreateNSWindow(
20 const views::Widget::InitParams& params) override;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(AppWindowNativeWidgetMac);
26 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_NATIVE_WIDGET_MAC_H