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

Unified Diff: athena/home/athena_start_page_view.h

Issue 511053003: Shrink the search box if the width is too small. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 4 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
Index: athena/home/athena_start_page_view.h
diff --git a/athena/home/athena_start_page_view.h b/athena/home/athena_start_page_view.h
index 09c30d7667a3c605591015e91a3988fd4a6eb71f..cb4cca63425ca50a0bd155a93c3e494adfc05163 100644
--- a/athena/home/athena_start_page_view.h
+++ b/athena/home/athena_start_page_view.h
@@ -5,6 +5,7 @@
#ifndef ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
#define ATHENA_HOME_ATHENA_START_PAGE_VIEW_H_
+#include "athena/athena_export.h"
#include "base/memory/weak_ptr.h"
#include "ui/app_list/views/search_box_view_delegate.h"
#include "ui/views/view.h"
@@ -17,8 +18,9 @@ class SearchResultListView;
namespace athena {
-class AthenaStartPageView : public views::View,
- public app_list::SearchBoxViewDelegate {
+class ATHENA_EXPORT AthenaStartPageView
+ : public views::View,
+ public app_list::SearchBoxViewDelegate {
public:
explicit AthenaStartPageView(app_list::AppListViewDelegate* delegate);
virtual ~AthenaStartPageView();
@@ -34,6 +36,8 @@ class AthenaStartPageView : public views::View,
void SetLayoutStateWithAnimation(float layout_state);
private:
+ friend class AthenaStartPageViewTest;
+
static const char kViewClassName[];
// A struct which bundles the layout data of subviews.

Powered by Google App Engine
This is Rietveld 408576698