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

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

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/chromeos/volume_bubble.cc ('k') | chrome/browser/chromeos/wm_overview_title.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_snapshot.h" 5 #include "chrome/browser/chromeos/wm_overview_snapshot.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 "chrome/browser/browser.h"
11 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/chromeos/wm_ipc.h" 11 #include "chrome/browser/chromeos/wm_ipc.h"
12 #include "chrome/browser/ui/browser.h"
13 #include "views/controls/image_view.h" 13 #include "views/controls/image_view.h"
14 #include "views/controls/label.h" 14 #include "views/controls/label.h"
15 #include "views/grid_layout.h" 15 #include "views/grid_layout.h"
16 16
17 using std::vector; 17 using std::vector;
18 18
19 #if !defined(OS_CHROMEOS) 19 #if !defined(OS_CHROMEOS)
20 #error This file is only meant to be compiled for ChromeOS 20 #error This file is only meant to be compiled for ChromeOS
21 #endif 21 #endif
22 22
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 gfx::Rect bounds; 62 gfx::Rect bounds;
63 GetBounds(&bounds, false); 63 GetBounds(&bounds, false);
64 bounds.set_width(image.width()); 64 bounds.set_width(image.width());
65 bounds.set_height(image.height()); 65 bounds.set_height(image.height());
66 SetBounds(bounds); 66 SetBounds(bounds);
67 67
68 configured_snapshot_ = true; 68 configured_snapshot_ = true;
69 } 69 }
70 70
71 } // namespace chromeos 71 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/volume_bubble.cc ('k') | chrome/browser/chromeos/wm_overview_title.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698