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

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.h

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 | « ash/wm/app_list_controller.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 79 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
80 virtual void OpenSettings() OVERRIDE; 80 virtual void OpenSettings() OVERRIDE;
81 virtual void OpenHelp() OVERRIDE; 81 virtual void OpenHelp() OVERRIDE;
82 virtual void OpenFeedback() OVERRIDE; 82 virtual void OpenFeedback() OVERRIDE;
83 virtual void ToggleSpeechRecognition() OVERRIDE; 83 virtual void ToggleSpeechRecognition() OVERRIDE;
84 virtual void ShowForProfileByPath( 84 virtual void ShowForProfileByPath(
85 const base::FilePath& profile_path) OVERRIDE; 85 const base::FilePath& profile_path) OVERRIDE;
86 virtual content::WebContents* GetStartPageContents() OVERRIDE; 86 virtual content::WebContents* GetStartPageContents() OVERRIDE;
87 virtual content::WebContents* GetSpeechRecognitionContents() OVERRIDE; 87 virtual content::WebContents* GetSpeechRecognitionContents() OVERRIDE;
88 virtual const Users& GetUsers() const OVERRIDE; 88 virtual const Users& GetUsers() const OVERRIDE;
89 virtual bool ShouldCenterWindow() const OVERRIDE;
89 virtual void AddObserver( 90 virtual void AddObserver(
90 app_list::AppListViewDelegateObserver* observer) OVERRIDE; 91 app_list::AppListViewDelegateObserver* observer) OVERRIDE;
91 virtual void RemoveObserver( 92 virtual void RemoveObserver(
92 app_list::AppListViewDelegateObserver* observer) OVERRIDE; 93 app_list::AppListViewDelegateObserver* observer) OVERRIDE;
93 94
94 // Overridden from app_list::StartPageObserver: 95 // Overridden from app_list::StartPageObserver:
95 virtual void OnSpeechResult(const base::string16& result, 96 virtual void OnSpeechResult(const base::string16& result,
96 bool is_final) OVERRIDE; 97 bool is_final) OVERRIDE;
97 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE; 98 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE;
98 virtual void OnSpeechRecognitionStateChanged( 99 virtual void OnSpeechRecognitionStateChanged(
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ObserverList<app_list::AppListViewDelegateObserver> observers_; 141 ObserverList<app_list::AppListViewDelegateObserver> observers_;
141 142
142 // Used to track the SigninManagers that this instance is observing so that 143 // Used to track the SigninManagers that this instance is observing so that
143 // this instance can be removed as an observer on its destruction. 144 // this instance can be removed as an observer on its destruction.
144 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; 145 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 147 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
147 }; 148 };
148 149
149 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 150 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/wm/app_list_controller.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698