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

Unified Diff: panels/panel_bar_test.cc

Issue 6902072: wm: Update a lot of code to use structs from geometry.h. (Closed) Base URL: ssh://gitrw.chromium.org:9222/window_manager.git@master
Patch Set: move override-redirect stacking and visibility into Window Created 9 years, 8 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 | « panels/panel_bar.cc ('k') | panels/panel_container.h » ('j') | window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: panels/panel_bar_test.cc
diff --git a/panels/panel_bar_test.cc b/panels/panel_bar_test.cc
index f43054b593818712bd55ae3f680b3f317c3d2dd0..73ca9552bb533743fc70445d3f7041b02f18aeb6 100644
--- a/panels/panel_bar_test.cc
+++ b/panels/panel_bar_test.cc
@@ -51,7 +51,7 @@ TEST_F(PanelBarTest, Basic) {
// Now create a panel titlebar, and then the content window.
const int initial_titlebar_height = 16;
XWindow titlebar_xid =
- CreatePanelTitlebarWindow(100, initial_titlebar_height);
+ CreatePanelTitlebarWindow(Size(100, initial_titlebar_height));
MockXConnection::WindowInfo* titlebar_info =
xconn_->GetWindowInfoOrDie(titlebar_xid);
SendInitialEventsForWindow(titlebar_xid);
@@ -59,7 +59,7 @@ TEST_F(PanelBarTest, Basic) {
const int initial_content_width = 250;
const int initial_content_height = 400;
XWindow content_xid = CreatePanelContentWindow(
- initial_content_width, initial_content_height, titlebar_xid);
+ Size(initial_content_width, initial_content_height), titlebar_xid);
MockXConnection::WindowInfo* content_info =
xconn_->GetWindowInfoOrDie(content_xid);
SendInitialEventsForWindow(content_xid);
« no previous file with comments | « panels/panel_bar.cc ('k') | panels/panel_container.h » ('j') | window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698