OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/ui/views/frame/browser_frame.h" | 10 #include "chrome/browser/ui/views/frame/browser_frame.h" |
11 #include "chrome/browser/ui/views/frame/native_browser_frame.h" | 11 #include "chrome/browser/ui/views/frame/native_browser_frame.h" |
12 #include "views/widget/native_widget_gtk.h" | 12 #include "ui/views/widget/native_widget_gtk.h" |
13 | 13 |
14 class BrowserFrameGtk : public views::NativeWidgetGtk, | 14 class BrowserFrameGtk : public views::NativeWidgetGtk, |
15 public NativeBrowserFrame { | 15 public NativeBrowserFrame { |
16 public: | 16 public: |
17 // Normally you will create this class by calling BrowserFrame::Create. | 17 // Normally you will create this class by calling BrowserFrame::Create. |
18 // Init must be called before using this class, which Create will do for you. | 18 // Init must be called before using this class, which Create will do for you. |
19 BrowserFrameGtk(BrowserFrame* browser_frame, BrowserView* browser_view); | 19 BrowserFrameGtk(BrowserFrame* browser_frame, BrowserView* browser_view); |
20 virtual ~BrowserFrameGtk(); | 20 virtual ~BrowserFrameGtk(); |
21 | 21 |
22 protected: | 22 protected: |
(...skipping 12 matching lines...) Expand all Loading... |
35 private: | 35 private: |
36 NativeBrowserFrameDelegate* delegate_; | 36 NativeBrowserFrameDelegate* delegate_; |
37 | 37 |
38 // The BrowserView is our ClientView. This is a pointer to it. | 38 // The BrowserView is our ClientView. This is a pointer to it. |
39 BrowserView* browser_view_; | 39 BrowserView* browser_view_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); | 41 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ | 44 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
OLD | NEW |