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

Side by Side Diff: chrome/browser/notifications/balloon_collection_impl.h

Issue 8656004: Remove more totally obvious usage of: defined(TOUCH_UI) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 // Handles the visible notification (or balloons). 5 // Handles the visible notification (or balloons).
6 6
7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_
8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void DisplayChanged() OVERRIDE; 56 virtual void DisplayChanged() OVERRIDE;
57 virtual void OnBalloonClosed(Balloon* source) OVERRIDE; 57 virtual void OnBalloonClosed(Balloon* source) OVERRIDE;
58 virtual const Balloons& GetActiveBalloons() OVERRIDE; 58 virtual const Balloons& GetActiveBalloons() OVERRIDE;
59 59
60 // content::NotificationObserver interface. 60 // content::NotificationObserver interface.
61 virtual void Observe(int type, 61 virtual void Observe(int type,
62 const content::NotificationSource& source, 62 const content::NotificationSource& source,
63 const content::NotificationDetails& details) OVERRIDE; 63 const content::NotificationDetails& details) OVERRIDE;
64 64
65 // MessageLoopForUI::Observer interface. 65 // MessageLoopForUI::Observer interface.
66 #if defined(OS_WIN) || defined(TOUCH_UI) || defined(USE_AURA) 66 #if defined(OS_WIN) || defined(USE_AURA)
67 virtual base::EventStatus WillProcessEvent( 67 virtual base::EventStatus WillProcessEvent(
68 const base::NativeEvent& event) OVERRIDE; 68 const base::NativeEvent& event) OVERRIDE;
69 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; 69 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
70 #elif defined(TOOLKIT_USES_GTK) 70 #elif defined(TOOLKIT_USES_GTK)
71 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; 71 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE;
72 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; 72 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE;
73 #endif 73 #endif
74 74
75 protected: 75 protected:
76 // Calculates layout values for the balloons including 76 // Calculates layout values for the balloons including
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 base::WeakPtrFactory<BalloonCollectionImpl> reposition_factory_; 212 base::WeakPtrFactory<BalloonCollectionImpl> reposition_factory_;
213 213
214 // Is the balloon collection currently listening for UI events? 214 // Is the balloon collection currently listening for UI events?
215 bool added_as_message_loop_observer_; 215 bool added_as_message_loop_observer_;
216 #endif 216 #endif
217 217
218 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl); 218 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl);
219 }; 219 };
220 220
221 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ 221 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698