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

Side by Side Diff: ui/app_list/views/start_page_view.h

Issue 730343008: Add keyboard navigation for start page tiles in experimental app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_search_box_widget_layout
Patch Set: address_comments Created 6 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/app_list/app_list_export.h" 9 #include "ui/app_list/app_list_export.h"
10 #include "ui/app_list/views/search_result_container_view.h" 10 #include "ui/app_list/views/search_result_container_view.h"
(...skipping 24 matching lines...) Expand all
35 35
36 // Called when the start page view is displayed. 36 // Called when the start page view is displayed.
37 void OnShow(); 37 void OnShow();
38 38
39 // Called when the start page view is hidden (while the app list is still 39 // Called when the start page view is hidden (while the app list is still
40 // open). 40 // open).
41 void OnHide(); 41 void OnHide();
42 42
43 // Overridden from views::View: 43 // Overridden from views::View:
44 void Layout() override; 44 void Layout() override;
45 bool OnKeyPressed(const ui::KeyEvent& event) override;
45 46
46 // Overridden from SearchResultContainerView: 47 // Overridden from SearchResultContainerView:
47 void OnContainerSelected(bool from_bottom) override; 48 void OnContainerSelected(bool from_bottom) override;
48 49
49 // Returns search box bounds to use when the start page is active. 50 // Returns search box bounds to use when the start page is active.
50 gfx::Rect GetSearchBoxBounds() const; 51 gfx::Rect GetSearchBoxBounds() const;
51 52
52 // Updates whether the custom page clickzone is visible. 53 // Updates whether the custom page clickzone is visible.
53 void UpdateCustomPageClickzoneVisibility(); 54 void UpdateCustomPageClickzoneVisibility();
54 55
(...skipping 16 matching lines...) Expand all
71 72
72 std::vector<SearchResultTileItemView*> search_result_tile_views_; 73 std::vector<SearchResultTileItemView*> search_result_tile_views_;
73 AllAppsTileItemView* all_apps_button_; 74 AllAppsTileItemView* all_apps_button_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(StartPageView); 76 DISALLOW_COPY_AND_ASSIGN(StartPageView);
76 }; 77 };
77 78
78 } // namespace app_list 79 } // namespace app_list
79 80
80 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_ 81 #endif // UI_APP_LIST_VIEWS_START_PAGE_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/views/start_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698