| 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/flash_ui.h" | 5 #include "chrome/browser/ui/webui/flash_ui.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "content/public/browser/plugin_service.h" | 32 #include "content/public/browser/plugin_service.h" |
| 33 #include "content/public/browser/user_metrics.h" | 33 #include "content/public/browser/user_metrics.h" |
| 34 #include "content/public/browser/web_contents.h" | 34 #include "content/public/browser/web_contents.h" |
| 35 #include "content/public/browser/web_ui.h" | 35 #include "content/public/browser/web_ui.h" |
| 36 #include "content/public/browser/web_ui_data_source.h" | 36 #include "content/public/browser/web_ui_data_source.h" |
| 37 #include "content/public/browser/web_ui_message_handler.h" | 37 #include "content/public/browser/web_ui_message_handler.h" |
| 38 #include "content/public/common/content_constants.h" | 38 #include "content/public/common/content_constants.h" |
| 39 #include "content/public/common/webplugininfo.h" | 39 #include "content/public/common/webplugininfo.h" |
| 40 #include "gpu/config/gpu_info.h" | 40 #include "gpu/config/gpu_info.h" |
| 41 #include "grit/browser_resources.h" | 41 #include "grit/browser_resources.h" |
| 42 #include "grit/theme_resources.h" | |
| 43 #include "ui/base/l10n/l10n_util.h" | 42 #include "ui/base/l10n/l10n_util.h" |
| 44 | 43 |
| 45 #if defined(OS_WIN) | 44 #if defined(OS_WIN) |
| 46 #include "base/win/windows_version.h" | 45 #include "base/win/windows_version.h" |
| 47 #endif | 46 #endif |
| 48 | 47 |
| 49 using base::ASCIIToUTF16; | 48 using base::ASCIIToUTF16; |
| 50 using base::UserMetricsAction; | 49 using base::UserMetricsAction; |
| 51 using content::GpuDataManager; | 50 using content::GpuDataManager; |
| 52 using content::PluginService; | 51 using content::PluginService; |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 Profile* profile = Profile::FromWebUI(web_ui); | 392 Profile* profile = Profile::FromWebUI(web_ui); |
| 394 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource()); | 393 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource()); |
| 395 } | 394 } |
| 396 | 395 |
| 397 // static | 396 // static |
| 398 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes( | 397 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes( |
| 399 ui::ScaleFactor scale_factor) { | 398 ui::ScaleFactor scale_factor) { |
| 400 // Use the default icon for now. | 399 // Use the default icon for now. |
| 401 return NULL; | 400 return NULL; |
| 402 } | 401 } |
| OLD | NEW |