OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/frame/browser_view.h" | 5 #include "chrome/browser/ui/views/frame/browser_view.h" |
6 | 6 |
| 7 #include <atlbase.h> |
| 8 #include <atlwin.h> |
| 9 |
7 #if defined(OS_LINUX) | 10 #if defined(OS_LINUX) |
8 #include <gtk/gtk.h> | 11 #include <gtk/gtk.h> |
9 #endif | 12 #endif |
10 | 13 |
11 #include "base/command_line.h" | 14 #include "base/command_line.h" |
12 #include "base/i18n/rtl.h" | 15 #include "base/i18n/rtl.h" |
13 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
14 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
15 #include "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
16 #include "chrome/app/chrome_command_ids.h" | 19 #include "chrome/app/chrome_command_ids.h" |
(...skipping 2516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2533 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); | 2536 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); |
2534 | 2537 |
2535 return view; | 2538 return view; |
2536 } | 2539 } |
2537 #endif | 2540 #endif |
2538 | 2541 |
2539 // static | 2542 // static |
2540 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { | 2543 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { |
2541 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); | 2544 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); |
2542 } | 2545 } |
OLD | NEW |