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

Side by Side Diff: chrome/browser/chromeos/cros_stubs_aura.cc

Issue 8355042: aura: Use the existing notification system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 years, 1 month 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/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chromeos/login/screen_locker.h" 5 #include "chrome/browser/chromeos/login/screen_locker.h"
6 #include "chrome/browser/chromeos/notifications/system_notification.h" 6 #include "chrome/browser/chromeos/notifications/system_notification.h"
7 #include "chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h" 7 #include "chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h"
8 #include "chrome/browser/ui/views/frame/browser_view.h" 8 #include "chrome/browser/ui/views/frame/browser_view.h"
9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
10 #include "chrome/browser/notifications/balloon_collection.h" 10 #include "chrome/browser/notifications/balloon_collection.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // static 195 // static
196 void ScreenLocker::InitClass() { 196 void ScreenLocker::InitClass() {
197 NOTIMPLEMENTED(); 197 NOTIMPLEMENTED();
198 } 198 }
199 199
200 void ScreenLocker::ScreenLockReady() { 200 void ScreenLocker::ScreenLockReady() {
201 NOTIMPLEMENTED(); 201 NOTIMPLEMENTED();
202 } 202 }
203 203
204 } // namespace chromeos 204 } // namespace chromeos
205
206 class BalloonCollectionStub : public BalloonCollection {
207 public:
208 BalloonCollectionStub() {}
209 virtual ~BalloonCollectionStub() {}
210 private:
211 void Add(const Notification& notification, Profile* profile) {}
212 bool RemoveById(const std::string& id) { return true; }
213 bool RemoveBySourceOrigin(const GURL& source_origin) { return true; }
214 void RemoveAll() {}
215 bool HasSpace() const { return true; }
216 void ResizeBalloon(Balloon* balloon, const gfx::Size& size) {}
217 void SetPositionPreference(PositionPreference position) {}
218 void DisplayChanged() {}
219 void OnBalloonClosed(Balloon* source) {}
220 const Balloons& GetActiveBalloons() { return balloons_; }
221
222 Balloons balloons_;
223 };
224
225 // static
226 BalloonCollection* BalloonCollection::Create() {
227 return new BalloonCollectionStub;
228 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/notifications/balloon_collection_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698