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

Side by Side Diff: chrome/browser/ui/panels/panel_browsertest.cc

Issue 10987037: Add tests for panel app icon functionaility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac build Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698