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_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h" | 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h" |
10 #include "ui/views/widget/native_widget_aura.h" | 10 #include "views/widget/native_widget_aura.h" |
11 | 11 |
12 class TabContents; | 12 class TabContents; |
13 | 13 |
14 class NativeTabContentsViewAura : public views::NativeWidgetAura, | 14 class NativeTabContentsViewAura : public views::NativeWidgetAura, |
15 public NativeTabContentsView { | 15 public NativeTabContentsView { |
16 public: | 16 public: |
17 explicit NativeTabContentsViewAura( | 17 explicit NativeTabContentsViewAura( |
18 internal::NativeTabContentsViewDelegate* delegate); | 18 internal::NativeTabContentsViewDelegate* delegate); |
19 virtual ~NativeTabContentsViewAura(); | 19 virtual ~NativeTabContentsViewAura(); |
20 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
43 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 43 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
44 const gfx::Rect& new_bounds) OVERRIDE; | 44 const gfx::Rect& new_bounds) OVERRIDE; |
45 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 45 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
46 | 46 |
47 internal::NativeTabContentsViewDelegate* delegate_; | 47 internal::NativeTabContentsViewDelegate* delegate_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); | 49 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); |
50 }; | 50 }; |
51 | 51 |
52 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ | 52 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |