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

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

Issue 11316292: Add app.window.setIcon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to .idl Created 8 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) 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 "chrome/browser/extensions/platform_app_browsertest_util.h" 5 #include "chrome/browser/extensions/platform_app_browsertest_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "chrome/browser/extensions/api/tabs/tabs.h" 9 #include "chrome/browser/extensions/api/tabs/tabs.h"
10 #include "chrome/browser/extensions/extension_function_test_utils.h" 10 #include "chrome/browser/extensions/extension_function_test_utils.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 146
147 void PlatformAppBrowserTest::CloseShellWindow(ShellWindow* window) { 147 void PlatformAppBrowserTest::CloseShellWindow(ShellWindow* window) {
148 content::WindowedNotificationObserver destroyed_observer( 148 content::WindowedNotificationObserver destroyed_observer(
149 content::NOTIFICATION_WEB_CONTENTS_DESTROYED, 149 content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
150 content::NotificationService::AllSources()); 150 content::NotificationService::AllSources());
151 window->GetBaseWindow()->Close(); 151 window->GetBaseWindow()->Close();
152 destroyed_observer.Wait(); 152 destroyed_observer.Wait();
153 } 153 }
154 154
155 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine(
156 CommandLine* command_line) {
157 PlatformAppBrowserTest::SetUpCommandLine(command_line);
158 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
159 }
160
155 } // namespace extensions 161 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest_util.h ('k') | chrome/browser/extensions/shell_window_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698