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/apps/app_browsertest_util.cc

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
OLDNEW
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 "apps/app_window_contents.h" 7 #include "apps/app_window_contents.h"
8 #include "apps/app_window_registry.h" 8 #include "apps/app_window_registry.h"
9 #include "apps/ui/native_app_window.h"
10 #include "base/command_line.h" 9 #include "base/command_line.h"
11 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
12 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 11 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
13 #include "chrome/browser/extensions/extension_function_test_utils.h" 12 #include "chrome/browser/extensions/extension_function_test_utils.h"
14 #include "chrome/browser/extensions/extension_test_message_listener.h" 13 #include "chrome/browser/extensions/extension_test_message_listener.h"
15 #include "chrome/browser/ui/apps/chrome_app_delegate.h" 14 #include "chrome/browser/ui/apps/chrome_app_delegate.h"
16 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/extensions/application_launch.h" 16 #include "chrome/browser/ui/extensions/application_launch.h"
18 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
19 #include "content/public/test/browser_test_utils.h" 18 #include "content/public/test/browser_test_utils.h"
20 #include "content/public/test/test_utils.h" 19 #include "content/public/test/test_utils.h"
20 #include "extensions/browser/app_window/native_app_window.h"
21 #include "extensions/common/switches.h" 21 #include "extensions/common/switches.h"
22 22
23 using apps::AppWindow; 23 using apps::AppWindow;
24 using apps::AppWindowRegistry; 24 using apps::AppWindowRegistry;
25 using content::WebContents; 25 using content::WebContents;
26 26
27 namespace { 27 namespace {
28 28
29 const char kAppWindowTestApp[] = "app_window/generic"; 29 const char kAppWindowTestApp[] = "app_window/generic";
30 30
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 return app_window; 251 return app_window;
252 } 252 }
253 253
254 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine( 254 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine(
255 CommandLine* command_line) { 255 CommandLine* command_line) {
256 PlatformAppBrowserTest::SetUpCommandLine(command_line); 256 PlatformAppBrowserTest::SetUpCommandLine(command_line);
257 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); 257 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
258 } 258 }
259 259
260 } // namespace extensions 260 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/apps/app_window_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698