OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/apps/app_browsertest_util.h" | 5 #include "chrome/browser/apps/app_browsertest_util.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 AppWindow* app_window = GetFirstAppWindow(); | 287 AppWindow* app_window = GetFirstAppWindow(); |
288 return app_window; | 288 return app_window; |
289 } | 289 } |
290 | 290 |
291 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine( | 291 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine( |
292 base::CommandLine* command_line) { | 292 base::CommandLine* command_line) { |
293 PlatformAppBrowserTest::SetUpCommandLine(command_line); | 293 PlatformAppBrowserTest::SetUpCommandLine(command_line); |
294 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); | 294 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); |
295 } | 295 } |
296 | 296 |
| 297 const gfx::ImageSkia& PlatformAppBrowserTest::GetAppIconImage( |
| 298 AppWindow* app_window) { |
| 299 return app_window->app_icon_image_->image_skia(); |
| 300 } |
| 301 |
297 } // namespace extensions | 302 } // namespace extensions |
OLD | NEW |