| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 128 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
| 129 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 129 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
| 130 const gfx::Rect& new_bounds) OVERRIDE; | 130 const gfx::Rect& new_bounds) OVERRIDE; |
| 131 virtual void OnFocus() OVERRIDE; | 131 virtual void OnFocus() OVERRIDE; |
| 132 virtual void OnBlur() OVERRIDE; | 132 virtual void OnBlur() OVERRIDE; |
| 133 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; | 133 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; |
| 134 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 134 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 135 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 135 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 136 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 136 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
| 137 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 137 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
| 138 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; |
| 138 virtual bool CanFocus() OVERRIDE; | 139 virtual bool CanFocus() OVERRIDE; |
| 139 virtual void OnCaptureLost() OVERRIDE; | 140 virtual void OnCaptureLost() OVERRIDE; |
| 140 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 141 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 141 virtual void OnWindowDestroying() OVERRIDE; | 142 virtual void OnWindowDestroying() OVERRIDE; |
| 142 virtual void OnWindowDestroyed() OVERRIDE; | 143 virtual void OnWindowDestroyed() OVERRIDE; |
| 143 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; | 144 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; |
| 144 | 145 |
| 145 // Overridden from aura::client::ActivationDelegate: | 146 // Overridden from aura::client::ActivationDelegate: |
| 146 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; | 147 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; |
| 147 virtual void OnActivated() OVERRIDE; | 148 virtual void OnActivated() OVERRIDE; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 scoped_ptr<ActiveWindowObserver> active_window_observer_; | 184 scoped_ptr<ActiveWindowObserver> active_window_observer_; |
| 184 | 185 |
| 185 scoped_ptr<DropHelper> drop_helper_; | 186 scoped_ptr<DropHelper> drop_helper_; |
| 186 | 187 |
| 187 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 188 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 188 }; | 189 }; |
| 189 | 190 |
| 190 } // namespace views | 191 } // namespace views |
| 191 | 192 |
| 192 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 193 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |