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/l10n_util.h" | 11 #include "app/l10n_util.h" |
12 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
15 #include "base/string_number_conversions.h" | 15 #include "base/string_number_conversions.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
| 17 #include "chrome/app/chrome_command_ids.h" |
17 #include "chrome/app/chrome_dll_resource.h" | 18 #include "chrome/app/chrome_dll_resource.h" |
18 #include "chrome/browser/app_modal_dialog_queue.h" | 19 #include "chrome/browser/app_modal_dialog_queue.h" |
19 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" | 20 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" |
20 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" | 21 #include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
21 #include "chrome/browser/automation/ui_controls.h" | 22 #include "chrome/browser/automation/ui_controls.h" |
22 #include "chrome/browser/bookmarks/bookmark_utils.h" | 23 #include "chrome/browser/bookmarks/bookmark_utils.h" |
23 #include "chrome/browser/browser.h" | 24 #include "chrome/browser/browser.h" |
24 #include "chrome/browser/browser_list.h" | 25 #include "chrome/browser/browser_list.h" |
25 #include "chrome/browser/browser_process.h" | 26 #include "chrome/browser/browser_process.h" |
26 #include "chrome/browser/debugger/devtools_window.h" | 27 #include "chrome/browser/debugger/devtools_window.h" |
(...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2462 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); | 2463 SetAccessibleName(l10n_util::GetString(IDS_PRODUCT_NAME)); |
2463 | 2464 |
2464 return view; | 2465 return view; |
2465 } | 2466 } |
2466 #endif | 2467 #endif |
2467 | 2468 |
2468 // static | 2469 // static |
2469 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2470 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
2470 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2471 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
2471 } | 2472 } |
OLD | NEW |