| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/automation/testing_automation_provider.h" | 5 #include "chrome/browser/automation/testing_automation_provider.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/i18n/time_formatting.h" | 8 #include "base/i18n/time_formatting.h" |
| 9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 views::Widget* window = browser::CreateViewsWindow( | 1121 views::Widget* window = browser::CreateViewsWindow( |
| 1122 browser->window()->GetNativeHandle(), take_photo_dialog, STYLE_GENERIC); | 1122 browser->window()->GetNativeHandle(), take_photo_dialog, STYLE_GENERIC); |
| 1123 window->SetAlwaysOnTop(true); | 1123 window->SetAlwaysOnTop(true); |
| 1124 window->Show(); | 1124 window->Show(); |
| 1125 } | 1125 } |
| 1126 | 1126 |
| 1127 void TestingAutomationProvider::PowerChanged( | 1127 void TestingAutomationProvider::PowerChanged( |
| 1128 const chromeos::PowerSupplyStatus& status) { | 1128 const chromeos::PowerSupplyStatus& status) { |
| 1129 power_status = status; | 1129 power_status = status; |
| 1130 } | 1130 } |
| 1131 | |
| 1132 void TestingAutomationProvider::LockScreen() { | |
| 1133 // Not used, but defined to make clang happy with the overloaded name. | |
| 1134 } | |
| 1135 | |
| 1136 void TestingAutomationProvider::UnlockScreen() { | |
| 1137 // Not used, but defined to make clang happy with the overloaded name. | |
| 1138 } | |
| OLD | NEW |