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

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

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 // Draws the view for the balloons. 5 // Draws the view for the balloons.
6 6
7 #include "chrome/browser/chromeos/notifications/notification_panel.h" 7 #include "chrome/browser/chromeos/notifications/notification_panel.h"
8 8
9 #include "app/gfx/canvas.h"
10 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
12 #include "chrome/browser/chromeos/notifications/balloon_view.h" 11 #include "chrome/browser/chromeos/notifications/balloon_view.h"
12 #include "gfx/canvas.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "views/background.h" 14 #include "views/background.h"
15 #include "views/controls/scroll_view.h" 15 #include "views/controls/scroll_view.h"
16 #include "views/widget/root_view.h" 16 #include "views/widget/root_view.h"
17 #include "views/widget/widget_gtk.h" 17 #include "views/widget/widget_gtk.h"
18 18
19 namespace { 19 namespace {
20 // Minimum and maximum size of balloon content. 20 // Minimum and maximum size of balloon content.
21 const int kBalloonMinWidth = 300; 21 const int kBalloonMinWidth = 300;
22 const int kBalloonMaxWidth = 300; 22 const int kBalloonMaxWidth = 300;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 int NotificationPanelTester::GetStickyNotificationCount() const { 555 int NotificationPanelTester::GetStickyNotificationCount() const {
556 return panel_->balloon_container_->GetStickyNotificationCount(); 556 return panel_->balloon_container_->GetStickyNotificationCount();
557 } 557 }
558 558
559 int NotificationPanelTester::GetNewNotificationCount() const { 559 int NotificationPanelTester::GetNewNotificationCount() const {
560 return panel_->balloon_container_->GetNewNotificationCount(); 560 return panel_->balloon_container_->GetNewNotificationCount();
561 } 561 }
562 562
563 563
564 } // namespace chromeos 564 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_screen.h ('k') | chrome/browser/chromeos/options/language_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698