| 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
|
|
|