| OLD | NEW |
| 1 // Copyright (c) 2010 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/views/frame/browser_frame.h" | 10 #include "chrome/browser/ui/views/frame/browser_frame.h" |
| 11 #include "views/window/window_gtk.h" | 11 #include "views/window/window_gtk.h" |
| 12 | 12 |
| 13 class BrowserNonClientFrameView; | 13 class BrowserNonClientFrameView; |
| 14 class BrowserRootView; | 14 class BrowserRootView; |
| 15 | 15 |
| 16 class BrowserFrameGtk : public BrowserFrame, | 16 class BrowserFrameGtk : public BrowserFrame, |
| 17 public views::WindowGtk { | 17 public views::WindowGtk { |
| 18 public: | 18 public: |
| 19 // Normally you will create this class by calling BrowserFrame::Create. | 19 // Normally you will create this class by calling BrowserFrame::Create. |
| 20 // Init must be called before using this class, which Create will do for you. | 20 // Init must be called before using this class, which Create will do for you. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // a copy as a BrowserRootView to avoid evil casting later, when we need to | 75 // a copy as a BrowserRootView to avoid evil casting later, when we need to |
| 76 // call functions that only exist on BrowserRootView (versus RootView). | 76 // call functions that only exist on BrowserRootView (versus RootView). |
| 77 BrowserRootView* root_view_; | 77 BrowserRootView* root_view_; |
| 78 | 78 |
| 79 Profile* profile_; | 79 Profile* profile_; |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); | 81 DISALLOW_COPY_AND_ASSIGN(BrowserFrameGtk); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ | 84 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_GTK_H_ |
| OLD | NEW |