| 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 455 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
| 456 int id, | 456 int id, |
| 457 bool notify_result); | 457 bool notify_result); |
| 458 void OnSetEditableSelectionOffsets(int start, int end); | 458 void OnSetEditableSelectionOffsets(int start, int end); |
| 459 void OnSetCompositionFromExistingText( | 459 void OnSetCompositionFromExistingText( |
| 460 int start, int end, | 460 int start, int end, |
| 461 const std::vector<blink::WebCompositionUnderline>& underlines); | 461 const std::vector<blink::WebCompositionUnderline>& underlines); |
| 462 void OnExtendSelectionAndDelete(int before, int after); | 462 void OnExtendSelectionAndDelete(int before, int after); |
| 463 void OnReload(bool ignore_cache); | 463 void OnReload(bool ignore_cache); |
| 464 void OnTextSurroundingSelectionRequest(size_t max_length); | 464 void OnTextSurroundingSelectionRequest(size_t max_length); |
| 465 void OnAddStyleSheetByURL(const std::string& url); |
| 465 #if defined(OS_MACOSX) | 466 #if defined(OS_MACOSX) |
| 466 void OnCopyToFindPboard(); | 467 void OnCopyToFindPboard(); |
| 467 #endif | 468 #endif |
| 468 | 469 |
| 469 // Virtual since overridden by WebTestProxy for layout tests. | 470 // Virtual since overridden by WebTestProxy for layout tests. |
| 470 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 471 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
| 471 RenderFrame* render_frame, | 472 RenderFrame* render_frame, |
| 472 blink::WebFrame* frame, | 473 blink::WebFrame* frame, |
| 473 blink::WebDataSource::ExtraData* extraData, | 474 blink::WebDataSource::ExtraData* extraData, |
| 474 const blink::WebURLRequest& request, | 475 const blink::WebURLRequest& request, |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 639 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
| 639 | 640 |
| 640 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 641 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 641 | 642 |
| 642 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 643 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 643 }; | 644 }; |
| 644 | 645 |
| 645 } // namespace content | 646 } // namespace content |
| 646 | 647 |
| 647 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 648 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |