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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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
11 #include <deque> 11 #include <deque>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "chrome/browser/notifications/balloon_collection.h" 15 #include "chrome/browser/notifications/balloon_collection.h"
16 #include "chrome/browser/notifications/balloon_collection_base.h" 16 #include "chrome/browser/notifications/balloon_collection_base.h"
17 #include "gfx/point.h" 17 #include "ui/gfx/point.h"
18 #include "gfx/rect.h" 18 #include "ui/gfx/rect.h"
19 19
20 // Mac balloons grow from the top down and have close buttons on top, so 20 // Mac balloons grow from the top down and have close buttons on top, so
21 // offsetting is not necessary for easy multiple-closing. Other platforms grow 21 // offsetting is not necessary for easy multiple-closing. Other platforms grow
22 // from the bottom up and have close buttons on top, so it is necessary. 22 // from the bottom up and have close buttons on top, so it is necessary.
23 #if defined(OS_MACOSX) 23 #if defined(OS_MACOSX)
24 #define USE_OFFSETS 0 24 #define USE_OFFSETS 0
25 #else 25 #else
26 #define USE_OFFSETS 1 26 #define USE_OFFSETS 1
27 #endif 27 #endif
28 28
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ScopedRunnableMethodFactory<BalloonCollectionImpl> reposition_factory_; 186 ScopedRunnableMethodFactory<BalloonCollectionImpl> reposition_factory_;
187 187
188 // Is the balloon collection currently listening for UI events? 188 // Is the balloon collection currently listening for UI events?
189 bool added_as_message_loop_observer_; 189 bool added_as_message_loop_observer_;
190 #endif 190 #endif
191 191
192 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl); 192 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl);
193 }; 193 };
194 194
195 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ 195 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon.cc ('k') | chrome/browser/notifications/balloon_collection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698