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

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

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; 82 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE;
83 virtual void RenderProcessGone(base::TerminationStatus status, 83 virtual void RenderProcessGone(base::TerminationStatus status,
84 int error_code) OVERRIDE; 84 int error_code) OVERRIDE;
85 virtual void Destroy() OVERRIDE; 85 virtual void Destroy() OVERRIDE;
86 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; 86 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE;
87 virtual void SelectionChanged(const base::string16& text, 87 virtual void SelectionChanged(const base::string16& text,
88 size_t offset, 88 size_t offset,
89 const gfx::Range& range) OVERRIDE; 89 const gfx::Range& range) OVERRIDE;
90 virtual void SelectionBoundsChanged( 90 virtual void SelectionBoundsChanged(
91 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 91 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
92 #if defined(OS_ANDROID)
93 virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
94 #endif
92 virtual void ScrollOffsetChanged() OVERRIDE; 95 virtual void ScrollOffsetChanged() OVERRIDE;
93 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
94 virtual void CopyFromCompositingSurface( 97 virtual void CopyFromCompositingSurface(
95 const gfx::Rect& src_subrect, 98 const gfx::Rect& src_subrect,
96 const gfx::Size& dst_size, 99 const gfx::Size& dst_size,
97 const base::Callback<void(bool, const SkBitmap&)>& callback, 100 const base::Callback<void(bool, const SkBitmap&)>& callback,
98 const SkBitmap::Config config) OVERRIDE; 101 const SkBitmap::Config config) OVERRIDE;
99 virtual void CopyFromCompositingSurfaceToVideoFrame( 102 virtual void CopyFromCompositingSurfaceToVideoFrame(
100 const gfx::Rect& src_subrect, 103 const gfx::Rect& src_subrect,
101 const scoped_refptr<media::VideoFrame>& target, 104 const scoped_refptr<media::VideoFrame>& target,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // sent through it are routed to the embedding renderer process. 182 // sent through it are routed to the embedding renderer process.
180 CrossProcessFrameConnector* frame_connector_; 183 CrossProcessFrameConnector* frame_connector_;
181 184
182 private: 185 private:
183 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 186 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
184 }; 187 };
185 188
186 } // namespace content 189 } // namespace content
187 190
188 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 191 #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