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

Side by Side Diff: chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc

Issue 10984025: make --desktop-aura work again on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: diff fix per stevenjb Created 8 years, 2 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 | « no previous file | chrome/browser/ui/views/notifications/balloon_collection_views.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 #include "chrome/browser/ui/views/ash/balloon_collection_impl_ash.h" 5 #include "chrome/browser/ui/views/ash/balloon_collection_impl_ash.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/status_area_widget.h" 8 #include "ash/system/status_area_widget.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/notifications/balloon.h" 10 #include "chrome/browser/notifications/balloon.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 Balloon* balloon) { 129 Balloon* balloon) {
130 if (!balloon) 130 if (!balloon)
131 return NULL; 131 return NULL;
132 ExtensionService* extension_service = 132 ExtensionService* extension_service =
133 balloon->profile()->GetExtensionService(); 133 balloon->profile()->GetExtensionService();
134 const GURL& origin = balloon->notification().origin_url(); 134 const GURL& origin = balloon->notification().origin_url();
135 return extension_service->extensions()->GetExtensionOrAppByURL( 135 return extension_service->extensions()->GetExtensionOrAppByURL(
136 ExtensionURLInfo(origin)); 136 ExtensionURLInfo(origin));
137 } 137 }
138 138
139 #if defined(OS_CHROMEOS)
139 // static 140 // static
140 BalloonCollection* BalloonCollection::Create() { 141 BalloonCollection* BalloonCollection::Create() {
141 return new BalloonCollectionImplAsh(); 142 return new BalloonCollectionImplAsh();
142 } 143 }
144 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/notifications/balloon_collection_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698