OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <string> | 5 #include <string> |
6 | 6 |
7 #include "ash/session_state_delegate.h" | 7 #include "ash/session_state_delegate.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/shell/example_factory.h" | 9 #include "ash/shell/example_factory.h" |
10 #include "ash/shell/toplevel_window.h" | 10 #include "ash/shell/toplevel_window.h" |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 } | 316 } |
317 | 317 |
318 virtual void OpenHelp() OVERRIDE { | 318 virtual void OpenHelp() OVERRIDE { |
319 // Nothing needs to be done. | 319 // Nothing needs to be done. |
320 } | 320 } |
321 | 321 |
322 virtual void OpenFeedback() OVERRIDE { | 322 virtual void OpenFeedback() OVERRIDE { |
323 // Nothing needs to be done. | 323 // Nothing needs to be done. |
324 } | 324 } |
325 | 325 |
| 326 virtual void OnRightButtonClicked() OVERRIDE { |
| 327 NOTIMPLEMENTED(); |
| 328 } |
| 329 |
326 virtual void ShowForProfileByPath( | 330 virtual void ShowForProfileByPath( |
327 const base::FilePath& profile_path) OVERRIDE { | 331 const base::FilePath& profile_path) OVERRIDE { |
328 // Nothing needs to be done. | 332 // Nothing needs to be done. |
329 } | 333 } |
330 | 334 |
331 virtual content::WebContents* GetStartPageContents() OVERRIDE { | 335 virtual content::WebContents* GetStartPageContents() OVERRIDE { |
332 return NULL; | 336 return NULL; |
333 } | 337 } |
334 | 338 |
335 app_list::AppListModel* model_; | 339 app_list::AppListModel* model_; |
336 Users users_; | 340 Users users_; |
337 | 341 |
338 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); | 342 DISALLOW_COPY_AND_ASSIGN(ExampleAppListViewDelegate); |
339 }; | 343 }; |
340 | 344 |
341 } // namespace | 345 } // namespace |
342 | 346 |
343 app_list::AppListViewDelegate* CreateAppListViewDelegate() { | 347 app_list::AppListViewDelegate* CreateAppListViewDelegate() { |
344 return new ExampleAppListViewDelegate; | 348 return new ExampleAppListViewDelegate; |
345 } | 349 } |
346 | 350 |
347 } // namespace shell | 351 } // namespace shell |
348 } // namespace ash | 352 } // namespace ash |
OLD | NEW |