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

Side by Side Diff: chrome/browser/ui/views/native_constrained_window_aura.cc

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/views/constrained_window_views.h"
6
7 #include "views/widget/native_widget_aura.h"
8
9 class NativeConstrainedWindowAura : public NativeConstrainedWindow,
10 public views::NativeWidgetAura {
11 public:
12 explicit NativeConstrainedWindowAura(NativeConstrainedWindowDelegate* delegate )
13 : views::NativeWidgetAura(delegate->AsNativeWidgetDelegate()),
14 delegate_(delegate) {
15 }
16
17 virtual ~NativeConstrainedWindowAura() {
18 }
19
20 private:
21 // Overridden from NativeConstrainedWindow:
22 virtual views::NativeWidget* AsNativeWidget() OVERRIDE {
23 return this;
24 }
25
26 // Overridden from views::NativeWidgetAura:
27
28 NativeConstrainedWindowDelegate* delegate_;
29
30 DISALLOW_COPY_AND_ASSIGN(NativeConstrainedWindowAura);
31 };
32
33 ////////////////////////////////////////////////////////////////////////////////
34 // NativeConstrainedWindow, public:
35
36 // static
37 NativeConstrainedWindow* NativeConstrainedWindow::CreateNativeConstrainedWindow(
38 NativeConstrainedWindowDelegate* delegate) {
39 return new NativeConstrainedWindowAura(delegate);
40 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/shell_dialogs_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698