| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/chromeos/compact_navigation_bar.h" | 5 #include "chrome/browser/chromeos/compact_navigation_bar.h" |
| 6 | 6 |
| 7 #include "app/gfx/canvas.h" | |
| 8 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 9 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 10 #include "app/theme_provider.h" | 9 #include "app/theme_provider.h" |
| 11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 12 #include "chrome/app/chrome_dll_resource.h" | 11 #include "chrome/app/chrome_dll_resource.h" |
| 13 #include "chrome/browser/back_forward_menu_model.h" | 12 #include "chrome/browser/back_forward_menu_model.h" |
| 14 #include "chrome/browser/browser.h" | 13 #include "chrome/browser/browser.h" |
| 15 #include "chrome/browser/browser_theme_provider.h" | 14 #include "chrome/browser/browser_theme_provider.h" |
| 16 #include "chrome/browser/browser_window.h" | 15 #include "chrome/browser/browser_window.h" |
| 17 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profile.h" |
| 18 #include "chrome/browser/tab_contents/tab_contents.h" | 17 #include "chrome/browser/tab_contents/tab_contents.h" |
| 19 #include "chrome/browser/view_ids.h" | 18 #include "chrome/browser/view_ids.h" |
| 20 #include "chrome/browser/views/event_utils.h" | 19 #include "chrome/browser/views/event_utils.h" |
| 21 #include "chrome/browser/views/frame/browser_view.h" | 20 #include "chrome/browser/views/frame/browser_view.h" |
| 22 #include "chrome/browser/views/theme_background.h" | 21 #include "chrome/browser/views/theme_background.h" |
| 22 #include "gfx/canvas.h" |
| 23 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
| 24 #include "grit/theme_resources.h" | 24 #include "grit/theme_resources.h" |
| 25 #include "views/controls/button/button_dropdown.h" | 25 #include "views/controls/button/button_dropdown.h" |
| 26 #include "views/controls/button/image_button.h" | 26 #include "views/controls/button/image_button.h" |
| 27 #include "views/controls/image_view.h" | 27 #include "views/controls/image_view.h" |
| 28 #include "views/controls/native/native_view_host.h" | 28 #include "views/controls/native/native_view_host.h" |
| 29 | 29 |
| 30 namespace chromeos { | 30 namespace chromeos { |
| 31 | 31 |
| 32 // Padding inside each button around the image. | 32 // Padding inside each button around the image. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 case IDC_BACK: | 156 case IDC_BACK: |
| 157 back_->SetEnabled(enabled); | 157 back_->SetEnabled(enabled); |
| 158 break; | 158 break; |
| 159 case IDC_FORWARD: | 159 case IDC_FORWARD: |
| 160 forward_->SetEnabled(enabled); | 160 forward_->SetEnabled(enabled); |
| 161 break; | 161 break; |
| 162 } | 162 } |
| 163 } | 163 } |
| 164 | 164 |
| 165 } // namespace chromeos | 165 } // namespace chromeos |
| OLD | NEW |