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

Side by Side Diff: chrome/browser/chromeos/notifications/balloon_collection_impl.cc

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 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h" 5 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/browser_list.h" 10 #include "chrome/browser/browser_list.h"
11 #include "chrome/browser/chromeos/notifications/balloon_view.h" 11 #include "chrome/browser/chromeos/notifications/balloon_view.h"
12 #include "chrome/browser/chromeos/notifications/notification_panel.h" 12 #include "chrome/browser/chromeos/notifications/notification_panel.h"
13 #include "chrome/browser/notifications/balloon.h" 13 #include "chrome/browser/notifications/balloon.h"
14 #include "chrome/browser/notifications/notification.h" 14 #include "chrome/browser/notifications/notification.h"
15 #include "chrome/browser/ui/window_sizer.h" 15 #include "chrome/browser/ui/window_sizer.h"
16 #include "chrome/common/notification_service.h" 16 #include "chrome/common/notification_service.h"
17 #include "gfx/rect.h" 17 #include "ui/gfx/rect.h"
18 #include "gfx/size.h" 18 #include "ui/gfx/size.h"
19 19
20 namespace { 20 namespace {
21 21
22 // Margin from the edge of the work area 22 // Margin from the edge of the work area
23 const int kVerticalEdgeMargin = 5; 23 const int kVerticalEdgeMargin = 5;
24 const int kHorizontalEdgeMargin = 5; 24 const int kHorizontalEdgeMargin = 5;
25 25
26 } // namespace 26 } // namespace
27 27
28 namespace chromeos { 28 namespace chromeos {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 new_balloon->set_view(new chromeos::BalloonViewImpl(false, true, false)); 160 new_balloon->set_view(new chromeos::BalloonViewImpl(false, true, false));
161 return new_balloon; 161 return new_balloon;
162 } 162 }
163 163
164 } // namespace chromeos 164 } // namespace chromeos
165 165
166 // static 166 // static
167 BalloonCollection* BalloonCollection::Create() { 167 BalloonCollection* BalloonCollection::Create() {
168 return new chromeos::BalloonCollectionImpl(); 168 return new chromeos::BalloonCollectionImpl();
169 } 169 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/notifications/balloon_collection_impl.h ('k') | chrome/browser/chromeos/notifications/balloon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698