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

Side by Side Diff: chrome/browser/ui/aura/tabs/dock_info_aurax11.cc

Issue 11369220: Move the desktop aura classes into a desktop subdir to make the gyp simpler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « no previous file | chrome/browser/ui/views/chrome_views_delegate.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) 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 "chrome/browser/ui/tabs/dock_info.h" 5 #include "chrome/browser/ui/tabs/dock_info.h"
6 6
7 #include "chrome/browser/ui/host_desktop.h" 7 #include "chrome/browser/ui/host_desktop.h"
8 #include "ui/aura/root_window.h" 8 #include "ui/aura/root_window.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/base/x/x11_util.h" 10 #include "ui/base/x/x11_util.h"
11 #include "ui/views/widget/desktop_root_window_host_linux.h"
12 11
13 #if !defined(USE_ASH) 12 #if !defined(OS_CHROMEOS)
13 #include "ui/views/widget/desktop_aura/desktop_root_window_host_linux.h"
14 #endif
15
16 #if !defined(OS_CHROMEOS)
14 17
15 namespace { 18 namespace {
16 19
17 //////////////////////////////////////////////////////////////////////////////// 20 ////////////////////////////////////////////////////////////////////////////////
18 // BaseWindowFinder 21 // BaseWindowFinder
19 // 22 //
20 // Base class used to locate a window. A subclass need only override 23 // Base class used to locate a window. A subclass need only override
21 // ShouldStopIterating to determine when iteration should stop. 24 // ShouldStopIterating to determine when iteration should stop.
22 class BaseWindowFinder : public ui::EnumerateWindowsDelegate { 25 class BaseWindowFinder : public ui::EnumerateWindowsDelegate {
23 public: 26 public:
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 return false; 201 return false;
199 *bounds = window_->bounds(); 202 *bounds = window_->bounds();
200 return true; 203 return true;
201 } 204 }
202 205
203 void DockInfo::SizeOtherWindowTo(const gfx::Rect& bounds) const { 206 void DockInfo::SizeOtherWindowTo(const gfx::Rect& bounds) const {
204 window_->SetBounds(bounds); 207 window_->SetBounds(bounds);
205 } 208 }
206 209
207 #endif 210 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698