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

Unified Diff: ash/shell/panel_window.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell/lock_view.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/panel_window.cc
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc
index f092aa8ce376244c9b425e1a6773d303fc54544d..58dbffdc1129879c01d8d5f7e79518e878581fe6 100644
--- a/ash/shell/panel_window.cc
+++ b/ash/shell/panel_window.cc
@@ -31,13 +31,11 @@ views::Widget* PanelWindow::CreatePanelWindow(const gfx::Rect& rect) {
}
PanelWindow::PanelWindow(const std::string& name)
- : name_(name),
- params_(views::Widget::InitParams::TYPE_PANEL) {
+ : name_(name), params_(views::Widget::InitParams::TYPE_PANEL) {
params_.delegate = this;
}
-PanelWindow::~PanelWindow() {
-}
+PanelWindow::~PanelWindow() {}
views::Widget* PanelWindow::CreateWidget() {
views::Widget* widget = new views::Widget;
@@ -47,8 +45,7 @@ views::Widget* PanelWindow::CreateWidget() {
if (params().bounds.height() == 0)
params().bounds.set_height(kDefaultHeight);
params().bounds = ScreenUtil::ConvertRectToScreen(
- Shell::GetTargetRootWindow(),
- params().bounds);
+ Shell::GetTargetRootWindow(), params().bounds);
widget->Init(params());
widget->GetNativeView()->SetName(name_);
« no previous file with comments | « ash/shell/lock_view.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698