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

Unified Diff: athena/main/athena_views_delegate.h

Issue 544953003: Supprot V2 app: step1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
« no previous file with comments | « athena/main/athena_main.gyp ('k') | athena/main/athena_views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/athena_views_delegate.h
diff --git a/athena/main/athena_views_delegate.h b/athena/main/athena_views_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..b5d858623d760e5584a0636c03c84acd519f291b
--- /dev/null
+++ b/athena/main/athena_views_delegate.h
@@ -0,0 +1,29 @@
+// 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_MAIN_ATHENA_VIEWS_DELEGATE_H_
+#define ATHENA_MAIN_ATHENA_VIEWS_DELEGATE_H_
+
+#include "ui/views/views_delegate.h"
+
+namespace athena {
+
+class AthenaViewsDelegate : public views::ViewsDelegate {
+ public:
+ AthenaViewsDelegate() {}
+ virtual ~AthenaViewsDelegate() {}
+
+ private:
+ // views::ViewsDelegate:
+ virtual void OnBeforeWidgetInit(
+ views::Widget::InitParams* params,
+ views::internal::NativeWidgetDelegate* delegate) OVERRIDE;
+ virtual views::NonClientFrameView* CreateDefaultNonClientFrameView(
+ views::Widget* widget) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(AthenaViewsDelegate);
+};
+
+} // namespace athena
+
+#endif // ATHENA_MAIN_ATHENA_VIEWS_DELEGATE_H_
« no previous file with comments | « athena/main/athena_main.gyp ('k') | athena/main/athena_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698