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

Side by Side Diff: chrome/browser/ui/views/aura/app_list_window.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 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
OLDNEW
1 // Copyright (c) 2011 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/ui/views/aura/app_list_window.h" 5 #include "chrome/browser/ui/views/aura/app_list_window.h"
6 6
7 #include "chrome/browser/profiles/profile_manager.h" 7 #include "chrome/browser/profiles/profile_manager.h"
8 #include "chrome/browser/ui/views/dom_view.h" 8 #include "chrome/browser/ui/views/dom_view.h"
9 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
10 #include "content/browser/renderer_host/render_view_host.h" 10 #include "content/browser/renderer_host/render_view_host.h"
11 #include "content/browser/renderer_host/render_widget_host_view.h" 11 #include "content/browser/renderer_host/render_widget_host_view.h"
12 #include "views/widget/widget.h" 12 #include "ui/views/widget/widget.h"
13 13
14 AppListWindow::AppListWindow( 14 AppListWindow::AppListWindow(
15 const aura_shell::ShellDelegate::SetWidgetCallback& callback) 15 const aura_shell::ShellDelegate::SetWidgetCallback& callback)
16 : widget_(NULL), 16 : widget_(NULL),
17 contents_(NULL), 17 contents_(NULL),
18 callback_(callback) { 18 callback_(callback) {
19 Init(); 19 Init();
20 } 20 }
21 21
22 AppListWindow::~AppListWindow() { 22 AppListWindow::~AppListWindow() {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // unexpected animation. 75 // unexpected animation.
76 widget_params.bounds = gfx::Rect(0, 0, 900, 700); 76 widget_params.bounds = gfx::Rect(0, 0, 900, 700);
77 widget_params.delegate = this; 77 widget_params.delegate = this;
78 widget_params.keep_on_top = true; 78 widget_params.keep_on_top = true;
79 widget_params.transparent = true; 79 widget_params.transparent = true;
80 80
81 widget_ = new views::Widget; 81 widget_ = new views::Widget;
82 widget_->Init(widget_params); 82 widget_->Init(widget_params);
83 widget_->SetContentsView(contents_); 83 widget_->SetContentsView(contents_);
84 } 84 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/aura/app_list_window.h ('k') | chrome/browser/ui/views/aura/status_area_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698