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

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

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/views/app_list_item_view.cc ('k') | ui/app_list/views/app_list_main_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_MAIN_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // |parent| is used to determine the image scale factor to use. 78 // |parent| is used to determine the image scale factor to use.
79 void PreloadIcons(gfx::NativeView parent); 79 void PreloadIcons(gfx::NativeView parent);
80 80
81 // Invoked when |icon_loading_wait_timer_| fires. 81 // Invoked when |icon_loading_wait_timer_| fires.
82 void OnIconLoadingWaitTimer(); 82 void OnIconLoadingWaitTimer();
83 83
84 // Invoked from an IconLoader when icon loading is finished. 84 // Invoked from an IconLoader when icon loading is finished.
85 void OnItemIconLoaded(IconLoader* loader); 85 void OnItemIconLoaded(IconLoader* loader);
86 86
87 // Overridden from views::View: 87 // Overridden from views::View:
88 virtual const char* GetClassName() const OVERRIDE;
88 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE; 89 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE;
89 90
90 // Overridden from AppsGridViewDelegate: 91 // Overridden from AppsGridViewDelegate:
91 virtual void ActivateApp(AppListItem* item, int event_flags) OVERRIDE; 92 virtual void ActivateApp(AppListItem* item, int event_flags) OVERRIDE;
92 virtual void GetShortcutPathForApp( 93 virtual void GetShortcutPathForApp(
93 const std::string& app_id, 94 const std::string& app_id,
94 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE; 95 const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE;
95 96
96 // Overridden from SearchBoxViewDelegate: 97 // Overridden from SearchBoxViewDelegate:
97 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE; 98 virtual void QueryChanged(SearchBoxView* sender) OVERRIDE;
(...skipping 16 matching lines...) Expand all
114 ScopedVector<IconLoader> pending_icon_loaders_; 115 ScopedVector<IconLoader> pending_icon_loaders_;
115 116
116 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; 117 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_;
117 118
118 DISALLOW_COPY_AND_ASSIGN(AppListMainView); 119 DISALLOW_COPY_AND_ASSIGN(AppListMainView);
119 }; 120 };
120 121
121 } // namespace app_list 122 } // namespace app_list
122 123
123 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ 124 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_item_view.cc ('k') | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698