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

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: rebase 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 36cd2f7bf7abb9919cf4d4e8a636eb862d2dbe0b..76e1564a7602684b7955d2a2c03534a08d107d54 100644
--- a/components/mus/test_wm/test_wm.cc
+++ b/components/mus/test_wm/test_wm.cc
@@ -14,7 +14,6 @@
#include "services/shell/public/cpp/shell_client.h"
#include "ui/display/display.h"
#include "ui/display/mojo/display_type_converters.h"
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h"
namespace mus {
namespace test {
@@ -56,10 +55,6 @@ class TestWM : public shell::ShellClient,
window_manager_client_->AddActivationParent(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