OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |