| Index: athena/home/home_card_delegate_view.h
|
| diff --git a/athena/home/home_card_delegate_view.h b/athena/home/home_card_delegate_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d4569b168ab64b4e055ac40168d68333b1952a06
|
| --- /dev/null
|
| +++ b/athena/home/home_card_delegate_view.h
|
| @@ -0,0 +1,33 @@
|
| +// 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.
|
| +
|
| +#ifndef ATHENA_HOME_HOME_CARD_DELEGATE_VIEW_H_
|
| +#define ATHENA_HOME_HOME_CARD_DELEGATE_VIEW_H_
|
| +
|
| +#include "ui/views/view.h"
|
| +#include "ui/views/widget/widget_delegate.h"
|
| +
|
| +namespace athena {
|
| +
|
| +class HomeCardDelegateView : public views::WidgetDelegate, public views::View {
|
| + public:
|
| + HomeCardDelegateView();
|
| + virtual ~HomeCardDelegateView();
|
| +
|
| + private:
|
| + // views::View
|
| + virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
|
| +
|
| + // views::WidgetDelegate:
|
| + virtual void DeleteDelegate() OVERRIDE;
|
| + virtual views::Widget* GetWidget() OVERRIDE;
|
| + virtual const views::Widget* GetWidget() const OVERRIDE;
|
| + virtual views::View* GetContentsView() OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(HomeCardDelegateView);
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_HOME_HOME_CARD_DELEGATE_VIEW_H_
|
|
|