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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: responding to sky's last round of feedback 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual bool SupportsSpeech() const OVERRIDE; 123 virtual bool SupportsSpeech() const OVERRIDE;
124 virtual void SpeakSelection() OVERRIDE; 124 virtual void SpeakSelection() OVERRIDE;
125 virtual bool IsSpeaking() const OVERRIDE; 125 virtual bool IsSpeaking() const OVERRIDE;
126 virtual void StopSpeaking() OVERRIDE; 126 virtual void StopSpeaking() OVERRIDE;
127 127
128 // RenderWidgetHostViewBase implementation. 128 // RenderWidgetHostViewBase implementation.
129 virtual bool PostProcessEventForPluginIme( 129 virtual bool PostProcessEventForPluginIme(
130 const NativeWebKeyboardEvent& event) OVERRIDE; 130 const NativeWebKeyboardEvent& event) OVERRIDE;
131 #endif // defined(OS_MACOSX) 131 #endif // defined(OS_MACOSX)
132 132
133 #if defined(OS_ANDROID) 133 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS)
134 // RenderWidgetHostViewBase implementation. 134 // RenderWidgetHostViewBase implementation.
135 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 135 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
136 const SkBitmap& zoomed_bitmap) OVERRIDE; 136 const SkBitmap& zoomed_bitmap) OVERRIDE;
137 #endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS)
138
139 #if defined(OS_ANDROID)
137 virtual void LockCompositingSurface() OVERRIDE; 140 virtual void LockCompositingSurface() OVERRIDE;
138 virtual void UnlockCompositingSurface() OVERRIDE; 141 virtual void UnlockCompositingSurface() OVERRIDE;
139 #endif // defined(OS_ANDROID) 142 #endif // defined(OS_ANDROID)
140 143
141 #if defined(OS_WIN) 144 #if defined(OS_WIN)
142 virtual void SetParentNativeViewAccessible( 145 virtual void SetParentNativeViewAccessible(
143 gfx::NativeViewAccessible accessible_parent) OVERRIDE; 146 gfx::NativeViewAccessible accessible_parent) OVERRIDE;
144 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; 147 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE;
145 #endif 148 #endif
146 149
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 RenderWidgetHostViewBase* platform_view_; 184 RenderWidgetHostViewBase* platform_view_;
182 #if defined(USE_AURA) 185 #if defined(USE_AURA)
183 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 186 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
184 #endif 187 #endif
185 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 188 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
186 }; 189 };
187 190
188 } // namespace content 191 } // namespace content
189 192
190 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 193 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698