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

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

Issue 1023083002: [MacViews] Implement size constraints for app windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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_NATIVE_FRAME_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_FRAME_VIEW_MAC_H_
7
8 #include "ui/views/window/native_frame_view.h"
9
10 class Widget;
11
12 class NativeFrameViewMac : public views::NativeFrameView {
tapted 2015/03/30 06:33:37 needs a class comment. It should explain why this
jackhou1 2015/03/31 00:50:42 Done.
13 public:
14 static const char kViewClassName[];
tapted 2015/03/30 06:33:37 Is this needed for anything? I think it's more com
jackhou1 2015/03/31 00:50:42 Done.
15
16 explicit NativeFrameViewMac(views::Widget* frame);
17 ~NativeFrameViewMac() override;
18
19 // NonClientFrameView:
20 gfx::Rect GetWindowBoundsForClientBounds(
21 const gfx::Rect& client_bounds) const override;
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(NativeFrameViewMac);
25 };
26
27 #endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_FRAME_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698