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

Side by Side Diff: ash/launcher/launcher.cc

Issue 9689047: Added notion of currently active app / browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review issues 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 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 #include "ash/launcher/launcher.h" 5 #include "ash/launcher/launcher.h"
6 6
7 #include "ash/focus_cycler.h" 7 #include "ash/focus_cycler.h"
8 #include "ash/launcher/launcher_delegate.h" 8 #include "ash/launcher/launcher_delegate.h"
9 #include "ash/launcher/launcher_model.h" 9 #include "ash/launcher/launcher_model.h"
10 #include "ash/launcher/launcher_view.h" 10 #include "ash/launcher/launcher_view.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 133
134 void Launcher::SetStatusWidth(int width) { 134 void Launcher::SetStatusWidth(int width) {
135 delegate_view_->SetStatusWidth(width); 135 delegate_view_->SetStatusWidth(width);
136 } 136 }
137 137
138 int Launcher::GetStatusWidth() { 138 int Launcher::GetStatusWidth() {
139 return delegate_view_->status_width(); 139 return delegate_view_->status_width();
140 } 140 }
141 141
142 internal::LauncherView* Launcher::GetLauncherViewForTest() {
143 return static_cast<internal::LauncherView*>(
sky 2012/03/14 04:05:44 This is brittle, cache LauncherView as a field (I
DaveMoore 2012/03/14 19:54:58 Done.
144 widget_->GetContentsView()->child_at(0));
145 }
142 } // namespace ash 146 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698