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

Side by Side Diff: content/renderer/render_frame_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 | « content/common/frame_messages.h ('k') | content/renderer/render_frame_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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 void OnCSSInsertRequest(const std::string& css); 452 void OnCSSInsertRequest(const std::string& css);
453 void OnJavaScriptExecuteRequest(const base::string16& javascript, 453 void OnJavaScriptExecuteRequest(const base::string16& javascript,
454 int id, 454 int id,
455 bool notify_result); 455 bool notify_result);
456 void OnSetEditableSelectionOffsets(int start, int end); 456 void OnSetEditableSelectionOffsets(int start, int end);
457 void OnSetCompositionFromExistingText( 457 void OnSetCompositionFromExistingText(
458 int start, int end, 458 int start, int end,
459 const std::vector<blink::WebCompositionUnderline>& underlines); 459 const std::vector<blink::WebCompositionUnderline>& underlines);
460 void OnExtendSelectionAndDelete(int before, int after); 460 void OnExtendSelectionAndDelete(int before, int after);
461 void OnReload(bool ignore_cache); 461 void OnReload(bool ignore_cache);
462 void OnTextSurroundingSelectionRequest(size_t max_length);
462 #if defined(OS_MACOSX) 463 #if defined(OS_MACOSX)
463 void OnCopyToFindPboard(); 464 void OnCopyToFindPboard();
464 #endif 465 #endif
465 466
466 // Virtual since overridden by WebTestProxy for layout tests. 467 // Virtual since overridden by WebTestProxy for layout tests.
467 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 468 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
468 RenderFrame* render_frame, 469 RenderFrame* render_frame,
469 blink::WebFrame* frame, 470 blink::WebFrame* frame,
470 blink::WebDataSource::ExtraData* extraData, 471 blink::WebDataSource::ExtraData* extraData,
471 const blink::WebURLRequest& request, 472 const blink::WebURLRequest& request,
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 GeolocationDispatcher* geolocation_dispatcher_; 630 GeolocationDispatcher* geolocation_dispatcher_;
630 631
631 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 632 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
632 633
633 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 634 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
634 }; 635 };
635 636
636 } // namespace content 637 } // namespace content
637 638
638 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 639 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698