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

Side by Side Diff: chrome/browser/extensions/extension_popup_apitest.cc

Issue 434046: Support for chrome.experimental.popup API in ExternalTabContainer views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/chrome_switches.h" 7 #include "chrome/common/chrome_switches.h"
8 8
9 // Flaky, http://crbug.com/27271. 9 // Flaky, http://crbug.com/27271.
10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FLAKY_Popup) { 10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FLAKY_Popup) {
11 CommandLine::ForCurrentProcess()->AppendSwitch( 11 CommandLine::ForCurrentProcess()->AppendSwitch(
12 switches::kEnableExperimentalExtensionApis); 12 switches::kEnableExperimentalExtensionApis);
13 CommandLine::ForCurrentProcess()->AppendSwitch( 13 CommandLine::ForCurrentProcess()->AppendSwitch(
14 switches::kEnableExtensionToolstrips); 14 switches::kEnableExtensionToolstrips);
15
15 ASSERT_TRUE(RunExtensionTest("popup_api")) << message_; 16 ASSERT_TRUE(RunExtensionTest("popup_api")) << message_;
16 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698