mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -182,18 +182,18 @@ void ViewsOverlayControls::UpdateControls() {
|
||||
void ViewsOverlayControls::UpdateDraggableRegions(
|
||||
std::vector<CefDraggableRegion>& window_regions) {
|
||||
if (panel_controller_ && panel_controller_->IsVisible()) {
|
||||
window_regions.push_back(CefDraggableRegion(panel_controller_->GetBounds(),
|
||||
/*draggable=*/false));
|
||||
window_regions.emplace_back(panel_controller_->GetBounds(),
|
||||
/*draggable=*/false);
|
||||
}
|
||||
|
||||
if (menu_controller_ && menu_controller_->IsVisible()) {
|
||||
window_regions.push_back(
|
||||
CefDraggableRegion(menu_controller_->GetBounds(), /*draggable=*/false));
|
||||
window_regions.emplace_back(menu_controller_->GetBounds(),
|
||||
/*draggable=*/false);
|
||||
}
|
||||
|
||||
if (location_controller_ && location_controller_->IsVisible()) {
|
||||
window_regions.push_back(CefDraggableRegion(
|
||||
location_controller_->GetBounds(), /*draggable=*/false));
|
||||
window_regions.emplace_back(location_controller_->GetBounds(),
|
||||
/*draggable=*/false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user