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 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h" | 5 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" | 7 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_delegate
.h" |
8 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_views.h" | |
9 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 8 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
10 #include "content/browser/tab_contents/tab_contents.h" | 9 #include "content/browser/tab_contents/tab_contents.h" |
11 #include "content/browser/tab_contents/tab_contents_view.h" | 10 #include "content/browser/tab_contents/tab_contents_view.h" |
12 #include "ui/aura/event.h" | 11 #include "ui/aura/event.h" |
13 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
14 #include "views/views_delegate.h" | 13 #include "views/views_delegate.h" |
15 #include "views/widget/widget.h" | 14 #include "views/widget/widget.h" |
16 | 15 |
17 //////////////////////////////////////////////////////////////////////////////// | 16 //////////////////////////////////////////////////////////////////////////////// |
18 // NativeTabContentsViewAura, public: | 17 // NativeTabContentsViewAura, public: |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 137 } |
139 | 138 |
140 //////////////////////////////////////////////////////////////////////////////// | 139 //////////////////////////////////////////////////////////////////////////////// |
141 // NativeTabContentsView, public: | 140 // NativeTabContentsView, public: |
142 | 141 |
143 // static | 142 // static |
144 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( | 143 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( |
145 internal::NativeTabContentsViewDelegate* delegate) { | 144 internal::NativeTabContentsViewDelegate* delegate) { |
146 return new NativeTabContentsViewAura(delegate); | 145 return new NativeTabContentsViewAura(delegate); |
147 } | 146 } |
OLD | NEW |