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

Side by Side Diff: chrome/browser/extensions/api/system_display/system_display_api.cc

Issue 83843002: Move ManifestHandlers to extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: s/handler/info Created 7 years 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
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/extensions/api/system_display/system_display_api.h" 5 #include "chrome/browser/extensions/api/system_display/system_display_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" 11 #include "chrome/browser/extensions/api/system_display/display_info_provider.h"
12 #include "chrome/common/extensions/api/system_display.h" 12 #include "chrome/common/extensions/api/system_display.h"
13 #include "chrome/common/extensions/manifest_handlers/kiosk_mode_info.h" 13 #include "extensions/common/manifest_handlers/kiosk_mode_info.h"
14 #include "ui/gfx/display.h" 14 #include "ui/gfx/display.h"
15 #include "ui/gfx/screen.h" 15 #include "ui/gfx/screen.h"
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 using api::system_display::DisplayUnitInfo; 19 using api::system_display::DisplayUnitInfo;
20 20
21 namespace SetDisplayProperties = api::system_display::SetDisplayProperties; 21 namespace SetDisplayProperties = api::system_display::SetDisplayProperties;
22 22
23 typedef std::vector<linked_ptr< 23 typedef std::vector<linked_ptr<
(...skipping 21 matching lines...) Expand all
45 bool success = DisplayInfoProvider::Get()->SetInfo(params->id, 45 bool success = DisplayInfoProvider::Get()->SetInfo(params->id,
46 params->info, 46 params->info,
47 &error); 47 &error);
48 if (!success) 48 if (!success)
49 SetError(error); 49 SetError(error);
50 return true; 50 return true;
51 #endif 51 #endif
52 } 52 }
53 53
54 } // namespace extensions 54 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/management/management_api.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698