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

Unified Diff: ui/ozone/platform/dri/dri_window_delegate_impl.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
Index: ui/ozone/platform/dri/dri_window_delegate_impl.cc
diff --git a/ui/ozone/platform/dri/dri_window_delegate_impl.cc b/ui/ozone/platform/dri/dri_window_delegate_impl.cc
deleted file mode 100644
index a95a8fc6663de38a75a46da72f4249d1e9bba42f..0000000000000000000000000000000000000000
--- a/ui/ozone/platform/dri/dri_window_delegate_impl.cc
+++ /dev/null
@@ -1,46 +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.
-
-#include "ui/ozone/platform/dri/dri_window_delegate_impl.h"
-
-#include "base/debug/trace_event.h"
-#include "ui/ozone/platform/dri/screen_manager.h"
-
-namespace ui {
-
-DriWindowDelegateImpl::DriWindowDelegateImpl(gfx::AcceleratedWidget widget,
- ScreenManager* screen_manager)
- : widget_(widget), screen_manager_(screen_manager) {
-}
-
-DriWindowDelegateImpl::~DriWindowDelegateImpl() {
-}
-
-void DriWindowDelegateImpl::Initialize() {
- TRACE_EVENT1("dri", "DriWindowDelegateImpl::Initialize", "widget", widget_);
-}
-
-void DriWindowDelegateImpl::Shutdown() {
- TRACE_EVENT1("dri", "DriWindowDelegateImpl::Shutdown", "widget", widget_);
-}
-
-gfx::AcceleratedWidget DriWindowDelegateImpl::GetAcceleratedWidget() {
- return widget_;
-}
-
-HardwareDisplayController* DriWindowDelegateImpl::GetController() {
- return controller_.get();
-}
-
-void DriWindowDelegateImpl::OnBoundsChanged(const gfx::Rect& bounds) {
- TRACE_EVENT2("dri",
- "DriWindowDelegateImpl::OnBoundsChanged",
- "widget",
- widget_,
- "bounds",
- bounds.ToString());
- controller_ = screen_manager_->GetDisplayController(bounds);
-}
-
-} // namespace ui
« no previous file with comments | « ui/ozone/platform/dri/dri_window_delegate_impl.h ('k') | ui/ozone/platform/dri/dri_window_delegate_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698