OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #ifndef ATHENA_MAIN_ATHENA_VIEWS_DELEGATE_H_ |
| 5 #define ATHENA_MAIN_ATHENA_VIEWS_DELEGATE_H_ |
| 6 |
| 7 #include "ui/views/views_delegate.h" |
| 8 |
| 9 namespace athena { |
| 10 |
| 11 class AthenaViewsDelegate : public views::ViewsDelegate { |
| 12 public: |
| 13 AthenaViewsDelegate() {} |
| 14 virtual ~AthenaViewsDelegate() {} |
| 15 |
| 16 private: |
| 17 // views::ViewsDelegate: |
| 18 virtual void OnBeforeWidgetInit( |
| 19 views::Widget::InitParams* params, |
| 20 views::internal::NativeWidgetDelegate* delegate) OVERRIDE; |
| 21 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 22 views::Widget* widget) OVERRIDE; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(AthenaViewsDelegate); |
| 25 }; |
| 26 |
| 27 } // namespace athena |
| 28 |
| 29 #endif // ATHENA_MAIN_ATHENA_VIEWS_DELEGATE_H_ |
OLD | NEW |