| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/screen_capture_notification_ui.h" | 5 #include "chrome/browser/ui/screen_capture_notification_ui.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 8 #include "build/build_config.h" |
| 7 #include "chrome/app/chrome_dll_resource.h" | 9 #include "chrome/app/chrome_dll_resource.h" |
| 8 #include "chrome/browser/ui/views/chrome_views_export.h" | 10 #include "chrome/browser/ui/views/chrome_views_export.h" |
| 9 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
| 10 #include "grit/theme_resources.h" | 12 #include "grit/theme_resources.h" |
| 11 #include "ui/base/hit_test.h" | 13 #include "ui/base/hit_test.h" |
| 12 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
| 13 #include "ui/base/resource/resource_bundle.h" | 15 #include "ui/base/resource/resource_bundle.h" |
| 14 #include "ui/gfx/screen.h" | 16 #include "ui/gfx/screen.h" |
| 15 #include "ui/views/bubble/bubble_border.h" | 17 #include "ui/views/bubble/bubble_border.h" |
| 16 #include "ui/views/bubble/bubble_frame_view.h" | 18 #include "ui/views/bubble/bubble_frame_view.h" |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 } | 330 } |
| 329 } | 331 } |
| 330 | 332 |
| 331 } // namespace | 333 } // namespace |
| 332 | 334 |
| 333 scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( | 335 scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( |
| 334 const base::string16& text) { | 336 const base::string16& text) { |
| 335 return scoped_ptr<ScreenCaptureNotificationUI>( | 337 return scoped_ptr<ScreenCaptureNotificationUI>( |
| 336 new ScreenCaptureNotificationUIViews(text)); | 338 new ScreenCaptureNotificationUIViews(text)); |
| 337 } | 339 } |
| OLD | NEW |