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

Side by Side Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix athena build Created 6 years, 3 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, 129 virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
130 const ContextMenuParams& params) OVERRIDE; 130 const ContextMenuParams& params) OVERRIDE;
131 virtual void StartDragging(const DropData& drop_data, 131 virtual void StartDragging(const DropData& drop_data,
132 blink::WebDragOperationsMask operations, 132 blink::WebDragOperationsMask operations,
133 const gfx::ImageSkia& image, 133 const gfx::ImageSkia& image,
134 const gfx::Vector2d& image_offset, 134 const gfx::Vector2d& image_offset,
135 const DragEventSourceInfo& event_info) OVERRIDE; 135 const DragEventSourceInfo& event_info) OVERRIDE;
136 virtual void UpdateDragCursor(blink::WebDragOperation operation) OVERRIDE; 136 virtual void UpdateDragCursor(blink::WebDragOperation operation) OVERRIDE;
137 virtual void GotFocus() OVERRIDE; 137 virtual void GotFocus() OVERRIDE;
138 virtual void TakeFocus(bool reverse) OVERRIDE; 138 virtual void TakeFocus(bool reverse) OVERRIDE;
139 virtual void ShowDisambiguationPopup(
140 const gfx::Rect& target_rect,
141 const SkBitmap& zoomed_bitmap,
142 const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
143 const base::Callback<void(ui::MouseEvent*)>& mouse_cb) OVERRIDE;
144 virtual void HideDisambiguationPopup() OVERRIDE;
139 145
140 // Overridden from OverscrollControllerDelegate: 146 // Overridden from OverscrollControllerDelegate:
141 virtual gfx::Rect GetVisibleBounds() const OVERRIDE; 147 virtual gfx::Rect GetVisibleBounds() const OVERRIDE;
142 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE; 148 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
143 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE; 149 virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE;
144 virtual void OnOverscrollModeChange(OverscrollMode old_mode, 150 virtual void OnOverscrollModeChange(OverscrollMode old_mode,
145 OverscrollMode new_mode) OVERRIDE; 151 OverscrollMode new_mode) OVERRIDE;
146 152
147 // Overridden from ui::ImplicitAnimationObserver: 153 // Overridden from ui::ImplicitAnimationObserver:
148 virtual void OnImplicitAnimationsCompleted() OVERRIDE; 154 virtual void OnImplicitAnimationsCompleted() OVERRIDE;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // On Windows we can run into problems if resources get released within the 236 // On Windows we can run into problems if resources get released within the
231 // initialization phase while the content (and its dimensions) are not known. 237 // initialization phase while the content (and its dimensions) are not known.
232 bool is_or_was_visible_; 238 bool is_or_was_visible_;
233 239
234 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 240 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
235 }; 241 };
236 242
237 } // namespace content 243 } // namespace content
238 244
239 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698