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

Side by Side Diff: views/widget/native_widget_aura.h

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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
« no previous file with comments | « views/views_delegate.h ('k') | views/widget/native_widget_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual void OnWindowDestroyed() OVERRIDE; 143 virtual void OnWindowDestroyed() OVERRIDE;
144 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; 144 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
145 145
146 // Overridden from aura::WindowDragDropDelegate: 146 // Overridden from aura::WindowDragDropDelegate:
147 virtual bool CanDrop(const aura::DropTargetEvent& event) OVERRIDE; 147 virtual bool CanDrop(const aura::DropTargetEvent& event) OVERRIDE;
148 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE; 148 virtual void OnDragEntered(const aura::DropTargetEvent& event) OVERRIDE;
149 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE; 149 virtual int OnDragUpdated(const aura::DropTargetEvent& event) OVERRIDE;
150 virtual void OnDragExited() OVERRIDE; 150 virtual void OnDragExited() OVERRIDE;
151 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE; 151 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE;
152 152
153 protected:
154 internal::NativeWidgetDelegate* delegate() { return delegate_; }
155
153 private: 156 private:
154 class DesktopObserverImpl; 157 class DesktopObserverImpl;
155 158
156 internal::NativeWidgetDelegate* delegate_; 159 internal::NativeWidgetDelegate* delegate_;
157 160
158 aura::Window* window_; 161 aura::Window* window_;
159 162
160 // See class documentation for Widget in widget.h for a note about ownership. 163 // See class documentation for Widget in widget.h for a note about ownership.
161 Widget::InitParams::Ownership ownership_; 164 Widget::InitParams::Ownership ownership_;
162 165
(...skipping 11 matching lines...) Expand all
174 scoped_ptr<DesktopObserverImpl> desktop_observer_; 177 scoped_ptr<DesktopObserverImpl> desktop_observer_;
175 178
176 scoped_ptr<DropHelper> drop_helper_; 179 scoped_ptr<DropHelper> drop_helper_;
177 180
178 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 181 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
179 }; 182 };
180 183
181 } // namespace views 184 } // namespace views
182 185
183 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 186 #endif // VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « views/views_delegate.h ('k') | views/widget/native_widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698