| Index: chrome/browser/ui/views/native_constrained_window_aura.cc
|
| diff --git a/chrome/browser/ui/views/native_constrained_window_aura.cc b/chrome/browser/ui/views/native_constrained_window_aura.cc
|
| deleted file mode 100644
|
| index 77a6de5e13e8d9ffd74c0567d65d64cc7559ef57..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/views/native_constrained_window_aura.cc
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -// Copyright (c) 2012 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 "chrome/browser/ui/views/constrained_window_views.h"
|
| -
|
| -#include "ui/aura/client/aura_constants.h"
|
| -#include "ui/aura/window.h"
|
| -#include "ui/views/widget/native_widget_aura.h"
|
| -
|
| -class NativeConstrainedWindowAura : public NativeConstrainedWindow,
|
| - public views::NativeWidgetAura {
|
| - public:
|
| - explicit NativeConstrainedWindowAura(
|
| - NativeConstrainedWindowDelegate* delegate)
|
| - : views::NativeWidgetAura(delegate->AsNativeWidgetDelegate()),
|
| - delegate_(delegate) {
|
| - GetNativeWindow()->SetProperty(aura::client::kConstrainedWindowKey, true);
|
| - }
|
| -
|
| - virtual ~NativeConstrainedWindowAura() {
|
| - }
|
| -
|
| - private:
|
| - // Overridden from NativeConstrainedWindow:
|
| - virtual views::NativeWidget* AsNativeWidget() OVERRIDE {
|
| - return this;
|
| - }
|
| -
|
| - // Overridden from views::NativeWidgetAura:
|
| - virtual void OnWindowDestroyed() OVERRIDE {
|
| - delegate_->OnNativeConstrainedWindowDestroyed();
|
| - views::NativeWidgetAura::OnWindowDestroyed();
|
| - }
|
| -
|
| - NativeConstrainedWindowDelegate* delegate_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(NativeConstrainedWindowAura);
|
| -};
|
| -
|
| -////////////////////////////////////////////////////////////////////////////////
|
| -// NativeConstrainedWindow, public:
|
| -
|
| -// static
|
| -NativeConstrainedWindow* NativeConstrainedWindow::CreateNativeConstrainedWindow(
|
| - NativeConstrainedWindowDelegate* delegate) {
|
| - return new NativeConstrainedWindowAura(delegate);
|
| -}
|
|
|