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

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

Issue 253983002: Use centered app list position whenever virtual keyboard is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed ExampleAppListViewDelegate (caused tree to close). Created 6 years, 7 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 | « no previous file | ash/wm/app_list_controller.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 (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/session_state_delegate.h" 7 #include "ash/session/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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 242
243 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE { 243 virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {
244 // Nothing needs to be done. 244 // Nothing needs to be done.
245 } 245 }
246 246
247 virtual const Users& GetUsers() const OVERRIDE { 247 virtual const Users& GetUsers() const OVERRIDE {
248 return users_; 248 return users_;
249 } 249 }
250 250
251 virtual bool ShouldCenterWindow() const OVERRIDE {
252 return false;
253 }
254
251 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } 255 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); }
252 256
253 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE { 257 virtual app_list::SigninDelegate* GetSigninDelegate() OVERRIDE {
254 return NULL; 258 return NULL;
255 } 259 }
256 260
257 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE { 261 virtual app_list::SpeechUIModel* GetSpeechUI() OVERRIDE {
258 return &speech_ui_; 262 return &speech_ui_;
259 } 263 }
260 264
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 }; 370 };
367 371
368 } // namespace 372 } // namespace
369 373
370 app_list::AppListViewDelegate* CreateAppListViewDelegate() { 374 app_list::AppListViewDelegate* CreateAppListViewDelegate() {
371 return new ExampleAppListViewDelegate; 375 return new ExampleAppListViewDelegate;
372 } 376 }
373 377
374 } // namespace shell 378 } // namespace shell
375 } // namespace ash 379 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/wm/app_list_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698