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

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

Issue 292113008: Plumbing for browser process to access text surrounding selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adb_install_humans
Patch Set: 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_frame_host_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 220 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
221 const base::string16& message, 221 const base::string16& message,
222 bool is_reload, 222 bool is_reload,
223 IPC::Message* reply_msg); 223 IPC::Message* reply_msg);
224 void OnRequestDesktopNotificationPermission(const GURL& origin, 224 void OnRequestDesktopNotificationPermission(const GURL& origin,
225 int callback_id); 225 int callback_id);
226 void OnShowDesktopNotification( 226 void OnShowDesktopNotification(
227 int notification_id, 227 int notification_id,
228 const ShowDesktopNotificationHostMsgParams& params); 228 const ShowDesktopNotificationHostMsgParams& params);
229 void OnCancelDesktopNotification(int notification_id); 229 void OnCancelDesktopNotification(int notification_id);
230 void OnTextSurroundingSelectionResponse(const base::string16& content,
231 size_t start_offset,
232 size_t end_offset);
230 void OnDidAccessInitialDocument(); 233 void OnDidAccessInitialDocument();
231 void OnDidDisownOpener(); 234 void OnDidDisownOpener();
232 void OnUpdateTitle(int32 page_id, 235 void OnUpdateTitle(int32 page_id,
233 const base::string16& title, 236 const base::string16& title,
234 blink::WebTextDirection title_direction); 237 blink::WebTextDirection title_direction);
235 void OnUpdateEncoding(const std::string& encoding); 238 void OnUpdateEncoding(const std::string& encoding);
236 239
237 // Returns whether the given URL is allowed to commit in the current process. 240 // Returns whether the given URL is allowed to commit in the current process.
238 // This is a more conservative check than RenderProcessHost::FilterURL, since 241 // This is a more conservative check than RenderProcessHost::FilterURL, since
239 // it will be used to kill processes that commit unauthorized URLs. 242 // it will be used to kill processes that commit unauthorized URLs.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 base::TimeTicks send_before_unload_start_time_; 294 base::TimeTicks send_before_unload_start_time_;
292 295
293 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 296 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
294 297
295 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 298 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
296 }; 299 };
297 300
298 } // namespace content 301 } // namespace content
299 302
300 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 303 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698