Home
last modified time | relevance | path

Searched refs:WindowSizer (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/ui/
Dwindow_sizer.cc18 class DefaultStateProvider : public WindowSizer::StateProvider {
113 WindowSizer::MonitorInfoProvider::MonitorInfoProvider() {} in MonitorInfoProvider()
115 WindowSizer::MonitorInfoProvider::~MonitorInfoProvider() {} in ~MonitorInfoProvider()
120 WindowSizer::WindowSizer( in WindowSizer() function in WindowSizer
126 WindowSizer::~WindowSizer() { in ~WindowSizer()
134 void WindowSizer::GetBrowserWindowBounds(const std::string& app_name, in GetBrowserWindowBounds()
139 const WindowSizer sizer(new DefaultStateProvider(app_name, browser), in GetBrowserWindowBounds()
147 WindowSizer::WindowSizer(const std::string& app_name) { in WindowSizer() function in WindowSizer
152 void WindowSizer::Init(StateProvider* state_provider, in Init()
158 void WindowSizer::DetermineWindowBounds(const gfx::Rect& specified_bounds, in DetermineWindowBounds()
[all …]
Dwindow_sizer.h27 class WindowSizer {
33 WindowSizer(StateProvider* state_provider,
35 virtual ~WindowSizer();
139 explicit WindowSizer(const std::string& app_name);
181 DISALLOW_COPY_AND_ASSIGN(WindowSizer);
Dwindow_sizer_linux.cc18 const int WindowSizer::kWindowTilePixels = 10;
22 class DefaultMonitorInfoProvider : public WindowSizer::MonitorInfoProvider {
104 WindowSizer::MonitorInfoProvider*
105 WindowSizer::CreateDefaultMonitorInfoProvider() { in CreateDefaultMonitorInfoProvider()
110 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) { in GetDefaultPopupOrigin()
Dwindow_sizer_win.cc13 const int WindowSizer::kWindowTilePixels = 10;
17 class DefaultMonitorInfoProvider : public WindowSizer::MonitorInfoProvider {
79 WindowSizer::MonitorInfoProvider*
80 WindowSizer::CreateDefaultMonitorInfoProvider() { in CreateDefaultMonitorInfoProvider()
85 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) { in GetDefaultPopupOrigin()
Dwindow_sizer_mac.mm14 const int WindowSizer::kWindowTilePixels = 22;
18 class DefaultMonitorInfoProvider : public WindowSizer::MonitorInfoProvider {
22 // Overridden from WindowSizer::MonitorInfoProvider:
115 WindowSizer::MonitorInfoProvider*
116 WindowSizer::CreateDefaultMonitorInfoProvider() {
121 gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size) {
Dwindow_sizer_unittest.cc40 static int kWindowTilePixels = WindowSizer::kWindowTilePixels;
44 class TestMonitorInfoProvider : public WindowSizer::MonitorInfoProvider {
103 class TestStateProvider : public WindowSizer::StateProvider {
175 WindowSizer sizer(sp, mip); in GetWindowBounds()
Dbrowser.cc801 WindowSizer::GetBrowserWindowBounds(app_name_, restored_bounds, this, in GetSavedWindowBounds()
820 WindowSizer::GetBrowserWindowBounds(app_name_, restored_bounds, this, in GetSavedMaximizedState()
/external/chromium/chrome/browser/ui/views/
Dchrome_views_delegate.cc72 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_info_provider( in SaveWindowPlacement()
73 WindowSizer::CreateDefaultMonitorInfoProvider()); in SaveWindowPlacement()
/external/chromium/chrome/browser/ui/views/bubble/
Dborder_contents.cc76 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_provider( in GetMonitorBounds()
77 WindowSizer::CreateDefaultMonitorInfoProvider()); in GetMonitorBounds()
/external/chromium/chrome/browser/notifications/
Dballoon_collection_impl.cc371 scoped_ptr<WindowSizer::MonitorInfoProvider> info_provider( in RefreshSystemMetrics()
372 WindowSizer::CreateDefaultMonitorInfoProvider()); in RefreshSystemMetrics()
/external/chromium/chrome/browser/ui/panels/
Dpanel_manager.cc64 scoped_ptr<WindowSizer::MonitorInfoProvider> info_provider( in OnDisplayChanged()
65 WindowSizer::CreateDefaultMonitorInfoProvider()); in OnDisplayChanged()
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_window_gtk.cc1858 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_info_provider( in SaveWindowPosition()
1859 WindowSizer::CreateDefaultMonitorInfoProvider()); in SaveWindowPosition()
/external/chromium/chrome/browser/extensions/
Dextension_tabs_module.cc405 WindowSizer::GetBrowserWindowBounds(std::string(), gfx::Rect(), in RunImpl()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc1500 window_rect.set_origin(WindowSizer::GetDefaultPopupOrigin(size));
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller.mm280 windowRect.set_origin(WindowSizer::GetDefaultPopupOrigin(size));