| 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/frame/browser_view.h" | 5 #include "chrome/browser/views/frame/browser_view.h" |
| 6 | 6 |
| 7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include "app/drag_drop_types.h" | 11 #include "app/drag_drop_types.h" |
| 12 #include "app/gfx/canvas.h" | |
| 13 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
| 14 #include "app/os_exchange_data.h" | 13 #include "app/os_exchange_data.h" |
| 15 #include "app/resource_bundle.h" | 14 #include "app/resource_bundle.h" |
| 16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 17 #include "base/i18n/rtl.h" | 16 #include "base/i18n/rtl.h" |
| 18 #include "base/keyboard_codes.h" | 17 #include "base/keyboard_codes.h" |
| 19 #include "base/time.h" | 18 #include "base/time.h" |
| 20 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 21 #include "chrome/app/chrome_dll_resource.h" | 20 #include "chrome/app/chrome_dll_resource.h" |
| 22 #include "chrome/browser/app_modal_dialog_queue.h" | 21 #include "chrome/browser/app_modal_dialog_queue.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #include "chrome/browser/sessions/tab_restore_service.h" | 54 #include "chrome/browser/sessions/tab_restore_service.h" |
| 56 #include "chrome/browser/tab_contents/navigation_entry.h" | 55 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 57 #include "chrome/browser/tab_contents/tab_contents.h" | 56 #include "chrome/browser/tab_contents/tab_contents.h" |
| 58 #include "chrome/browser/tab_contents/tab_contents_view.h" | 57 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 59 #include "chrome/browser/window_sizer.h" | 58 #include "chrome/browser/window_sizer.h" |
| 60 #include "chrome/common/chrome_switches.h" | 59 #include "chrome/common/chrome_switches.h" |
| 61 #include "chrome/common/native_web_keyboard_event.h" | 60 #include "chrome/common/native_web_keyboard_event.h" |
| 62 #include "chrome/common/native_window_notification_source.h" | 61 #include "chrome/common/native_window_notification_source.h" |
| 63 #include "chrome/common/notification_service.h" | 62 #include "chrome/common/notification_service.h" |
| 64 #include "chrome/common/pref_names.h" | 63 #include "chrome/common/pref_names.h" |
| 64 #include "gfx/canvas.h" |
| 65 #include "gfx/scrollbar_size.h" | 65 #include "gfx/scrollbar_size.h" |
| 66 #include "grit/app_resources.h" | 66 #include "grit/app_resources.h" |
| 67 #include "grit/chromium_strings.h" | 67 #include "grit/chromium_strings.h" |
| 68 #include "grit/generated_resources.h" | 68 #include "grit/generated_resources.h" |
| 69 #include "grit/locale_settings.h" | 69 #include "grit/locale_settings.h" |
| 70 #include "grit/theme_resources.h" | 70 #include "grit/theme_resources.h" |
| 71 #include "grit/webkit_resources.h" | 71 #include "grit/webkit_resources.h" |
| 72 #include "views/controls/single_split_view.h" | 72 #include "views/controls/single_split_view.h" |
| 73 #include "views/fill_layout.h" | 73 #include "views/fill_layout.h" |
| 74 #include "views/focus/external_focus_tracker.h" | 74 #include "views/focus/external_focus_tracker.h" |
| (...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); | 2169 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); |
| 2170 | 2170 |
| 2171 return view; | 2171 return view; |
| 2172 } | 2172 } |
| 2173 #endif | 2173 #endif |
| 2174 | 2174 |
| 2175 // static | 2175 // static |
| 2176 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2176 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
| 2177 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2177 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
| 2178 } | 2178 } |
| OLD | NEW |