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

Unified Diff: ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
diff --git a/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc b/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
index 72d36daa7bb1f88c3ebfe43f1cc4103081e0c3ca..ab969c45a89937a91d40c141e237906aeae9b200 100644
--- a/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
+++ b/ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
@@ -103,7 +103,7 @@ void VirtualKeyboardTray::SetIconBorderForShelfAlignment() {
// Every time shelf alignment is updated, StatusAreaWidgetDelegate resets the
// border to a non-null border. So, we need to remove it.
if (!ash::MaterialDesignController::IsShelfMaterial())
- tray_container()->SetBorder(views::Border::NullBorder());
+ tray_container()->SetBorder(views::NullBorder());
const gfx::ImageSkia& image = icon_->GetImage();
const int size = GetTrayConstant(VIRTUAL_KEYBOARD_BUTTON_SIZE);
const int vertical_padding = (size - image.height()) / 2;
@@ -115,7 +115,7 @@ void VirtualKeyboardTray::SetIconBorderForShelfAlignment() {
// the shelf.
horizontal_padding += std::max(0, vertical_padding - horizontal_padding);
}
- icon_->SetBorder(views::Border::CreateEmptyBorder(
+ icon_->SetBorder(views::CreateEmptyBorder(
gfx::Insets(vertical_padding, horizontal_padding)));
}
« no previous file with comments | « ash/common/system/chromeos/session/logout_confirmation_dialog.cc ('k') | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698