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

Side by Side Diff: ui/display/manager/display_string_provider.h

Issue 2523873002: Remove DisplayChangeObserver ash dependencies. (Closed)
Patch Set: Remove comment. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_
6 #define UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_
7
8 #include <string>
9
10 namespace display {
11
12 // Provides generic display names loaded from resources.
13 class DisplayStringProvider {
14 public:
15 virtual ~DisplayStringProvider() {}
16
17 virtual std::string GetInternalDisplayNameString() = 0;
18 virtual std::string GetVirtualDisplayNameString() = 0;
19 virtual std::string GetUnknownDisplayNameString() = 0;
oshima 2016/11/30 18:17:09 Using a interface looks overkill. Can't you just i
kylechar 2016/11/30 21:46:03 I discussed this with sadrul briefly. We will need
20 };
21
22 } // namespace display
23
24 #endif // UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_
OLDNEW
« ash/display/display_change_observer_chromeos.cc ('K') | « ui/display/manager/display_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698