Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Fix header include Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // Notification that the given plugin has crashed. 350 // Notification that the given plugin has crashed.
351 void PluginCrashed(const base::FilePath& plugin_path, 351 void PluginCrashed(const base::FilePath& plugin_path,
352 base::ProcessId plugin_pid); 352 base::ProcessId plugin_pid);
353 353
354 // Simulates IME events for testing purpose. 354 // Simulates IME events for testing purpose.
355 void SimulateImeSetComposition( 355 void SimulateImeSetComposition(
356 const base::string16& text, 356 const base::string16& text,
357 const std::vector<blink::WebCompositionUnderline>& underlines, 357 const std::vector<blink::WebCompositionUnderline>& underlines,
358 int selection_start, 358 int selection_start,
359 int selection_end); 359 int selection_end);
360 void SimulateImeCommitText(const base::string16& text, 360 void SimulateImeCommitText(
361 const gfx::Range& replacement_range); 361 const base::string16& text,
362 const std::vector<blink::WebCompositionUnderline>& underlines,
363 const gfx::Range& replacement_range);
362 void SimulateImeFinishComposingText(bool keep_selection); 364 void SimulateImeFinishComposingText(bool keep_selection);
363 365
364 // TODO(jam): remove these once the IPC handler moves from RenderView to 366 // TODO(jam): remove these once the IPC handler moves from RenderView to
365 // RenderFrame. 367 // RenderFrame.
366 void OnImeSetComposition( 368 void OnImeSetComposition(
367 const base::string16& text, 369 const base::string16& text,
368 const std::vector<blink::WebCompositionUnderline>& underlines, 370 const std::vector<blink::WebCompositionUnderline>& underlines,
369 int selection_start, 371 int selection_start,
370 int selection_end); 372 int selection_end);
371 void OnImeCommitText(const base::string16& text, 373 void OnImeCommitText(const base::string16& text,
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 bool browser_side_navigation_pending_ = false; 1360 bool browser_side_navigation_pending_ = false;
1359 1361
1360 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1362 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1361 1363
1362 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1364 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1363 }; 1365 };
1364 1366
1365 } // namespace content 1367 } // namespace content
1366 1368
1367 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1369 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698