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

Unified Diff: athena/home/home_card_delegate_view.h

Issue 287253003: Add initial home card impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/home/DEPS ('k') | athena/home/home_card_delegate_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « athena/home/DEPS ('k') | athena/home/home_card_delegate_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698