Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(868)

Side by Side Diff: chrome/browser/ui/views/apps/app_window_native_widget_mac.h

Issue 987323002: [MacViews] Frameless app windows: make content view cover title bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test size of web contents, not content view. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698