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

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

Issue 267563003: Allow browser process to request selection of word around caret (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 float x, 216 float x,
217 float y) OVERRIDE; 217 float y) OVERRIDE;
218 virtual void RequestFindMatchRects(int current_version) OVERRIDE; 218 virtual void RequestFindMatchRects(int current_version) OVERRIDE;
219 #endif 219 #endif
220 220
221 void set_delegate(RenderViewHostDelegate* d) { 221 void set_delegate(RenderViewHostDelegate* d) {
222 CHECK(d); // http://crbug.com/82827 222 CHECK(d); // http://crbug.com/82827
223 delegate_ = d; 223 delegate_ = d;
224 } 224 }
225 225
226 void SelectForSearch();
227
226 // Set up the RenderView child process. Virtual because it is overridden by 228 // Set up the RenderView child process. Virtual because it is overridden by
227 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used 229 // TestRenderViewHost. If the |frame_name| parameter is non-empty, it is used
228 // as the name of the new top-level frame. 230 // as the name of the new top-level frame.
229 // The |opener_route_id| parameter indicates which RenderView created this 231 // The |opener_route_id| parameter indicates which RenderView created this
230 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the 232 // (MSG_ROUTING_NONE if none). If |max_page_id| is larger than -1, the
231 // RenderView is told to start issuing page IDs at |max_page_id| + 1. 233 // RenderView is told to start issuing page IDs at |max_page_id| + 1.
232 // |window_was_created_with_opener| is true if this top-level frame was 234 // |window_was_created_with_opener| is true if this top-level frame was
233 // created with an opener. (The opener may have been closed since.) 235 // created with an opener. (The opener may have been closed since.)
234 virtual bool CreateRenderView(const base::string16& frame_name, 236 virtual bool CreateRenderView(const base::string16& frame_name,
235 int opener_route_id, 237 int opener_route_id,
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 655 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
654 }; 656 };
655 657
656 #if defined(COMPILER_MSVC) 658 #if defined(COMPILER_MSVC)
657 #pragma warning(pop) 659 #pragma warning(pop)
658 #endif 660 #endif
659 661
660 } // namespace content 662 } // namespace content
661 663
662 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 664 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698