| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/memory/scoped_vector.h" | 8 #include "base/memory/scoped_vector.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/tab_contents/tab_util.h" | 11 #include "chrome/browser/tab_contents/tab_util.h" |
| 11 #include "chrome/browser/ui/browser_navigator.h" | 12 #include "chrome/browser/ui/browser_navigator.h" |
| 12 #include "chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h" | 13 #include "chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h" |
| 13 #include "chrome/browser/ui/intents/web_intent_picker.h" | 14 #include "chrome/browser/ui/intents/web_intent_picker.h" |
| 14 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" | 15 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" |
| 15 #include "chrome/browser/ui/intents/web_intent_picker_model.h" | 16 #include "chrome/browser/ui/intents/web_intent_picker_model.h" |
| 16 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h" | 17 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h" |
| 17 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 18 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
| 18 #include "chrome/browser/ui/views/constrained_window_views.h" | 19 #include "chrome/browser/ui/views/constrained_window_views.h" |
| 19 #include "chrome/browser/ui/views/frame/browser_view.h" | 20 #include "chrome/browser/ui/views/frame/browser_view.h" |
| (...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 views::ImageButton* close_button = new views::ImageButton(this); | 1164 views::ImageButton* close_button = new views::ImageButton(this); |
| 1164 close_button->SetImage(views::CustomButton::BS_NORMAL, | 1165 close_button->SetImage(views::CustomButton::BS_NORMAL, |
| 1165 rb.GetImageSkiaNamed(IDR_CLOSE_BAR)); | 1166 rb.GetImageSkiaNamed(IDR_CLOSE_BAR)); |
| 1166 close_button->SetImage(views::CustomButton::BS_HOT, | 1167 close_button->SetImage(views::CustomButton::BS_HOT, |
| 1167 rb.GetImageSkiaNamed(IDR_CLOSE_BAR_H)); | 1168 rb.GetImageSkiaNamed(IDR_CLOSE_BAR_H)); |
| 1168 close_button->SetImage(views::CustomButton::BS_PUSHED, | 1169 close_button->SetImage(views::CustomButton::BS_PUSHED, |
| 1169 rb.GetImageSkiaNamed(IDR_CLOSE_BAR_P)); | 1170 rb.GetImageSkiaNamed(IDR_CLOSE_BAR_P)); |
| 1170 return close_button; | 1171 return close_button; |
| 1171 } | 1172 } |
| 1172 #endif | 1173 #endif |
| OLD | NEW |