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

Unified Diff: components/mus/test_wm/test_wm.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: components/mus/test_wm/test_wm.cc
diff --git a/components/mus/test_wm/test_wm.cc b/components/mus/test_wm/test_wm.cc
index ef4748fbe040230d6401d9e6f1bef7679c57402f..32a16503eb847e345e80ea43728a8f0808d30070 100644
--- a/components/mus/test_wm/test_wm.cc
+++ b/components/mus/test_wm/test_wm.cc
@@ -7,7 +7,6 @@
#include "components/mus/public/cpp/window_tree_connection.h"
#include "components/mus/public/cpp/window_tree_delegate.h"
#include "components/mus/public/interfaces/window_manager_factory.mojom.h"
-#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "services/shell/public/cpp/application_runner.h"
@@ -55,10 +54,6 @@ class TestWM : public shell::ShellClient,
root_ = root;
mus::mojom::FrameDecorationValuesPtr frame_decoration_values =
mus::mojom::FrameDecorationValues::New();
- frame_decoration_values->normal_client_area_insets =
- mojo::Insets::From(gfx::Insets());
- frame_decoration_values->maximized_client_area_insets =
- mojo::Insets::From(gfx::Insets());
frame_decoration_values->max_title_bar_button_width = 0;
window_manager_client_->SetFrameDecorationValues(
std::move(frame_decoration_values));

Powered by Google App Engine
This is Rietveld 408576698