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

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, 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 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 void OnCSSInsertRequest(const std::string& css); 445 void OnCSSInsertRequest(const std::string& css);
446 void OnJavaScriptExecuteRequest(const base::string16& javascript, 446 void OnJavaScriptExecuteRequest(const base::string16& javascript,
447 int id, 447 int id,
448 bool notify_result); 448 bool notify_result);
449 void OnSetEditableSelectionOffsets(int start, int end); 449 void OnSetEditableSelectionOffsets(int start, int end);
450 void OnSetCompositionFromExistingText( 450 void OnSetCompositionFromExistingText(
451 int start, int end, 451 int start, int end,
452 const std::vector<blink::WebCompositionUnderline>& underlines); 452 const std::vector<blink::WebCompositionUnderline>& underlines);
453 void OnExtendSelectionAndDelete(int before, int after); 453 void OnExtendSelectionAndDelete(int before, int after);
454 void OnReload(bool ignore_cache); 454 void OnReload(bool ignore_cache);
455 void OnTextSurroundingSelectionRequest(unsigned max_length);
455 #if defined(OS_MACOSX) 456 #if defined(OS_MACOSX)
456 void OnCopyToFindPboard(); 457 void OnCopyToFindPboard();
457 #endif 458 #endif
458 459
459 // Virtual since overridden by WebTestProxy for layout tests. 460 // Virtual since overridden by WebTestProxy for layout tests.
460 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( 461 virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
461 RenderFrame* render_frame, 462 RenderFrame* render_frame,
462 blink::WebFrame* frame, 463 blink::WebFrame* frame,
463 blink::WebDataSource::ExtraData* extraData, 464 blink::WebDataSource::ExtraData* extraData,
464 const blink::WebURLRequest& request, 465 const blink::WebURLRequest& request,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 blink::WebUserMediaClient* web_user_media_client_; 595 blink::WebUserMediaClient* web_user_media_client_;
595 596
596 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 597 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
597 598
598 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 599 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
599 }; 600 };
600 601
601 } // namespace content 602 } // namespace content
602 603
603 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 604 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698