Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 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 | |
| 7 | |
| 8 #include "ui/views/widget/native_widget_mac.h" | |
| 9 | |
| 10 class AppWindowNativeWidgetMac : public views::NativeWidgetMac { | |
|
tapted
2015/03/18 00:06:38
needs a class comment
jackhou1
2015/03/18 03:44:39
Done.
| |
| 11 public: | |
| 12 AppWindowNativeWidgetMac(views::Widget* widget); | |
|
tapted
2015/03/18 00:06:38
explicit
jackhou1
2015/03/18 03:44:39
Done.
| |
| 13 ~AppWindowNativeWidgetMac() override; | |
| 14 | |
| 15 protected: | |
| 16 // NativeWidgetMac: | |
| 17 NSWindow* CreateNSWindow(views::Widget::InitParams params) override; | |
|
tapted
2015/03/18 00:06:38
pass |params| by const reference? Also the return
jackhou1
2015/03/18 03:44:39
Done.
| |
| 18 | |
| 19 private: | |
| 20 DISALLOW_COPY_AND_ASSIGN(AppWindowNativeWidgetMac); | |
| 21 }; | |
| 22 | |
| 23 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_NATIVE_WIDGET_MAC_H | |
| OLD | NEW |