Chromium Code Reviews| Index: chrome/browser/ui/views/apps/native_app_window_frame_view_mac.h |
| diff --git a/chrome/browser/ui/views/apps/native_app_window_frame_view_mac.h b/chrome/browser/ui/views/apps/native_app_window_frame_view_mac.h |
| index 0509f5caa66b6aad9ca4ba0b7aab4b1d07f15840..ac9ce3e7b51094340cf1eddbe408be83c4592636 100644 |
| --- a/chrome/browser/ui/views/apps/native_app_window_frame_view_mac.h |
| +++ b/chrome/browser/ui/views/apps/native_app_window_frame_view_mac.h |
| @@ -7,20 +7,28 @@ |
| #include "ui/views/window/native_frame_view.h" |
| +namespace extensions { |
| +class NativeAppWindow; |
| +} |
| + |
| class Widget; |
| // Provides metrics consistent with a native frame on Mac. The actual frame is |
| // drawn by NSWindow. |
| class NativeAppWindowFrameViewMac : public views::NativeFrameView { |
| public: |
| - explicit NativeAppWindowFrameViewMac(views::Widget* frame); |
| + NativeAppWindowFrameViewMac(views::Widget* frame, |
| + extensions::NativeAppWindow* window); |
| ~NativeAppWindowFrameViewMac() override; |
| // NonClientFrameView: |
| gfx::Rect GetWindowBoundsForClientBounds( |
| const gfx::Rect& client_bounds) const override; |
| + int NonClientHitTest(const gfx::Point& point) override; |
| private: |
| + extensions::NativeAppWindow* native_app_window_; |
|
tapted
2015/05/22 04:03:12
nit: ownership comment
jackhou1
2015/05/25 04:50:18
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(NativeAppWindowFrameViewMac); |
| }; |