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

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

Issue 3402010: Google codestyle prescribes sorting #include filenames within a section.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h" 11 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
12 #include "chrome/browser/chromeos/notifications/balloon_view.h" 12 #include "chrome/browser/chromeos/notifications/balloon_view.h"
13 #include "cros/chromeos_wm_ipc_enums.h"
13 #include "gfx/canvas.h" 14 #include "gfx/canvas.h"
14 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
15 #include "cros/chromeos_wm_ipc_enums.h"
16 #include "views/background.h" 16 #include "views/background.h"
17 #include "views/controls/native/native_view_host.h" 17 #include "views/controls/native/native_view_host.h"
18 #include "views/controls/scroll_view.h" 18 #include "views/controls/scroll_view.h"
19 #include "views/widget/root_view.h" 19 #include "views/widget/root_view.h"
20 #include "views/widget/widget_gtk.h" 20 #include "views/widget/widget_gtk.h"
21 21
22 #define SET_STATE(state) SetState(state, __PRETTY_FUNCTION__) 22 #define SET_STATE(state) SetState(state, __PRETTY_FUNCTION__)
23 23
24 namespace { 24 namespace {
25 // Minimum and maximum size of balloon content. 25 // Minimum and maximum size of balloon content.
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 &origin); 862 &origin);
863 return rect.Contains(gfx::Rect(origin, view->bounds().size())); 863 return rect.Contains(gfx::Rect(origin, view->bounds().size()));
864 } 864 }
865 865
866 866
867 bool NotificationPanelTester::IsActive(const BalloonViewImpl* view) const { 867 bool NotificationPanelTester::IsActive(const BalloonViewImpl* view) const {
868 return panel_->active_ == view; 868 return panel_->active_ == view;
869 } 869 }
870 870
871 } // namespace chromeos 871 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.h ('k') | chrome/browser/chromeos/offline/offline_load_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698