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

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

Issue 2157793002: Remove ContentViewCore::RequestTextSurroundingSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the review comments. Created 4 years, 5 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // TODO(creis): Remove after debugging https:/crbug.com/575245. 244 // TODO(creis): Remove after debugging https:/crbug.com/575245.
245 int main_frame_routing_id() const { 245 int main_frame_routing_id() const {
246 return main_frame_routing_id_; 246 return main_frame_routing_id_;
247 } 247 }
248 248
249 void set_main_frame_routing_id(int routing_id) { 249 void set_main_frame_routing_id(int routing_id) {
250 main_frame_routing_id_ = routing_id; 250 main_frame_routing_id_ = routing_id;
251 } 251 }
252 252
253 void OnTextSurroundingSelectionResponse(const base::string16& content,
254 size_t start_offset,
255 size_t end_offset);
256
257 // Increases the refcounting on this RVH. This is done by the FrameTree on 253 // Increases the refcounting on this RVH. This is done by the FrameTree on
258 // creation of a RenderFrameHost or RenderFrameProxyHost. 254 // creation of a RenderFrameHost or RenderFrameProxyHost.
259 void increment_ref_count() { ++frames_ref_count_; } 255 void increment_ref_count() { ++frames_ref_count_; }
260 256
261 // Decreases the refcounting on this RVH. This is done by the FrameTree on 257 // Decreases the refcounting on this RVH. This is done by the FrameTree on
262 // destruction of a RenderFrameHost or RenderFrameProxyHost. 258 // destruction of a RenderFrameHost or RenderFrameProxyHost.
263 void decrement_ref_count() { --frames_ref_count_; } 259 void decrement_ref_count() { --frames_ref_count_; }
264 260
265 // Returns the refcount on this RVH, that is the number of RenderFrameHosts 261 // Returns the refcount on this RVH, that is the number of RenderFrameHosts
266 // and RenderFrameProxyHosts currently using it. 262 // and RenderFrameProxyHosts currently using it.
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 bool render_view_ready_on_process_launch_; 404 bool render_view_ready_on_process_launch_;
409 405
410 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; 406 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_;
411 407
412 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 408 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
413 }; 409 };
414 410
415 } // namespace content 411 } // namespace content
416 412
417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 413 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698