| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_BROWSER_FRAME_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MAC_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MAC_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/views/frame/native_browser_frame.h" | 8 #include "chrome/browser/ui/views/frame/native_browser_frame.h" |
| 9 | 9 |
| 10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
| 11 #include "base/macros.h" |
| 11 #include "ui/views/widget/native_widget_mac.h" | 12 #include "ui/views/widget/native_widget_mac.h" |
| 12 | 13 |
| 13 class BrowserFrame; | 14 class BrowserFrame; |
| 14 class BrowserView; | 15 class BrowserView; |
| 15 @class ChromeCommandDispatcherDelegate; | 16 @class ChromeCommandDispatcherDelegate; |
| 16 | 17 |
| 17 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| 18 // BrowserFrameMac is a NativeWidgetMac subclass that provides | 19 // BrowserFrameMac is a NativeWidgetMac subclass that provides |
| 19 // the window frame for the Chrome browser window. | 20 // the window frame for the Chrome browser window. |
| 20 // | 21 // |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 | 49 |
| 49 private: | 50 private: |
| 50 BrowserView* browser_view_; // Weak. Our ClientView. | 51 BrowserView* browser_view_; // Weak. Our ClientView. |
| 51 base::scoped_nsobject<ChromeCommandDispatcherDelegate> | 52 base::scoped_nsobject<ChromeCommandDispatcherDelegate> |
| 52 command_dispatcher_delegate_; | 53 command_dispatcher_delegate_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMac); | 55 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMac); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MAC_H_ | 58 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MAC_H_ |
| OLD | NEW |