| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 virtual void OnFocus() OVERRIDE; | 132 virtual void OnFocus() OVERRIDE; |
| 133 virtual void OnBlur() OVERRIDE; | 133 virtual void OnBlur() OVERRIDE; |
| 134 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; | 134 virtual bool OnKeyEvent(aura::KeyEvent* event) OVERRIDE; |
| 135 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | 135 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; |
| 136 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 136 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
| 137 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; | 137 virtual bool OnMouseEvent(aura::MouseEvent* event) OVERRIDE; |
| 138 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; | 138 virtual ui::TouchStatus OnTouchEvent(aura::TouchEvent* event) OVERRIDE; |
| 139 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; | 139 virtual ui::GestureStatus OnGestureEvent(aura::GestureEvent* event) OVERRIDE; |
| 140 virtual bool CanFocus() OVERRIDE; | 140 virtual bool CanFocus() OVERRIDE; |
| 141 virtual void OnCaptureLost() OVERRIDE; | 141 virtual void OnCaptureLost() OVERRIDE; |
| 142 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 142 virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE; |
| 143 virtual void OnWindowDestroying() OVERRIDE; | 143 virtual void OnWindowDestroying() OVERRIDE; |
| 144 virtual void OnWindowDestroyed() OVERRIDE; | 144 virtual void OnWindowDestroyed() OVERRIDE; |
| 145 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; | 145 virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE; |
| 146 | 146 |
| 147 // Overridden from aura::client::ActivationDelegate: | 147 // Overridden from aura::client::ActivationDelegate: |
| 148 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; | 148 virtual bool ShouldActivate(aura::Event* event) OVERRIDE; |
| 149 virtual void OnActivated() OVERRIDE; | 149 virtual void OnActivated() OVERRIDE; |
| 150 virtual void OnLostActive() OVERRIDE; | 150 virtual void OnLostActive() OVERRIDE; |
| 151 | 151 |
| 152 // Overridden from aura::client::DragDropDelegate: | 152 // Overridden from aura::client::DragDropDelegate: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 scoped_ptr<DropHelper> drop_helper_; | 187 scoped_ptr<DropHelper> drop_helper_; |
| 188 int last_drop_operation_; | 188 int last_drop_operation_; |
| 189 | 189 |
| 190 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 190 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 } // namespace views | 193 } // namespace views |
| 194 | 194 |
| 195 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 195 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |