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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate_view.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed scrolling cruft Created 6 years, 4 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void UpdateDragCursor(blink::WebDragOperation operation) {} 66 virtual void UpdateDragCursor(blink::WebDragOperation operation) {}
67 67
68 // Notification that view for this delegate got the focus. 68 // Notification that view for this delegate got the focus.
69 virtual void GotFocus() {} 69 virtual void GotFocus() {}
70 70
71 // Callback to inform the browser that the page is returning the focus to 71 // Callback to inform the browser that the page is returning the focus to
72 // the browser's chrome. If reverse is true, it means the focus was 72 // the browser's chrome. If reverse is true, it means the focus was
73 // retrieved by doing a Shift-Tab. 73 // retrieved by doing a Shift-Tab.
74 virtual void TakeFocus(bool reverse) {} 74 virtual void TakeFocus(bool reverse) {}
75 75
76 #if defined(OS_WIN)
sky 2014/08/04 20:05:19 OS_WIN->TOOLKIT_VIEWS
luken 2014/09/11 01:07:27 Done.
77 // Shows a Link Disambiguation Popup. |target_rect| is the area the user
78 // touched that resulted in ambiguity, in DIPs in the host's coordinate
79 // system, and |zoomed_bitmap| is an enlarged image of that |target_rect|.
80 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
81 const SkBitmap& zoomed_bitmap) {}
82
83 // Hides the Link Disambiguation Popup, if it was showing, otherwise does
84 // nothing.
85 virtual void HideDisambiguationPopup() {}
86 #endif
87
76 protected: 88 protected:
77 virtual ~RenderViewHostDelegateView() {} 89 virtual ~RenderViewHostDelegateView() {}
78 }; 90 };
79 91
80 } // namespace content 92 } // namespace content
81 93
82 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_ 94 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698