Searched refs:WindowSizer (Results 1 – 15 of 15) sorted by relevance
/external/chromium/chrome/browser/ui/ |
D | window_sizer.cc | 18 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 …]
|
D | window_sizer.h | 27 class WindowSizer { 33 WindowSizer(StateProvider* state_provider, 35 virtual ~WindowSizer(); 139 explicit WindowSizer(const std::string& app_name); 181 DISALLOW_COPY_AND_ASSIGN(WindowSizer);
|
D | window_sizer_linux.cc | 18 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()
|
D | window_sizer_win.cc | 13 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()
|
D | window_sizer_mac.mm | 14 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) {
|
D | window_sizer_unittest.cc | 40 static int kWindowTilePixels = WindowSizer::kWindowTilePixels; 44 class TestMonitorInfoProvider : public WindowSizer::MonitorInfoProvider { 103 class TestStateProvider : public WindowSizer::StateProvider { 175 WindowSizer sizer(sp, mip); in GetWindowBounds()
|
D | browser.cc | 801 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/ |
D | chrome_views_delegate.cc | 72 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_info_provider( in SaveWindowPlacement() 73 WindowSizer::CreateDefaultMonitorInfoProvider()); in SaveWindowPlacement()
|
/external/chromium/chrome/browser/ui/views/bubble/ |
D | border_contents.cc | 76 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_provider( in GetMonitorBounds() 77 WindowSizer::CreateDefaultMonitorInfoProvider()); in GetMonitorBounds()
|
/external/chromium/chrome/browser/notifications/ |
D | balloon_collection_impl.cc | 371 scoped_ptr<WindowSizer::MonitorInfoProvider> info_provider( in RefreshSystemMetrics() 372 WindowSizer::CreateDefaultMonitorInfoProvider()); in RefreshSystemMetrics()
|
/external/chromium/chrome/browser/ui/panels/ |
D | panel_manager.cc | 64 scoped_ptr<WindowSizer::MonitorInfoProvider> info_provider( in OnDisplayChanged() 65 WindowSizer::CreateDefaultMonitorInfoProvider()); in OnDisplayChanged()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | browser_window_gtk.cc | 1858 scoped_ptr<WindowSizer::MonitorInfoProvider> monitor_info_provider( in SaveWindowPosition() 1859 WindowSizer::CreateDefaultMonitorInfoProvider()); in SaveWindowPosition()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tabs_module.cc | 405 WindowSizer::GetBrowserWindowBounds(std::string(), gfx::Rect(), in RunImpl()
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | browser_view.cc | 1500 window_rect.set_origin(WindowSizer::GetDefaultPopupOrigin(size));
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | browser_window_controller.mm | 280 windowRect.set_origin(WindowSizer::GetDefaultPopupOrigin(size));
|