/external/chromium/chrome/browser/ui/webui/ |
theme_source_unittest.cc | 7 #include "chrome/browser/ui/webui/theme_source.h" 40 MockThemeSource* theme_source() const { return theme_source_.get(); } function in class:WebUISourcesTest 60 EXPECT_EQ(theme_source()->GetMimeType("css/newtab.css"), "text/css"); 61 EXPECT_EQ(theme_source()->GetMimeType("css/newtab.css?foo"), "text/css"); 62 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png"); 68 theme_source()->StartDataRequest("IDR_THEME_FRAME_INCOGNITO", true, 1); 70 EXPECT_EQ(theme_source()->result_request_id_, 1); 71 EXPECT_GT(theme_source()->result_data_size_, min); 73 theme_source()->StartDataRequest("IDR_THEME_TOOLBAR", true, 2); 74 EXPECT_EQ(theme_source()->result_request_id_, 2) [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
theme_source_unittest.cc | 9 #include "chrome/browser/ui/webui/theme_source.h" 25 ThemeSource* theme_source() const { return theme_source_.get(); } function in class:WebUISourcesTest 29 theme_source()->StartDataRequest(source, -1, -1, callback_); 61 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css"), "text/css"); 62 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css?foo"), 64 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png");
|
/external/chromium_org/chrome/browser/extensions/ |
extension_service.cc | 55 #include "chrome/browser/ui/webui/theme_source.h" 1225 ThemeSource* theme_source = new ThemeSource(profile_); local [all...] |