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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/focus_change_observer.h" | 9 #include "ui/aura/client/focus_change_observer.h" |
10 #include "ui/aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const gfx::Point& location) OVERRIDE; | 193 const gfx::Point& location) OVERRIDE; |
194 virtual bool CanFocus() OVERRIDE; | 194 virtual bool CanFocus() OVERRIDE; |
195 virtual void OnCaptureLost() OVERRIDE; | 195 virtual void OnCaptureLost() OVERRIDE; |
196 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 196 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
197 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 197 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
198 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 198 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
199 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; | 199 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
200 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; | 200 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; |
201 virtual bool HasHitTestMask() const OVERRIDE; | 201 virtual bool HasHitTestMask() const OVERRIDE; |
202 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 202 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
| 203 virtual void OnLinkDisambiguationPopupRequested( |
| 204 const gfx::Rect& target_rect, |
| 205 const SkBitmap& zoomed_bitmap) OVERRIDE; |
203 | 206 |
204 // Overridden from ui::EventHandler: | 207 // Overridden from ui::EventHandler: |
205 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; | 208 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
206 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 209 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; |
207 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 210 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
208 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 211 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
209 | 212 |
210 // Overridden from aura::client::ActivationDelegate: | 213 // Overridden from aura::client::ActivationDelegate: |
211 virtual bool ShouldActivate() const OVERRIDE; | 214 virtual bool ShouldActivate() const OVERRIDE; |
212 | 215 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 317 |
315 // See class documentation for Widget in widget.h for a note about type. | 318 // See class documentation for Widget in widget.h for a note about type. |
316 Widget::InitParams::Type widget_type_; | 319 Widget::InitParams::Type widget_type_; |
317 | 320 |
318 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 321 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
319 }; | 322 }; |
320 | 323 |
321 } // namespace views | 324 } // namespace views |
322 | 325 |
323 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 326 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |