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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ash/launcher/launcher.cc
diff --git a/ash/launcher/launcher.cc b/ash/launcher/launcher.cc
index f5c9cc7e0c7f1e39bec6e37844291306c243bcf5..85ca55308459306e379e3bbf99613d0c23e9133a 100644
--- a/ash/launcher/launcher.cc
+++ b/ash/launcher/launcher.cc
@@ -139,4 +139,8 @@ int Launcher::GetStatusWidth() {
return delegate_view_->status_width();
}
+internal::LauncherView* Launcher::GetLauncherViewForTest() {
+ 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.
+ widget_->GetContentsView()->child_at(0));
+}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698