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: remove boilerplate in CVC 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
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 void OnCSSInsertRequest(const std::string& css); 457 void OnCSSInsertRequest(const std::string& css);
458 void OnJavaScriptExecuteRequest(const base::string16& javascript, 458 void OnJavaScriptExecuteRequest(const base::string16& javascript,
459 int id, 459 int id,
460 bool notify_result); 460 bool notify_result);
461 void OnSetEditableSelectionOffsets(int start, int end); 461 void OnSetEditableSelectionOffsets(int start, int end);
462 void OnSetCompositionFromExistingText( 462 void OnSetCompositionFromExistingText(
463 int start, int end, 463 int start, int end,
464 const std::vector<blink::WebCompositionUnderline>& underlines); 464 const std::vector<blink::WebCompositionUnderline>& underlines);
465 void OnExtendSelectionAndDelete(int before, int after); 465 void OnExtendSelectionAndDelete(int before, int after);
466 void OnReload(bool ignore_cache); 466 void OnReload(bool ignore_cache);
467 void OnTextSurroundingSelectionRequest(int max_length);
467 #if defined(OS_MACOSX) 468 #if defined(OS_MACOSX)
468 void OnCopyToFindPboard(); 469 void OnCopyToFindPboard();
469 #endif 470 #endif
470 471
471 // Virtual since overridden by WebTestProxy for layout tests. 472 // Virtual since overridden by WebTestProxy for layout tests.
472 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 473 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
473 RenderFrame* render_frame, 474 RenderFrame* render_frame,
474 blink::WebFrame* frame, 475 blink::WebFrame* frame,
475 blink::WebDataSource::ExtraData* extraData, 476 blink::WebDataSource::ExtraData* extraData,
476 const blink::WebURLRequest& request, 477 const blink::WebURLRequest& request,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 GeolocationDispatcher* geolocation_dispatcher_; 623 GeolocationDispatcher* geolocation_dispatcher_;
623 624
624 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 625 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
625 626
626 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 627 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
627 }; 628 };
628 629
629 } // namespace content 630 } // namespace content
630 631
631 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 632 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698