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

Side by Side Diff: ash/shell/app_list.cc

Issue 69813002: Adds the speech recognition button to the app-list searchbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 1 month 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 | « no previous file | chrome/app/generated_resources.grd » ('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 (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
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 ToggleSpeechRecognition() 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
OLDNEW
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698