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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win_browsertest.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <vector> 5 #include <vector>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/win/metro.h" 8 #include "base/win/metro.h"
9 #include "content/browser/renderer_host/render_widget_host_view_win.h" 9 #include "content/browser/renderer_host/render_widget_host_view_win.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "content/public/test/browser_test_utils.h"
13 #include "content/public/test/test_utils.h" 14 #include "content/public/test/test_utils.h"
14 #include "content/public/test/browser_test_utils.h" 15 #include "content/shell/browser/shell.h"
15 #include "content/shell/shell.h" 16 #include "content/test/content_browser_test.h"
16 #include "content/test/content_browser_test_utils.h" 17 #include "content/test/content_browser_test_utils.h"
17 #include "content/test/content_browser_test.h"
18 #include "ui/base/ime/composition_text.h" 18 #include "ui/base/ime/composition_text.h"
19 #include "ui/base/ime/text_input_type.h" 19 #include "ui/base/ime/text_input_type.h"
20 #include "ui/base/ime/win/imm32_manager.h" 20 #include "ui/base/ime/win/imm32_manager.h"
21 #include "ui/base/ime/win/mock_tsf_bridge.h" 21 #include "ui/base/ime/win/mock_tsf_bridge.h"
22 #include "ui/base/ime/win/tsf_bridge.h" 22 #include "ui/base/ime/win/tsf_bridge.h"
23 23
24 namespace content { 24 namespace content {
25 namespace { 25 namespace {
26 26
27 class MockIMM32Manager : public ui::IMM32Manager { 27 class MockIMM32Manager : public ui::IMM32Manager {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 &success)); 217 &success));
218 EXPECT_TRUE(success); 218 EXPECT_TRUE(success);
219 WaitForLoadStop(shell()->web_contents()); 219 WaitForLoadStop(shell()->web_contents());
220 RunAllPendingInMessageLoop(); 220 RunAllPendingInMessageLoop();
221 EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, mock_bridge.latest_text_iput_type()); 221 EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, mock_bridge.latest_text_iput_type());
222 222
223 ui::TSFBridge::ReplaceForTesting(old_bridge); 223 ui::TSFBridge::ReplaceForTesting(old_bridge);
224 } 224 }
225 225
226 } // namespace content 226 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_browsertest.cc ('k') | content/browser/security_exploit_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698