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