Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: chrome/browser/chromeos/wm_overview_title.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/browser/browser.h" 12 #include "chrome/browser/browser.h"
12 #include "chrome/browser/browser_window.h" 13 #include "chrome/browser/browser_window.h"
13 #include "chrome/browser/chromeos/drop_shadow_label.h" 14 #include "chrome/browser/chromeos/drop_shadow_label.h"
14 #include "chrome/browser/chromeos/wm_ipc.h" 15 #include "chrome/browser/chromeos/wm_ipc.h"
15 #include "chrome/browser/chromeos/wm_overview_snapshot.h" 16 #include "chrome/browser/chromeos/wm_overview_snapshot.h"
16 #include "cros/chromeos_wm_ipc_enums.h" 17 #include "cros/chromeos_wm_ipc_enums.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 18 #include "third_party/skia/include/core/SkBitmap.h"
18 #include "views/border.h" 19 #include "views/border.h"
19 #include "views/grid_layout.h" 20 #include "views/grid_layout.h"
20 #include "views/view.h" 21 #include "views/view.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 107 }
107 108
108 void WmOverviewTitle::SetTitle(const string16& title) { 109 void WmOverviewTitle::SetTitle(const string16& title) {
109 title_label_->SetText(UTF16ToWide(title)); 110 title_label_->SetText(UTF16ToWide(title));
110 } 111 }
111 112
112 void WmOverviewTitle::SetUrl(const GURL& url) { 113 void WmOverviewTitle::SetUrl(const GURL& url) {
113 url_label_->SetURL(url); 114 url_label_->SetURL(url);
114 } 115 }
115 } // namespace chromeos 116 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698