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

Unified Diff: chrome/browser/ui/views/ash/chrome_shell_delegate.cc

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
index 53632a6e2a3d9c582cc18f99fe02f30958a99a7f..7982438c472d018820cfb02b592da418c26c3ae3 100644
--- a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
@@ -83,25 +83,10 @@ ChromeShellDelegate::CreateAppListViewDelegate() {
}
std::vector<aura::Window*> ChromeShellDelegate::GetCycleWindowList(
- CycleSource source,
- CycleOrder order) const {
- std::vector<aura::Window*> windows;
- switch (order) {
- case ORDER_MRU:
- // BrowserList maintains a list of browsers sorted by activity.
- windows = GetBrowserWindows(BrowserList::begin_last_active(),
- BrowserList::end_last_active());
- break;
- case ORDER_LINEAR:
- // Just return windows in creation order.
- windows = GetBrowserWindows(BrowserList::begin(),
- BrowserList::end());
- break;
- default:
- NOTREACHED();
- break;
- }
- return windows;
+ CycleSource source) const {
+ // BrowserList maintains a list of browsers sorted by activity.
+ return GetBrowserWindows(BrowserList::begin_last_active(),
+ BrowserList::end_last_active());
}
void ChromeShellDelegate::StartPartialScreenshot(
@@ -124,8 +109,3 @@ ash::SystemTrayDelegate* ChromeShellDelegate::CreateSystemTrayDelegate(
return NULL;
#endif
}
-
-bool ChromeShellDelegate::GetOverrideWindowMode(
- ash::Shell::WindowMode* window_mode) {
- return false;
-}
« no previous file with comments | « chrome/browser/ui/views/ash/chrome_shell_delegate.h ('k') | chrome/browser/ui/views/ash/multiple_window_indicator_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698