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

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: Only change shape when keyboard enabled (not when it *might* be enabled). 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
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 UseExperimentalAppListPosition() const OVERRIDE;
89 virtual gfx::Rect GetVirtualKeyboardBounds() const OVERRIDE; 90 virtual gfx::Rect GetVirtualKeyboardBounds() const OVERRIDE;
90 virtual void AddObserver( 91 virtual void AddObserver(
91 app_list::AppListViewDelegateObserver* observer) OVERRIDE; 92 app_list::AppListViewDelegateObserver* observer) OVERRIDE;
92 virtual void RemoveObserver( 93 virtual void RemoveObserver(
93 app_list::AppListViewDelegateObserver* observer) OVERRIDE; 94 app_list::AppListViewDelegateObserver* observer) OVERRIDE;
94 95
95 // Overridden from app_list::StartPageObserver: 96 // Overridden from app_list::StartPageObserver:
96 virtual void OnSpeechResult(const base::string16& result, 97 virtual void OnSpeechResult(const base::string16& result,
97 bool is_final) OVERRIDE; 98 bool is_final) OVERRIDE;
98 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE; 99 virtual void OnSpeechSoundLevelChanged(int16 level) OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 ObserverList<app_list::AppListViewDelegateObserver> observers_; 142 ObserverList<app_list::AppListViewDelegateObserver> observers_;
142 143
143 // Used to track the SigninManagers that this instance is observing so that 144 // Used to track the SigninManagers that this instance is observing so that
144 // this instance can be removed as an observer on its destruction. 145 // this instance can be removed as an observer on its destruction.
145 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; 146 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 148 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
148 }; 149 };
149 150
150 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 151 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698