| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/views/hung_renderer_view.h" | 5 #include "chrome/browser/ui/views/hung_renderer_view.h" |
| 6 | 6 |
| 7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
| 8 #include "base/memory/scoped_vector.h" | |
| 9 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 10 #include "chrome/browser/platform_util.h" | 9 #include "chrome/browser/platform_util.h" |
| 11 #include "chrome/browser/ui/browser_finder.h" | 10 #include "chrome/browser/ui/browser_finder.h" |
| 12 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" | 11 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" |
| 13 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 12 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 14 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" | 13 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" |
| 15 #include "chrome/common/chrome_constants.h" | 14 #include "chrome/common/chrome_constants.h" |
| 16 #include "chrome/common/logging_chrome.h" | 15 #include "chrome/common/logging_chrome.h" |
| 17 #include "chrome/grit/generated_resources.h" | 16 #include "chrome/grit/generated_resources.h" |
| 18 #include "components/constrained_window/constrained_window_views.h" | 17 #include "components/constrained_window/constrained_window_views.h" |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 457 |
| 459 // static | 458 // static |
| 460 void HungRendererDialogView::InitClass() { | 459 void HungRendererDialogView::InitClass() { |
| 461 static bool initialized = false; | 460 static bool initialized = false; |
| 462 if (!initialized) { | 461 if (!initialized) { |
| 463 ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); | 462 ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); |
| 464 frozen_icon_ = rb.GetImageSkiaNamed(IDR_FROZEN_TAB_ICON); | 463 frozen_icon_ = rb.GetImageSkiaNamed(IDR_FROZEN_TAB_ICON); |
| 465 initialized = true; | 464 initialized = true; |
| 466 } | 465 } |
| 467 } | 466 } |
| OLD | NEW |