#include "chrome/browser/ui/browser_window_state.h"
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_types.h"
#include "ui/gfx/geometry/rect.h"
namespace chrome {
namespace internal {
namespace {
constexpr int kDefaultWidth = …;
constexpr int kDefaultHeight = …;
constexpr int kDefaultOffsetX = …;
constexpr int kDefaultOffsetY = …;
constexpr ui::WindowShowState kDefaultShowState = …;
class BrowserWindowStateTest : public testing::Test { … };
}
TEST_F(BrowserWindowStateTest, NoCommandLineLeavesParamsIntact) { … }
TEST_F(BrowserWindowStateTest, InvalidCommandLineLeavesParamsIntact) { … }
TEST_F(BrowserWindowStateTest, WindowSizeOverridesShowState) { … }
TEST_F(BrowserWindowStateTest, WindowPositionOverridesShowState) { … }
}
}