From 03bd6648b11dd3d915103f847feed28d0af4c7c2 Mon Sep 17 00:00:00 2001 From: "hbono@chromium.org" Date: Thu, 12 Feb 2009 04:57:14 +0000 Subject: Add the first unit-test that tests our IME backend. This change is the first unit-test that tests our IME backend in the RenderWidget class. Thanks to the unit-test framework for the RenderView class created by Carlos and Brett, we can now implement this unit test. (I'm not sure I use this framework correctly, though. Please blame me if I use it improperly.) Currently, this IME test just tests if our IME code can properly activate (or de-activate) IMEs for an element and the initial position of a candidate window. I'm going to add more practical cases to this test. Review URL: http://codereview.chromium.org/20014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9648 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_view.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/renderer/render_view.h') diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index b177ed0..94d842d 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -337,6 +337,7 @@ class RenderView : public RenderWidget, private: FRIEND_TEST(RenderViewTest, OnLoadAlternateHTMLText); FRIEND_TEST(RenderViewTest, OnNavStateChanged); + FRIEND_TEST(RenderViewTest, OnImeStateChanged); explicit RenderView(RenderThreadBase* render_thread); -- cgit v1.1