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

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

Issue 6382009: views: Move grid_layout files into layout directory. Final Part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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/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 "base/string16.h" 9 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/browser_window.h" 11 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/chromeos/drop_shadow_label.h" 12 #include "chrome/browser/chromeos/drop_shadow_label.h"
13 #include "chrome/browser/chromeos/wm_ipc.h" 13 #include "chrome/browser/chromeos/wm_ipc.h"
14 #include "chrome/browser/chromeos/wm_overview_snapshot.h" 14 #include "chrome/browser/chromeos/wm_overview_snapshot.h"
15 #include "third_party/cros/chromeos_wm_ipc_enums.h" 15 #include "third_party/cros/chromeos_wm_ipc_enums.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
17 #include "ui/base/x/x11_util.h" 17 #include "ui/base/x/x11_util.h"
18 #include "views/border.h" 18 #include "views/border.h"
19 #include "views/grid_layout.h" 19 #include "views/layout/grid_layout.h"
20 #include "views/view.h" 20 #include "views/view.h"
21 21
22 using std::vector; 22 using std::vector;
23 using views::ColumnSet; 23 using views::ColumnSet;
24 using views::GridLayout; 24 using views::GridLayout;
25 using views::View; 25 using views::View;
26 using gfx::Font; 26 using gfx::Font;
27 27
28 #if !defined(OS_CHROMEOS) 28 #if !defined(OS_CHROMEOS)
29 #error This file is only meant to be compiled for ChromeOS 29 #error This file is only meant to be compiled for ChromeOS
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 void WmOverviewTitle::SetTitle(const string16& title) { 108 void WmOverviewTitle::SetTitle(const string16& title) {
109 title_label_->SetText(UTF16ToWide(title)); 109 title_label_->SetText(UTF16ToWide(title));
110 } 110 }
111 111
112 void WmOverviewTitle::SetUrl(const GURL& url) { 112 void WmOverviewTitle::SetUrl(const GURL& url) {
113 url_label_->SetURL(url); 113 url_label_->SetURL(url);
114 } 114 }
115 } // namespace chromeos 115 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/wm_overview_snapshot.cc ('k') | chrome/browser/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698