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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.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
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 virtual bool IsSpeaking() const OVERRIDE; 133 virtual bool IsSpeaking() const OVERRIDE;
134 virtual void StopSpeaking() OVERRIDE; 134 virtual void StopSpeaking() OVERRIDE;
135 135
136 // RenderWidgetHostViewBase implementation. 136 // RenderWidgetHostViewBase implementation.
137 virtual bool PostProcessEventForPluginIme( 137 virtual bool PostProcessEventForPluginIme(
138 const NativeWebKeyboardEvent& event) OVERRIDE; 138 const NativeWebKeyboardEvent& event) OVERRIDE;
139 #endif // defined(OS_MACOSX) 139 #endif // defined(OS_MACOSX)
140 140
141 #if defined(OS_ANDROID) 141 #if defined(OS_ANDROID)
142 // RenderWidgetHostViewBase implementation. 142 // RenderWidgetHostViewBase implementation.
143 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
144 virtual void ShowDisambiguationPopup( 143 virtual void ShowDisambiguationPopup(
145 const gfx::Rect& target_rect, 144 const gfx::Rect& target_rect,
146 const SkBitmap& zoomed_bitmap) OVERRIDE; 145 const SkBitmap& zoomed_bitmap) OVERRIDE;
147 virtual void LockCompositingSurface() OVERRIDE; 146 virtual void LockCompositingSurface() OVERRIDE;
148 virtual void UnlockCompositingSurface() OVERRIDE; 147 virtual void UnlockCompositingSurface() OVERRIDE;
149 #endif // defined(OS_ANDROID) 148 #endif // defined(OS_ANDROID)
150 149
151 #if defined(OS_WIN) 150 #if defined(OS_WIN)
152 virtual void SetParentNativeViewAccessible( 151 virtual void SetParentNativeViewAccessible(
153 gfx::NativeViewAccessible accessible_parent) OVERRIDE; 152 gfx::NativeViewAccessible accessible_parent) OVERRIDE;
(...skipping 13 matching lines...) Expand all
167 // sent through it are routed to the embedding renderer process. 166 // sent through it are routed to the embedding renderer process.
168 CrossProcessFrameConnector* frame_connector_; 167 CrossProcessFrameConnector* frame_connector_;
169 168
170 private: 169 private:
171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
172 }; 171 };
173 172
174 } // namespace content 173 } // namespace content
175 174
176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698