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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 // Notification that the given plugin has crashed. | 357 // Notification that the given plugin has crashed. |
358 void PluginCrashed(const base::FilePath& plugin_path, | 358 void PluginCrashed(const base::FilePath& plugin_path, |
359 base::ProcessId plugin_pid); | 359 base::ProcessId plugin_pid); |
360 | 360 |
361 // Simulates IME events for testing purpose. | 361 // Simulates IME events for testing purpose. |
362 void SimulateImeSetComposition( | 362 void SimulateImeSetComposition( |
363 const base::string16& text, | 363 const base::string16& text, |
364 const std::vector<blink::WebCompositionUnderline>& underlines, | 364 const std::vector<blink::WebCompositionUnderline>& underlines, |
365 int selection_start, | 365 int selection_start, |
366 int selection_end); | 366 int selection_end); |
367 void SimulateImeCommitText(const base::string16& text, | 367 void SimulateImeCommitText( |
368 const gfx::Range& replacement_range); | 368 const base::string16& text, |
| 369 const std::vector<blink::WebCompositionUnderline>& underlines, |
| 370 const gfx::Range& replacement_range); |
369 void SimulateImeFinishComposingText(bool keep_selection); | 371 void SimulateImeFinishComposingText(bool keep_selection); |
370 | 372 |
371 // TODO(jam): remove these once the IPC handler moves from RenderView to | 373 // TODO(jam): remove these once the IPC handler moves from RenderView to |
372 // RenderFrame. | 374 // RenderFrame. |
373 void OnImeSetComposition( | 375 void OnImeSetComposition( |
374 const base::string16& text, | 376 const base::string16& text, |
375 const std::vector<blink::WebCompositionUnderline>& underlines, | 377 const std::vector<blink::WebCompositionUnderline>& underlines, |
376 int selection_start, | 378 int selection_start, |
377 int selection_end); | 379 int selection_end); |
378 void OnImeCommitText(const base::string16& text, | 380 void OnImeCommitText(const base::string16& text, |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 bool browser_side_navigation_pending_ = false; | 1366 bool browser_side_navigation_pending_ = false; |
1365 | 1367 |
1366 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1368 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1367 | 1369 |
1368 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1370 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1369 }; | 1371 }; |
1370 | 1372 |
1371 } // namespace content | 1373 } // namespace content |
1372 | 1374 |
1373 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1375 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |