| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/ui/website_settings/permission_bubble_browser_test_util
.h" | 5 #include "chrome/browser/ui/website_settings/permission_bubble_browser_test_util
.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/extensions/extension_browsertest.h" | 8 #include "chrome/browser/extensions/extension_browsertest.h" |
| 9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" |
| 10 #include "chrome/browser/ui/browser_finder.h" | 10 #include "chrome/browser/ui/browser_finder.h" |
| 11 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 12 #include "chrome/browser/ui/extensions/app_launch_params.h" | 12 #include "chrome/browser/ui/extensions/app_launch_params.h" |
| 13 #include "chrome/browser/ui/extensions/application_launch.h" | 13 #include "chrome/browser/ui/extensions/application_launch.h" |
| 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 15 #include "chrome/browser/ui/website_settings/mock_permission_bubble_request.h" | 15 #include "chrome/browser/ui/website_settings/mock_permission_bubble_request.h" |
| 16 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
| 17 #include "chrome/grit/generated_resources.h" | 17 #include "chrome/grit/generated_resources.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
| 19 | 19 |
| 20 // TODO(hcarmona): compile this |
| 21 |
| 20 TestPermissionBubbleViewDelegate::TestPermissionBubbleViewDelegate() | 22 TestPermissionBubbleViewDelegate::TestPermissionBubbleViewDelegate() |
| 21 : PermissionBubbleView::Delegate() { | 23 : PermissionBubbleView::Delegate() { |
| 22 } | 24 } |
| 23 | 25 |
| 24 PermissionBubbleBrowserTest::PermissionBubbleBrowserTest() { | 26 PermissionBubbleBrowserTest::PermissionBubbleBrowserTest() { |
| 25 } | 27 } |
| 26 | 28 |
| 27 PermissionBubbleBrowserTest::~PermissionBubbleBrowserTest() { | 29 PermissionBubbleBrowserTest::~PermissionBubbleBrowserTest() { |
| 28 } | 30 } |
| 29 | 31 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 60 } | 62 } |
| 61 | 63 |
| 62 PermissionBubbleKioskBrowserTest::~PermissionBubbleKioskBrowserTest() { | 64 PermissionBubbleKioskBrowserTest::~PermissionBubbleKioskBrowserTest() { |
| 63 } | 65 } |
| 64 | 66 |
| 65 void PermissionBubbleKioskBrowserTest::SetUpCommandLine( | 67 void PermissionBubbleKioskBrowserTest::SetUpCommandLine( |
| 66 base::CommandLine* command_line) { | 68 base::CommandLine* command_line) { |
| 67 PermissionBubbleBrowserTest::SetUpCommandLine(command_line); | 69 PermissionBubbleBrowserTest::SetUpCommandLine(command_line); |
| 68 command_line->AppendSwitch(switches::kKioskMode); | 70 command_line->AppendSwitch(switches::kKioskMode); |
| 69 } | 71 } |
| OLD | NEW |