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

Unified Diff: services/ui/display/screen_manager_stub.h

Issue 2685003002: Rename ScreeManagerOzone to ScreenManagerOzoneInternal (Closed)
Patch Set: patch for landing Created 3 years, 10 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 | « services/ui/display/screen_manager_ozone_unittests.cc ('k') | services/ui/display/screen_manager_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/screen_manager_stub.h
diff --git a/services/ui/display/screen_manager_stub.h b/services/ui/display/screen_manager_stub.h
deleted file mode 100644
index b780bb4d9dc7dc65bbba8eb44bfcb46b4b40dc2e..0000000000000000000000000000000000000000
--- a/services/ui/display/screen_manager_stub.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2016 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 SERVICES_UI_DISPLAY_SCREEN_MANAGER_STUB_H_
-#define SERVICES_UI_DISPLAY_SCREEN_MANAGER_STUB_H_
-
-#include <stdint.h>
-
-#include "base/memory/weak_ptr.h"
-#include "services/ui/display/screen_manager.h"
-#include "services/ui/display/viewport_metrics.h"
-
-namespace display {
-
-// ScreenManagerStub provides the necessary functionality to configure a fixed
-// 1024x768 display for non-ozone platforms.
-class ScreenManagerStub : public ScreenManager {
- public:
- ScreenManagerStub();
- ~ScreenManagerStub() override;
-
- private:
- // Fake creation of a single 1024x768 display.
- void FixedSizeScreenConfiguration();
-
- // ScreenManager.
- void AddInterfaces(service_manager::InterfaceRegistry* registry) override;
- void Init(ScreenManagerDelegate* delegate) override;
- void RequestCloseDisplay(int64_t display_id) override;
- int64_t GetPrimaryDisplayId() const override;
-
- // Sample display information.
- int64_t display_id_ = 1;
- ViewportMetrics display_metrics_;
-
- ScreenManagerDelegate* delegate_ = nullptr;
-
- base::WeakPtrFactory<ScreenManagerStub> weak_ptr_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(ScreenManagerStub);
-};
-
-} // namespace display
-
-#endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_STUB_H_
« no previous file with comments | « services/ui/display/screen_manager_ozone_unittests.cc ('k') | services/ui/display/screen_manager_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698