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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 void OnUndo(); | 382 void OnUndo(); |
383 void OnRedo(); | 383 void OnRedo(); |
384 void OnCut(); | 384 void OnCut(); |
385 void OnCopy(); | 385 void OnCopy(); |
386 void OnPaste(); | 386 void OnPaste(); |
387 void OnPasteAndMatchStyle(); | 387 void OnPasteAndMatchStyle(); |
388 void OnDelete(); | 388 void OnDelete(); |
389 void OnSelectAll(); | 389 void OnSelectAll(); |
390 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 390 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
391 void OnUnselect(); | 391 void OnUnselect(); |
| 392 void OnReplace(const base::string16& text); |
| 393 void OnReplaceMisspelling(const base::string16& text); |
392 void OnCSSInsertRequest(const std::string& css); | 394 void OnCSSInsertRequest(const std::string& css); |
393 void OnJavaScriptExecuteRequest(const base::string16& javascript, | 395 void OnJavaScriptExecuteRequest(const base::string16& javascript, |
394 int id, | 396 int id, |
395 bool notify_result); | 397 bool notify_result); |
396 void OnSetEditableSelectionOffsets(int start, int end); | 398 void OnSetEditableSelectionOffsets(int start, int end); |
397 void OnSetCompositionFromExistingText( | 399 void OnSetCompositionFromExistingText( |
398 int start, int end, | 400 int start, int end, |
399 const std::vector<blink::WebCompositionUnderline>& underlines); | 401 const std::vector<blink::WebCompositionUnderline>& underlines); |
400 void OnExtendSelectionAndDelete(int before, int after); | 402 void OnExtendSelectionAndDelete(int before, int after); |
401 void OnReload(bool ignore_cache); | 403 void OnReload(bool ignore_cache); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 // Used to inform didChangeSelection() when it is called in the context | 485 // Used to inform didChangeSelection() when it is called in the context |
484 // of handling a InputMsg_SelectRange IPC. | 486 // of handling a InputMsg_SelectRange IPC. |
485 bool handling_select_range_; | 487 bool handling_select_range_; |
486 | 488 |
487 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 489 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
488 }; | 490 }; |
489 | 491 |
490 } // namespace content | 492 } // namespace content |
491 | 493 |
492 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 494 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |