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 | 7 |
8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "ui/aura/client/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const gfx::Point& location) OVERRIDE; | 150 const gfx::Point& location) OVERRIDE; |
151 virtual bool CanFocus() OVERRIDE; | 151 virtual bool CanFocus() OVERRIDE; |
152 virtual void OnCaptureLost() OVERRIDE; | 152 virtual void OnCaptureLost() OVERRIDE; |
153 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 153 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
154 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 154 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
155 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 155 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
156 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; | 156 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
157 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 157 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
158 virtual bool HasHitTestMask() const OVERRIDE; | 158 virtual bool HasHitTestMask() const OVERRIDE; |
159 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 159 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
| 160 virtual void OnLinkDisambiguationPopupRequested( |
| 161 const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap) OVERRIDE; |
160 | 162 |
161 // Overridden from ui::EventHandler: | 163 // Overridden from ui::EventHandler: |
162 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 164 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
163 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 165 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
164 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 166 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
165 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 167 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
166 | 168 |
167 // Overridden from aura::client::ActivationDelegate: | 169 // Overridden from aura::client::ActivationDelegate: |
168 virtual bool ShouldActivate() const OVERRIDE; | 170 virtual bool ShouldActivate() const OVERRIDE; |
169 | 171 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 223 |
222 scoped_ptr<DropHelper> drop_helper_; | 224 scoped_ptr<DropHelper> drop_helper_; |
223 int last_drop_operation_; | 225 int last_drop_operation_; |
224 | 226 |
225 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 227 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
226 }; | 228 }; |
227 | 229 |
228 } // namespace views | 230 } // namespace views |
229 | 231 |
230 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 232 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |