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

Side by Side Diff: chrome/browser/extensions/display_info_provider_chromeos.h

Issue 2802603005: MD Settings: Display: Add unified desktop control and modify api (Closed)
Patch Set: Fix closure and tests Created 3 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 // DisplayInfoProvider implementation. 33 // DisplayInfoProvider implementation.
34 bool SetInfo(const std::string& display_id, 34 bool SetInfo(const std::string& display_id,
35 const api::system_display::DisplayProperties& info, 35 const api::system_display::DisplayProperties& info,
36 std::string* error) override; 36 std::string* error) override;
37 bool SetDisplayLayout(const DisplayLayoutList& layouts) override; 37 bool SetDisplayLayout(const DisplayLayoutList& layouts) override;
38 void UpdateDisplayUnitInfoForPlatform( 38 void UpdateDisplayUnitInfoForPlatform(
39 const display::Display& display, 39 const display::Display& display,
40 api::system_display::DisplayUnitInfo* unit) override; 40 api::system_display::DisplayUnitInfo* unit) override;
41 void EnableUnifiedDesktop(bool enable) override; 41 void EnableUnifiedDesktop(bool enable) override;
42 DisplayUnitInfoList GetAllDisplaysInfo() override; 42 DisplayUnitInfoList GetAllDisplaysInfo(bool single_unified) override;
43 DisplayLayoutList GetDisplayLayout() override; 43 DisplayLayoutList GetDisplayLayout() override;
44 bool OverscanCalibrationStart(const std::string& id) override; 44 bool OverscanCalibrationStart(const std::string& id) override;
45 bool OverscanCalibrationAdjust( 45 bool OverscanCalibrationAdjust(
46 const std::string& id, 46 const std::string& id,
47 const api::system_display::Insets& delta) override; 47 const api::system_display::Insets& delta) override;
48 bool OverscanCalibrationReset(const std::string& id) override; 48 bool OverscanCalibrationReset(const std::string& id) override;
49 bool OverscanCalibrationComplete(const std::string& id) override; 49 bool OverscanCalibrationComplete(const std::string& id) override;
50 bool ShowNativeTouchCalibration( 50 bool ShowNativeTouchCalibration(
51 const std::string& id, std::string* error, 51 const std::string& id, std::string* error,
52 const TouchCalibrationCallback& callback) override; 52 const TouchCalibrationCallback& callback) override;
(...skipping 19 matching lines...) Expand all
72 72
73 std::string touch_calibration_target_id_; 73 std::string touch_calibration_target_id_;
74 bool custom_touch_calibration_active_ = false; 74 bool custom_touch_calibration_active_ = false;
75 75
76 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS); 76 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderChromeOS);
77 }; 77 };
78 78
79 } // namespace extensions 79 } // namespace extensions
80 80
81 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_ 81 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/extensions/display_info_provider_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698