| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
| 11 #include "base/macros.h" |
| 11 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" | 12 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" |
| 12 | 13 |
| 13 @class StartResizeNotificationObserver; | 14 @class StartResizeNotificationObserver; |
| 14 | 15 |
| 15 // Mac-specific parts of ChromeNativeAppWindowViews. | 16 // Mac-specific parts of ChromeNativeAppWindowViews. |
| 16 class ChromeNativeAppWindowViewsMac : public ChromeNativeAppWindowViews { | 17 class ChromeNativeAppWindowViewsMac : public ChromeNativeAppWindowViews { |
| 17 public: | 18 public: |
| 18 ChromeNativeAppWindowViewsMac(); | 19 ChromeNativeAppWindowViewsMac(); |
| 19 ~ChromeNativeAppWindowViewsMac() override; | 20 ~ChromeNativeAppWindowViewsMac() override; |
| 20 | 21 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 NSRect bounds_before_maximize_; | 64 NSRect bounds_before_maximize_; |
| 64 | 65 |
| 65 // Whether this window last became hidden due to a request to hide the entire | 66 // Whether this window last became hidden due to a request to hide the entire |
| 66 // app, e.g. via the dock menu or Cmd+H. This is set by Hide/ShowWithApp. | 67 // app, e.g. via the dock menu or Cmd+H. This is set by Hide/ShowWithApp. |
| 67 bool is_hidden_with_app_; | 68 bool is_hidden_with_app_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsMac); | 70 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsMac); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ | 73 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_MAC_H_ |
| OLD | NEW |