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

Unified Diff: blimp/client/app/linux/blimp_display_manager.cc

Issue 1653553002: blimp: Use remote client LayerTreeHost in the BlimpCompositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Run tests for linux only for now. Created 4 years, 10 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 | « blimp/client/app/android/blimp_view.cc ('k') | blimp/client/feature/compositor/blimp_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/linux/blimp_display_manager.cc
diff --git a/blimp/client/app/linux/blimp_display_manager.cc b/blimp/client/app/linux/blimp_display_manager.cc
index 42c93a698593ee4b0578216446669181e46d1c05..89855046ec62f11402c25078a2469458c15817ae 100644
--- a/blimp/client/app/linux/blimp_display_manager.cc
+++ b/blimp/client/app/linux/blimp_display_manager.cc
@@ -27,7 +27,6 @@ BlimpDisplayManager::BlimpDisplayManager(
platform_window_(new ui::X11Window(this)) {
platform_window_->SetBounds(gfx::Rect(window_size));
platform_window_->Show();
- blimp_compositor_->SetSize(window_size);
tab_control_feature_->SetSizeAndScale(platform_window_->GetBounds().size(),
device_pixel_ratio_);
@@ -37,7 +36,6 @@ BlimpDisplayManager::BlimpDisplayManager(
BlimpDisplayManager::~BlimpDisplayManager() {}
void BlimpDisplayManager::OnBoundsChanged(const gfx::Rect& new_bounds) {
- blimp_compositor_->SetSize(new_bounds.size());
tab_control_feature_->SetSizeAndScale(new_bounds.size(), device_pixel_ratio_);
}
« no previous file with comments | « blimp/client/app/android/blimp_view.cc ('k') | blimp/client/feature/compositor/blimp_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698