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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |