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/chromeos/wm_overview_title.h" | 5 #include "chrome/browser/chromeos/wm_overview_title.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "app/x11_util.h" | 9 #include "app/x11_util.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/browser_window.h" | 12 #include "chrome/browser/browser_window.h" |
13 #include "chrome/browser/chromeos/drop_shadow_label.h" | 13 #include "chrome/browser/chromeos/drop_shadow_label.h" |
14 #include "chrome/browser/chromeos/wm_ipc.h" | 14 #include "chrome/browser/chromeos/wm_ipc.h" |
15 #include "chrome/browser/chromeos/wm_overview_snapshot.h" | 15 #include "chrome/browser/chromeos/wm_overview_snapshot.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "cros/chromeos_wm_ipc_enums.h" | 17 #include "third_party/cros/chromeos_wm_ipc_enums.h" |
18 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
19 #include "views/border.h" | 19 #include "views/border.h" |
20 #include "views/grid_layout.h" | 20 #include "views/grid_layout.h" |
21 #include "views/view.h" | 21 #include "views/view.h" |
22 | 22 |
23 using std::vector; | 23 using std::vector; |
24 using views::ColumnSet; | 24 using views::ColumnSet; |
25 using views::GridLayout; | 25 using views::GridLayout; |
26 using views::View; | 26 using views::View; |
27 using gfx::Font; | 27 using gfx::Font; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 107 } |
108 | 108 |
109 void WmOverviewTitle::SetTitle(const string16& title) { | 109 void WmOverviewTitle::SetTitle(const string16& title) { |
110 title_label_->SetText(UTF16ToWide(title)); | 110 title_label_->SetText(UTF16ToWide(title)); |
111 } | 111 } |
112 | 112 |
113 void WmOverviewTitle::SetUrl(const GURL& url) { | 113 void WmOverviewTitle::SetUrl(const GURL& url) { |
114 url_label_->SetURL(url); | 114 url_label_->SetURL(url); |
115 } | 115 } |
116 } // namespace chromeos | 116 } // namespace chromeos |
OLD | NEW |