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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: first patch ready for review Created 6 years, 5 months 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
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698