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

Side by Side Diff: chrome/browser/automation/testing_automation_provider_chromeos.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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) 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 21 matching lines...) Expand all
32 #include "chrome/browser/policy/cloud_policy_cache_base.h" 32 #include "chrome/browser/policy/cloud_policy_cache_base.h"
33 #include "chrome/browser/policy/cloud_policy_data_store.h" 33 #include "chrome/browser/policy/cloud_policy_data_store.h"
34 #include "chrome/browser/policy/cloud_policy_subsystem.h" 34 #include "chrome/browser/policy/cloud_policy_subsystem.h"
35 #include "chrome/browser/policy/enterprise_install_attributes.h" 35 #include "chrome/browser/policy/enterprise_install_attributes.h"
36 #include "chrome/browser/prefs/pref_service.h" 36 #include "chrome/browser/prefs/pref_service.h"
37 #include "chrome/browser/ui/browser_window.h" 37 #include "chrome/browser/ui/browser_window.h"
38 #include "chrome/browser/ui/views/window.h" 38 #include "chrome/browser/ui/views/window.h"
39 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
40 #include "net/base/network_change_notifier.h" 40 #include "net/base/network_change_notifier.h"
41 #include "policy/policy_constants.h" 41 #include "policy/policy_constants.h"
42 #include "views/widget/widget.h" 42 #include "ui/views/widget/widget.h"
43 43
44 using chromeos::CrosLibrary; 44 using chromeos::CrosLibrary;
45 using chromeos::NetworkLibrary; 45 using chromeos::NetworkLibrary;
46 using chromeos::UpdateLibrary; 46 using chromeos::UpdateLibrary;
47 using chromeos::UserManager; 47 using chromeos::UserManager;
48 48
49 namespace { 49 namespace {
50 50
51 DictionaryValue* GetNetworkInfoDict(const chromeos::Network* network) { 51 DictionaryValue* GetNetworkInfoDict(const chromeos::Network* network) {
52 DictionaryValue* item = new DictionaryValue; 52 DictionaryValue* item = new DictionaryValue;
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 views::Widget* window = browser::CreateViewsWindow( 1141 views::Widget* window = browser::CreateViewsWindow(
1142 browser->window()->GetNativeHandle(), take_photo_dialog); 1142 browser->window()->GetNativeHandle(), take_photo_dialog);
1143 window->SetAlwaysOnTop(true); 1143 window->SetAlwaysOnTop(true);
1144 window->Show(); 1144 window->Show();
1145 } 1145 }
1146 1146
1147 void TestingAutomationProvider::PowerChanged( 1147 void TestingAutomationProvider::PowerChanged(
1148 const chromeos::PowerSupplyStatus& status) { 1148 const chromeos::PowerSupplyStatus& status) {
1149 power_status = status; 1149 power_status = status;
1150 } 1150 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_win.cc ('k') | chrome/browser/automation/testing_automation_provider_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698