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

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

Issue 306803002: Revert of Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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 IsSpeaking() const OVERRIDE; 123 virtual bool IsSpeaking() const OVERRIDE;
124 virtual void StopSpeaking() OVERRIDE; 124 virtual void StopSpeaking() OVERRIDE;
125 125
126 // RenderWidgetHostViewBase implementation. 126 // RenderWidgetHostViewBase implementation.
127 virtual bool PostProcessEventForPluginIme( 127 virtual bool PostProcessEventForPluginIme(
128 const NativeWebKeyboardEvent& event) OVERRIDE; 128 const NativeWebKeyboardEvent& event) OVERRIDE;
129 #endif // defined(OS_MACOSX) 129 #endif // defined(OS_MACOSX)
130 130
131 #if defined(OS_ANDROID) 131 #if defined(OS_ANDROID)
132 // RenderWidgetHostViewBase implementation. 132 // RenderWidgetHostViewBase implementation.
133 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
134 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 133 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
135 const SkBitmap& zoomed_bitmap) OVERRIDE; 134 const SkBitmap& zoomed_bitmap) OVERRIDE;
136 virtual void LockCompositingSurface() OVERRIDE; 135 virtual void LockCompositingSurface() OVERRIDE;
137 virtual void UnlockCompositingSurface() OVERRIDE; 136 virtual void UnlockCompositingSurface() OVERRIDE;
138 #endif // defined(OS_ANDROID) 137 #endif // defined(OS_ANDROID)
139 138
140 #if defined(OS_WIN) 139 #if defined(OS_WIN)
141 virtual void SetParentNativeViewAccessible( 140 virtual void SetParentNativeViewAccessible(
142 gfx::NativeViewAccessible accessible_parent) OVERRIDE; 141 gfx::NativeViewAccessible accessible_parent) OVERRIDE;
143 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; 142 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 RenderWidgetHostViewBase* platform_view_; 174 RenderWidgetHostViewBase* platform_view_;
176 #if defined(USE_AURA) 175 #if defined(USE_AURA)
177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 176 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
178 #endif 177 #endif
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
180 }; 179 };
181 180
182 } // namespace content 181 } // namespace content
183 182
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698