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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
510 void OnDelete(); | 510 void OnDelete(); |
511 void OnSelectAll(); | 511 void OnSelectAll(); |
512 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 512 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
513 void OnUnselect(); | 513 void OnUnselect(); |
514 void OnReplace(const base::string16& text); | 514 void OnReplace(const base::string16& text); |
515 void OnReplaceMisspelling(const base::string16& text); | 515 void OnReplaceMisspelling(const base::string16& text); |
516 void OnCSSInsertRequest(const std::string& css); | 516 void OnCSSInsertRequest(const std::string& css); |
517 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 517 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
518 int id, | 518 int id, |
519 bool notify_result); | 519 bool notify_result); |
520 void OnJavaScriptExecuteRequestForTests(const base::string16& javascript, | |
521 int id, | |
522 bool notify_result); | |
523 void HandleJavascriptExecutionResult(const base::string16& javascript, | |
jamesr
2014/09/03 20:22:11
this is not an IPC message handler. please move it
Zeeshan Qureshi
2014/09/03 21:18:09
Done.
| |
524 int id, | |
525 bool notify_result, | |
526 v8::Handle<v8::Value> result); | |
520 void OnSetEditableSelectionOffsets(int start, int end); | 527 void OnSetEditableSelectionOffsets(int start, int end); |
521 void OnSetCompositionFromExistingText( | 528 void OnSetCompositionFromExistingText( |
522 int start, int end, | 529 int start, int end, |
523 const std::vector<blink::WebCompositionUnderline>& underlines); | 530 const std::vector<blink::WebCompositionUnderline>& underlines); |
524 void OnExtendSelectionAndDelete(int before, int after); | 531 void OnExtendSelectionAndDelete(int before, int after); |
525 void OnReload(bool ignore_cache); | 532 void OnReload(bool ignore_cache); |
526 void OnTextSurroundingSelectionRequest(size_t max_length); | 533 void OnTextSurroundingSelectionRequest(size_t max_length); |
527 void OnAddStyleSheetByURL(const std::string& url); | 534 void OnAddStyleSheetByURL(const std::string& url); |
528 void OnSetupTransitionView(const std::string& markup); | 535 void OnSetupTransitionView(const std::string& markup); |
529 void OnBeginExitTransition(const std::string& css_selector); | 536 void OnBeginExitTransition(const std::string& css_selector); |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
733 #endif | 740 #endif |
734 | 741 |
735 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 742 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
736 | 743 |
737 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 744 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
738 }; | 745 }; |
739 | 746 |
740 } // namespace content | 747 } // namespace content |
741 | 748 |
742 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 749 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |