| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/views/constrained_window_win.h" | 5 #include "chrome/browser/views/constrained_window_win.h" |
| 6 | 6 |
| 7 #include "app/gfx/canvas.h" | |
| 8 #include "app/gfx/font.h" | |
| 9 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 11 #include "app/text_elider.h" | 9 #include "app/text_elider.h" |
| 12 #include "app/win_util.h" | 10 #include "app/win_util.h" |
| 13 #include "chrome/app/chrome_dll_resource.h" | 11 #include "chrome/app/chrome_dll_resource.h" |
| 14 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
| 15 #include "chrome/browser/pref_service.h" | 13 #include "chrome/browser/pref_service.h" |
| 16 #include "chrome/browser/profile.h" | 14 #include "chrome/browser/profile.h" |
| 17 #include "chrome/browser/tab_contents/tab_contents.h" | 15 #include "chrome/browser/tab_contents/tab_contents.h" |
| 18 #include "chrome/browser/tab_contents/tab_contents_view.h" | 16 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 19 #include "chrome/browser/toolbar_model.h" | 17 #include "chrome/browser/toolbar_model.h" |
| 20 #include "chrome/browser/views/frame/browser_view.h" | 18 #include "chrome/browser/views/frame/browser_view.h" |
| 21 #include "chrome/browser/window_sizer.h" | 19 #include "chrome/browser/window_sizer.h" |
| 22 #include "chrome/common/chrome_constants.h" | 20 #include "chrome/common/chrome_constants.h" |
| 23 #include "chrome/common/notification_service.h" | 21 #include "chrome/common/notification_service.h" |
| 24 #include "chrome/common/pref_names.h" | 22 #include "chrome/common/pref_names.h" |
| 23 #include "gfx/canvas.h" |
| 24 #include "gfx/font.h" |
| 25 #include "gfx/path.h" | 25 #include "gfx/path.h" |
| 26 #include "gfx/rect.h" | 26 #include "gfx/rect.h" |
| 27 #include "grit/app_resources.h" | 27 #include "grit/app_resources.h" |
| 28 #include "grit/chromium_strings.h" | 28 #include "grit/chromium_strings.h" |
| 29 #include "grit/generated_resources.h" | 29 #include "grit/generated_resources.h" |
| 30 #include "grit/theme_resources.h" | 30 #include "grit/theme_resources.h" |
| 31 #include "net/base/net_util.h" | 31 #include "net/base/net_util.h" |
| 32 #include "views/controls/button/image_button.h" | 32 #include "views/controls/button/image_button.h" |
| 33 #include "views/focus/focus_manager.h" | 33 #include "views/focus/focus_manager.h" |
| 34 #include "views/window/client_view.h" | 34 #include "views/window/client_view.h" |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 | 695 |
| 696 | 696 |
| 697 // static | 697 // static |
| 698 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog( | 698 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog( |
| 699 TabContents* parent, | 699 TabContents* parent, |
| 700 views::WindowDelegate* window_delegate) { | 700 views::WindowDelegate* window_delegate) { |
| 701 ConstrainedWindowWin* window = new ConstrainedWindowWin(parent, | 701 ConstrainedWindowWin* window = new ConstrainedWindowWin(parent, |
| 702 window_delegate); | 702 window_delegate); |
| 703 return window; | 703 return window; |
| 704 } | 704 } |
| OLD | NEW |