Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "content/browser/renderer_host/render_widget_host_view_aura.h" 8 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
9 #include "content/browser/tab_contents/tab_contents.h" 9 #include "content/browser/tab_contents/tab_contents.h"
10 #include "content/browser/tab_contents/tab_contents_view.h" 10 #include "content/browser/tab_contents/tab_contents_view.h"
11 #include "ui/aura/event.h" 11 #include "ui/aura/event.h"
12 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
13 #include "ui/views/widget/widget.h"
13 #include "views/views_delegate.h" 14 #include "views/views_delegate.h"
14 #include "views/widget/widget.h"
15 15
16 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
17 // NativeTabContentsViewAura, public: 17 // NativeTabContentsViewAura, public:
18 18
19 NativeTabContentsViewAura::NativeTabContentsViewAura( 19 NativeTabContentsViewAura::NativeTabContentsViewAura(
20 internal::NativeTabContentsViewDelegate* delegate) 20 internal::NativeTabContentsViewDelegate* delegate)
21 : views::NativeWidgetAura(delegate->AsNativeWidgetDelegate()), 21 : views::NativeWidgetAura(delegate->AsNativeWidgetDelegate()),
22 delegate_(delegate) { 22 delegate_(delegate) {
23 } 23 }
24 24
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 137 }
138 138
139 //////////////////////////////////////////////////////////////////////////////// 139 ////////////////////////////////////////////////////////////////////////////////
140 // NativeTabContentsView, public: 140 // NativeTabContentsView, public:
141 141
142 // static 142 // static
143 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView( 143 NativeTabContentsView* NativeTabContentsView::CreateNativeTabContentsView(
144 internal::NativeTabContentsViewDelegate* delegate) { 144 internal::NativeTabContentsViewDelegate* delegate) {
145 return new NativeTabContentsViewAura(delegate); 145 return new NativeTabContentsViewAura(delegate);
146 } 146 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698