| 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/webui/conflicts_ui.h" | 5 #include "chrome/browser/ui/webui/conflicts_ui.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
| 25 #include "content/public/browser/notification_service.h" | 25 #include "content/public/browser/notification_service.h" |
| 26 #include "content/public/browser/user_metrics.h" | 26 #include "content/public/browser/user_metrics.h" |
| 27 #include "content/public/browser/web_contents.h" | 27 #include "content/public/browser/web_contents.h" |
| 28 #include "content/public/browser/web_ui.h" | 28 #include "content/public/browser/web_ui.h" |
| 29 #include "content/public/browser/web_ui_message_handler.h" | 29 #include "content/public/browser/web_ui_message_handler.h" |
| 30 #include "grit/browser_resources.h" | 30 #include "grit/browser_resources.h" |
| 31 #include "grit/chromium_strings.h" | 31 #include "grit/chromium_strings.h" |
| 32 #include "grit/generated_resources.h" | 32 #include "grit/generated_resources.h" |
| 33 #include "grit/theme_resources.h" | 33 #include "grit/theme_resources.h" |
| 34 #include "grit/theme_resources_standard.h" | |
| 35 #include "ui/base/l10n/l10n_util.h" | 34 #include "ui/base/l10n/l10n_util.h" |
| 36 #include "ui/base/layout.h" | 35 #include "ui/base/layout.h" |
| 37 #include "ui/base/resource/resource_bundle.h" | 36 #include "ui/base/resource/resource_bundle.h" |
| 38 | 37 |
| 39 using content::UserMetricsAction; | 38 using content::UserMetricsAction; |
| 40 using content::WebContents; | 39 using content::WebContents; |
| 41 using content::WebUIMessageHandler; | 40 using content::WebUIMessageHandler; |
| 42 | 41 |
| 43 namespace { | 42 namespace { |
| 44 | 43 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 } | 171 } |
| 173 | 172 |
| 174 // static | 173 // static |
| 175 base::RefCountedMemory* ConflictsUI::GetFaviconResourceBytes() { | 174 base::RefCountedMemory* ConflictsUI::GetFaviconResourceBytes() { |
| 176 return static_cast<base::RefCountedMemory*>( | 175 return static_cast<base::RefCountedMemory*>( |
| 177 ResourceBundle::GetSharedInstance().LoadDataResourceBytes( | 176 ResourceBundle::GetSharedInstance().LoadDataResourceBytes( |
| 178 IDR_CONFLICT_FAVICON, ui::SCALE_FACTOR_NONE)); | 177 IDR_CONFLICT_FAVICON, ui::SCALE_FACTOR_NONE)); |
| 179 } | 178 } |
| 180 | 179 |
| 181 #endif | 180 #endif |
| OLD | NEW |