OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/banners/app_banner_manager_desktop.h" | 5 #include "chrome/browser/banners/app_banner_manager_desktop.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" |
8 #include "chrome/browser/banners/app_banner_data_fetcher_desktop.h" | 9 #include "chrome/browser/banners/app_banner_data_fetcher_desktop.h" |
9 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
10 #include "extensions/common/constants.h" | 11 #include "extensions/common/constants.h" |
11 | 12 |
12 namespace { | 13 namespace { |
13 // TODO(dominickn) Identify the best minimum icon size to guarantee the best | 14 // TODO(dominickn) Identify the best minimum icon size to guarantee the best |
14 // user experience. | 15 // user experience. |
15 int kMinimumIconSize = extension_misc::EXTENSION_ICON_LARGE; | 16 int kMinimumIconSize = extension_misc::EXTENSION_ICON_LARGE; |
16 } // anonymous namespace | 17 } // anonymous namespace |
17 | 18 |
(...skipping 17 matching lines...) Expand all Loading... |
35 kMinimumIconSize, | 36 kMinimumIconSize, |
36 kMinimumIconSize); | 37 kMinimumIconSize); |
37 } | 38 } |
38 | 39 |
39 AppBannerManagerDesktop::AppBannerManagerDesktop( | 40 AppBannerManagerDesktop::AppBannerManagerDesktop( |
40 content::WebContents* web_contents) | 41 content::WebContents* web_contents) |
41 : AppBannerManager(web_contents) { | 42 : AppBannerManager(web_contents) { |
42 } | 43 } |
43 | 44 |
44 } // namespace banners | 45 } // namespace banners |
OLD | NEW |