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

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

Issue 7648043: Include chromeos_wm_ipc_enums.h from third_party/cros_system_api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix check_deps failure Created 9 years, 4 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) 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 // 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 <algorithm> 9 #include <algorithm>
10 10
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 "chrome/common/chrome_notification_types.h" 13 #include "chrome/common/chrome_notification_types.h"
14 #include "content/common/notification_details.h" 14 #include "content/common/notification_details.h"
15 #include "content/common/notification_source.h" 15 #include "content/common/notification_source.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 #include "third_party/cros/chromeos_wm_ipc_enums.h" 17 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/base/resource/resource_bundle.h" 19 #include "ui/base/resource/resource_bundle.h"
20 #include "ui/gfx/canvas.h" 20 #include "ui/gfx/canvas.h"
21 #include "views/background.h" 21 #include "views/background.h"
22 #include "views/controls/native/native_view_host.h" 22 #include "views/controls/native/native_view_host.h"
23 #include "views/controls/scroll_view.h" 23 #include "views/controls/scroll_view.h"
24 #include "views/widget/native_widget_gtk.h" 24 #include "views/widget/native_widget_gtk.h"
25 25
26 #define SET_STATE(state) SetState(state, __PRETTY_FUNCTION__) 26 #define SET_STATE(state) SetState(state, __PRETTY_FUNCTION__)
27 27
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 &origin); 862 &origin);
863 return rect.Contains(gfx::Rect(origin, view->size())); 863 return rect.Contains(gfx::Rect(origin, view->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/login/version_info_updater.cc ('k') | chrome/browser/chromeos/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698