OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DESKTOP_BROWSER_FRAME_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURA_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/ui/views/frame/native_browser_frame.h" | 10 #include "chrome/browser/ui/views/frame/native_browser_frame.h" |
11 #include "ui/views/context_menu_controller.h" | 11 #include "ui/views/context_menu_controller.h" |
12 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 12 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
13 | 13 |
14 class BrowserDesktopRootWindowHost; | 14 class BrowserDesktopWindowTreeHost; |
15 class BrowserFrame; | 15 class BrowserFrame; |
16 class BrowserView; | 16 class BrowserView; |
17 | 17 |
18 namespace aura { | 18 namespace aura { |
19 namespace client { | 19 namespace client { |
20 class UserActionClient; | 20 class UserActionClient; |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 namespace views { | 24 namespace views { |
(...skipping 29 matching lines...) Expand all Loading... |
54 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; | 54 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; |
55 virtual bool UsesNativeSystemMenu() const OVERRIDE; | 55 virtual bool UsesNativeSystemMenu() const OVERRIDE; |
56 virtual int GetMinimizeButtonOffset() const OVERRIDE; | 56 virtual int GetMinimizeButtonOffset() const OVERRIDE; |
57 | 57 |
58 private: | 58 private: |
59 // The BrowserView is our ClientView. This is a pointer to it. | 59 // The BrowserView is our ClientView. This is a pointer to it. |
60 BrowserView* browser_view_; | 60 BrowserView* browser_view_; |
61 BrowserFrame* browser_frame_; | 61 BrowserFrame* browser_frame_; |
62 | 62 |
63 // Owned by the RootWindow. | 63 // Owned by the RootWindow. |
64 BrowserDesktopRootWindowHost* browser_desktop_root_window_host_; | 64 BrowserDesktopWindowTreeHost* browser_desktop_root_window_host_; |
65 | 65 |
66 scoped_ptr<aura::client::UserActionClient> user_action_client_; | 66 scoped_ptr<aura::client::UserActionClient> user_action_client_; |
67 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; | 67 scoped_ptr<views::corewm::VisibilityController> visibility_controller_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAura); | 69 DISALLOW_COPY_AND_ASSIGN(DesktopBrowserFrameAura); |
70 }; | 70 }; |
71 | 71 |
72 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURA_H_ | 72 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_BROWSER_FRAME_AURA_H_ |
OLD | NEW |