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/sad_tab_view.h" | 5 #include "chrome/browser/ui/views/sad_tab_view.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "chrome/browser/ui/browser_finder.h" | 11 #include "chrome/browser/ui/browser_finder.h" |
12 #include "chrome/browser/ui/chrome_pages.h" | 12 #include "chrome/browser/ui/chrome_pages.h" |
13 #include "chrome/common/url_constants.h" | 13 #include "chrome/common/url_constants.h" |
14 #include "chrome/grit/generated_resources.h" | 14 #include "chrome/grit/generated_resources.h" |
15 #include "components/feedback/feedback_util.h" | 15 #include "components/feedback/feedback_util.h" |
16 #include "components/strings/grit/components_strings.h" | 16 #include "components/strings/grit/components_strings.h" |
17 #include "content/public/browser/navigation_controller.h" | 17 #include "content/public/browser/navigation_controller.h" |
18 #include "content/public/browser/web_contents.h" | 18 #include "content/public/browser/web_contents.h" |
19 #include "grit/components_strings.h" | |
20 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
21 #include "ui/base/resource/resource_bundle.h" | 20 #include "ui/base/resource/resource_bundle.h" |
22 #include "ui/gfx/color_palette.h" | 21 #include "ui/gfx/color_palette.h" |
23 #include "ui/gfx/paint_vector_icon.h" | 22 #include "ui/gfx/paint_vector_icon.h" |
24 #include "ui/gfx/vector_icons_public.h" | 23 #include "ui/gfx/vector_icons_public.h" |
25 #include "ui/native_theme/common_theme.h" | 24 #include "ui/native_theme/common_theme.h" |
26 #include "ui/native_theme/native_theme.h" | 25 #include "ui/native_theme/native_theme.h" |
27 #include "ui/views/background.h" | 26 #include "ui/views/background.h" |
28 #include "ui/views/controls/button/blue_button.h" | 27 #include "ui/views/controls/button/blue_button.h" |
29 #include "ui/views/controls/image_view.h" | 28 #include "ui/views/controls/image_view.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 } | 318 } |
320 | 319 |
321 namespace chrome { | 320 namespace chrome { |
322 | 321 |
323 SadTab* SadTab::Create(content::WebContents* web_contents, | 322 SadTab* SadTab::Create(content::WebContents* web_contents, |
324 SadTabKind kind) { | 323 SadTabKind kind) { |
325 return new SadTabView(web_contents, kind); | 324 return new SadTabView(web_contents, kind); |
326 } | 325 } |
327 | 326 |
328 } // namespace chrome | 327 } // namespace chrome |
OLD | NEW |