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

Unified Diff: ui/display/chromeos/display_util.h

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/chromeos/display_snapshot_virtual.cc ('k') | ui/display/chromeos/display_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_util.h
diff --git a/ui/display/chromeos/display_util.h b/ui/display/chromeos/display_util.h
deleted file mode 100644
index dc0969897c2cd751e8fcd659201dd9cf2d032637..0000000000000000000000000000000000000000
--- a/ui/display/chromeos/display_util.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_H_
-#define UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_H_
-
-#include <string>
-#include <vector>
-
-#include "third_party/cros_system_api/dbus/service_constants.h"
-#include "ui/display/display_export.h"
-#include "ui/display/types/display_constants.h"
-
-namespace ui {
-
-class DisplaySnapshot;
-
-// Returns a string describing |state|.
-std::string DisplayPowerStateToString(chromeos::DisplayPowerState state);
-
-// Returns a string describing |state|.
-std::string MultipleDisplayStateToString(MultipleDisplayState state);
-
-// Returns the number of displays in |displays| that should be turned on, per
-// |state|. If |display_power| is non-NULL, it is updated to contain the
-// on/off state of each corresponding entry in |displays|.
-int DISPLAY_EXPORT
-GetDisplayPower(const std::vector<DisplaySnapshot*>& displays,
- chromeos::DisplayPowerState state,
- std::vector<bool>* display_power);
-
-// Returns whether the DisplayConnectionType |type| is a physically connected
-// display. Currently DISPLAY_CONNECTION_TYPE_VIRTUAL and
-// DISPLAY_CONNECTION_TYPE_NETWORK return false. All other types return true.
-bool IsPhysicalDisplayType(ui::DisplayConnectionType type);
-
-} // namespace ui
-
-#endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_H_
« no previous file with comments | « ui/display/chromeos/display_snapshot_virtual.cc ('k') | ui/display/chromeos/display_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698