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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/input_ui/other/test.js ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_browsertest.cc
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index 127db546e1e50db93a3b43f3881f13eac5a674f2..9b8f209042370160be33db9dc340cc09cbb8ff84 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -69,10 +69,6 @@ class RenderProcessHostTest : public InProcessBrowserTest {
content::RenderProcessHost* rph2 = NULL;
content::RenderProcessHost* rph3 = NULL;
-#if defined(USE_VIRTUAL_KEYBOARD)
- ++host_count; // For the virtual keyboard.
-#endif
-
// Change the first tab to be the new tab page (TYPE_WEBUI).
GURL newtab(chrome::kTestNewTabURL);
ui_test_utils::NavigateToURL(browser(), newtab);
@@ -130,11 +126,7 @@ class RenderProcessHostTest : public InProcessBrowserTest {
if (browser()->tab_count() == tab_count)
ui_test_utils::WaitForNewTab(browser());
tab_count++;
-#if !defined(USE_VIRTUAL_KEYBOARD)
- // The virtual keyboard already creates an extension process. So this
- // should not increase the process count.
host_count++;
-#endif
EXPECT_EQ(tab_count, browser()->tab_count());
tab1 = browser()->GetWebContentsAt(tab_count - 1);
rph3 = tab1->GetRenderProcessHost();
@@ -164,10 +156,6 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, ProcessPerTab) {
int tab_count = 1;
int host_count = 1;
-#if defined(USE_VIRTUAL_KEYBOARD)
- ++host_count; // For the virtual keyboard.
-#endif
-
// Change the first tab to be the new tab page (TYPE_WEBUI).
GURL newtab(chrome::kTestNewTabURL);
ui_test_utils::NavigateToURL(browser(), newtab);
« no previous file with comments | « chrome/test/data/extensions/api_test/input_ui/other/test.js ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698