| 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/extensions/shell_window_views.h" | 5 #include "chrome/browser/ui/views/extensions/shell_window_views.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/extensions/extension_host.h" | 8 #include "chrome/browser/extensions/extension_host.h" |
| 9 #include "chrome/common/extensions/extension.h" | 9 #include "chrome/common/extensions/extension.h" |
| 10 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
| 11 #include "content/public/browser/render_widget_host_view.h" | 11 #include "content/public/browser/render_widget_host_view.h" |
| 12 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
| 13 #include "content/public/browser/web_contents_view.h" | 13 #include "content/public/browser/web_contents_view.h" |
| 14 #include "grit/ui_resources_standard.h" | 14 #include "grit/ui_resources.h" |
| 15 #include "grit/ui_strings.h" // Accessibility names | 15 #include "grit/ui_strings.h" // Accessibility names |
| 16 #include "third_party/skia/include/core/SkPaint.h" | 16 #include "third_party/skia/include/core/SkPaint.h" |
| 17 #include "ui/base/hit_test.h" | 17 #include "ui/base/hit_test.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | 18 #include "ui/base/l10n/l10n_util.h" |
| 19 #include "ui/base/resource/resource_bundle.h" | 19 #include "ui/base/resource/resource_bundle.h" |
| 20 #include "ui/gfx/canvas.h" | 20 #include "ui/gfx/canvas.h" |
| 21 #include "ui/gfx/image/image.h" | 21 #include "ui/gfx/image/image.h" |
| 22 #include "ui/gfx/path.h" | 22 #include "ui/gfx/path.h" |
| 23 #include "ui/gfx/scoped_sk_region.h" | 23 #include "ui/gfx/scoped_sk_region.h" |
| 24 #include "ui/views/controls/button/button.h" | 24 #include "ui/views/controls/button/button.h" |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 window_->UpdateWindowTitle(); | 554 window_->UpdateWindowTitle(); |
| 555 } | 555 } |
| 556 | 556 |
| 557 // static | 557 // static |
| 558 ShellWindow* ShellWindow::CreateImpl(Profile* profile, | 558 ShellWindow* ShellWindow::CreateImpl(Profile* profile, |
| 559 const extensions::Extension* extension, | 559 const extensions::Extension* extension, |
| 560 const GURL& url, | 560 const GURL& url, |
| 561 const ShellWindow::CreateParams& params) { | 561 const ShellWindow::CreateParams& params) { |
| 562 return new ShellWindowViews(profile, extension, url, params); | 562 return new ShellWindowViews(profile, extension, url, params); |
| 563 } | 563 } |
| OLD | NEW |