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

Unified Diff: extensions/browser/api/system_display/display_info_provider.h

Issue 1924133002: Rename gfx::Display/Screen to display::Display/Screen in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/browser/api/system_display/display_info_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/system_display/display_info_provider.h
diff --git a/extensions/browser/api/system_display/display_info_provider.h b/extensions/browser/api/system_display/display_info_provider.h
index 474bd39103932e72ca3c607bc46203b24aad86b7..31cd01e10627a7dbb9a9f288c9b56241adb6b58b 100644
--- a/extensions/browser/api/system_display/display_info_provider.h
+++ b/extensions/browser/api/system_display/display_info_provider.h
@@ -16,6 +16,10 @@ namespace gfx {
class Display;
}
+namespace display {
+using Display = gfx::Display;
+}
+
namespace extensions {
namespace api {
@@ -55,10 +59,10 @@ class DisplayInfoProvider {
protected:
DisplayInfoProvider();
- // Create a DisplayUnitInfo from a gfx::Display for implementations of
+ // Create a DisplayUnitInfo from a display::Display for implementations of
// GetAllDisplaysInfo()
static api::system_display::DisplayUnitInfo CreateDisplayUnitInfo(
- const gfx::Display& display,
+ const display::Display& display,
int64_t primary_display_id);
private:
@@ -67,7 +71,7 @@ class DisplayInfoProvider {
// Update the content of the |unit| obtained for |display| using
// platform specific method.
virtual void UpdateDisplayUnitInfoForPlatform(
- const gfx::Display& display,
+ const display::Display& display,
api::system_display::DisplayUnitInfo* unit) = 0;
DISALLOW_COPY_AND_ASSIGN(DisplayInfoProvider);
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/browser/api/system_display/display_info_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698