Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/utf_string_conversions.h" | 6 #include "base/utf_string_conversions.h" |
| 7 #include "chrome/app/chrome_command_ids.h" | 7 #include "chrome/app/chrome_command_ids.h" |
| 8 #include "chrome/browser/debugger/devtools_window.h" | 8 #include "chrome/browser/debugger/devtools_window.h" |
| 9 #include "chrome/browser/net/url_request_mock_util.h" | 9 #include "chrome/browser/net/url_request_mock_util.h" |
| 10 #include "chrome/browser/prefs/browser_prefs.h" | 10 #include "chrome/browser/prefs/browser_prefs.h" |
| (...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1682 ::MSG key_msg = { NULL, WM_KEYDOWN, ui::VKEY_W, 0 }; | 1682 ::MSG key_msg = { NULL, WM_KEYDOWN, ui::VKEY_W, 0 }; |
| 1683 content::NativeWebKeyboardEvent key_event(key_msg); | 1683 content::NativeWebKeyboardEvent key_event(key_msg); |
| 1684 key_event.modifiers = content::NativeWebKeyboardEvent::ControlKey; | 1684 key_event.modifiers = content::NativeWebKeyboardEvent::ControlKey; |
| 1685 #else | 1685 #else |
| 1686 content::NativeWebKeyboardEvent key_event; | 1686 content::NativeWebKeyboardEvent key_event; |
| 1687 #endif | 1687 #endif |
| 1688 panel->HandleKeyboardEvent(key_event); | 1688 panel->HandleKeyboardEvent(key_event); |
| 1689 signal.Wait(); | 1689 signal.Wait(); |
| 1690 EXPECT_EQ(0, panel_manager->num_panels()); | 1690 EXPECT_EQ(0, panel_manager->num_panels()); |
| 1691 } | 1691 } |
| 1692 | |
|
Lei Zhang
2012/10/09 18:33:39
This file shouldn't be in the CL?
jianli
2012/10/09 18:35:33
Yes. But it would be nice to clean up the unneeded
Lei Zhang
2012/10/09 18:42:36
Err? The diff shows +1. You are adding an extra em
jianli
2012/10/09 18:44:02
Sorry, my bad. I had a wrong perception. Let me re
| |
| OLD | NEW |