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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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_view.h" 5 #include "chrome/browser/chromeos/notifications/balloon_view.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/menus/simple_menu_model.h" 10 #include "app/menus/simple_menu_model.h"
11 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/chromeos/notifications/balloon_view_host.h" 14 #include "chrome/browser/chromeos/notifications/balloon_view_host.h"
15 #include "chrome/browser/chromeos/notifications/notification_panel.h" 15 #include "chrome/browser/chromeos/notifications/notification_panel.h"
16 #include "chrome/browser/notifications/balloon.h" 16 #include "chrome/browser/notifications/balloon.h"
17 #include "chrome/browser/notifications/desktop_notification_service.h" 17 #include "chrome/browser/notifications/desktop_notification_service.h"
18 #include "chrome/browser/notifications/notification.h" 18 #include "chrome/browser/notifications/notification.h"
19 #include "chrome/browser/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/renderer_host/render_view_host.h" 20 #include "chrome/browser/renderer_host/render_view_host.h"
21 #include "chrome/browser/renderer_host/render_widget_host_view.h" 21 #include "chrome/browser/renderer_host/render_widget_host_view.h"
22 #include "chrome/browser/views/notifications/balloon_view_host.h" 22 #include "chrome/browser/views/notifications/balloon_view_host.h"
23 #include "chrome/common/notification_details.h" 23 #include "chrome/common/notification_details.h"
24 #include "chrome/common/notification_source.h" 24 #include "chrome/common/notification_source.h"
25 #include "chrome/common/notification_type.h" 25 #include "chrome/common/notification_type.h"
26 #include "grit/generated_resources.h" 26 #include "grit/generated_resources.h"
27 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "views/background.h" 28 #include "views/background.h"
29 #include "views/controls/button/button.h" 29 #include "views/controls/button/button.h"
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 service->DenyPermission(balloon_->notification().origin_url()); 340 service->DenyPermission(balloon_->notification().origin_url());
341 } 341 }
342 342
343 gfx::NativeView BalloonViewImpl::GetParentNativeView() { 343 gfx::NativeView BalloonViewImpl::GetParentNativeView() {
344 RenderWidgetHostView* view = html_contents_->render_view_host()->view(); 344 RenderWidgetHostView* view = html_contents_->render_view_host()->view();
345 DCHECK(view); 345 DCHECK(view);
346 return view->GetNativeView(); 346 return view->GetNativeView();
347 } 347 }
348 348
349 } // namespace chromeos 349 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/network_message_observer.cc ('k') | chrome/browser/chromeos/offline/offline_load_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698