/external/chromium_org/extensions/browser/app_window/ |
D | app_window.cc | 140 const int AppWindow::BoundsSpecification::kUnspecifiedPosition = INT_MIN; 142 AppWindow::BoundsSpecification::BoundsSpecification() in BoundsSpecification() 145 AppWindow::BoundsSpecification::~BoundsSpecification() {} in ~BoundsSpecification() 147 void AppWindow::BoundsSpecification::ResetBounds() { in ResetBounds() 153 AppWindow::CreateParams::CreateParams() in CreateParams() 154 : window_type(AppWindow::WINDOW_TYPE_DEFAULT), in CreateParams() 155 frame(AppWindow::FRAME_CHROME), in CreateParams() 169 AppWindow::CreateParams::~CreateParams() {} in ~CreateParams() 171 gfx::Rect AppWindow::CreateParams::GetInitialWindowBounds( in GetInitialWindowBounds() 199 gfx::Size AppWindow::CreateParams::GetContentMinimumSize( in GetContentMinimumSize() [all …]
|
D | app_window_registry.h | 28 class AppWindow; variable 37 virtual void OnAppWindowAdded(AppWindow* app_window); 39 virtual void OnAppWindowIconChanged(AppWindow* app_window); 41 virtual void OnAppWindowRemoved(AppWindow* app_window); 45 virtual void OnAppWindowHidden(AppWindow* app_window); 47 virtual void OnAppWindowShown(AppWindow* app_window); 53 typedef std::list<AppWindow*> AppWindowList; 65 void AddAppWindow(AppWindow* app_window); 66 void AppWindowIconChanged(AppWindow* app_window); 68 void AppWindowActivated(AppWindow* app_window); [all …]
|
D | app_window_registry.cc | 34 AppWindow* app_window = in GetWindowKeyForRenderViewHost() 50 void AppWindowRegistry::Observer::OnAppWindowAdded(AppWindow* app_window) { in OnAppWindowAdded() 54 AppWindow* app_window) { in OnAppWindowIconChanged() 57 void AppWindowRegistry::Observer::OnAppWindowRemoved(AppWindow* app_window) { in OnAppWindowRemoved() 60 void AppWindowRegistry::Observer::OnAppWindowHidden(AppWindow* app_window) { in OnAppWindowHidden() 63 void AppWindowRegistry::Observer::OnAppWindowShown(AppWindow* app_window) { in OnAppWindowShown() 85 void AppWindowRegistry::AddAppWindow(AppWindow* app_window) { in AddAppWindow() 90 void AppWindowRegistry::AppWindowIconChanged(AppWindow* app_window) { in AppWindowIconChanged() 95 void AppWindowRegistry::AppWindowActivated(AppWindow* app_window) { in AppWindowActivated() 99 void AppWindowRegistry::AppWindowHidden(AppWindow* app_window) { in AppWindowHidden() [all …]
|
D | app_window_interactive_uitest.cc | 14 void CheckAlwaysOnTopToFullscreen(AppWindow* window) { in CheckAlwaysOnTopToFullscreen() 30 void CheckNormalToFullscreen(AppWindow* window) { in CheckNormalToFullscreen() 40 void CheckFullscreenToAlwaysOnTop(AppWindow* window) { in CheckFullscreenToAlwaysOnTop() 70 AppWindow* window = CreateTestAppWindow("{ \"alwaysOnTop\": true }"); in IN_PROC_BROWSER_TEST_F() 90 AppWindow* window = CreateTestAppWindow("{}"); in IN_PROC_BROWSER_TEST_F() 109 AppWindow* window = CreateTestAppWindow("{ \"state\": \"fullscreen\" }"); in IN_PROC_BROWSER_TEST_F() 126 AppWindow* window = CreateTestAppWindow("{}"); in IN_PROC_BROWSER_TEST_F() 144 AppWindow* window = CreateTestAppWindow( in IN_PROC_BROWSER_TEST_F() 171 AppWindow* window = CreateTestAppWindow("{ \"alwaysOnTop\": true }"); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/extensions/browser/api/app_current_window_internal/ |
D | app_current_window_internal_api.h | 12 class AppWindow; variable 19 virtual bool RunWithWindow(AppWindow* window) = 0; 33 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 44 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 55 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 66 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 77 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 88 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 99 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; 110 virtual bool RunWithWindow(AppWindow* window) OVERRIDE; [all …]
|
D | app_current_window_internal_api.cc | 128 AppWindow* window = registry->GetAppWindowForRenderViewHost(rvh); in RunSync() 136 bool AppCurrentWindowInternalFocusFunction::RunWithWindow(AppWindow* window) { in RunWithWindow() 142 AppWindow* window) { in RunWithWindow() 148 AppWindow* window) { in RunWithWindow() 154 AppWindow* window) { in RunWithWindow() 159 bool AppCurrentWindowInternalRestoreFunction::RunWithWindow(AppWindow* window) { in RunWithWindow() 165 AppWindow* window) { in RunWithWindow() 171 AppWindow* window) { in RunWithWindow() 176 bool AppCurrentWindowInternalShowFunction::RunWithWindow(AppWindow* window) { in RunWithWindow() 180 window->Show(AppWindow::SHOW_INACTIVE); in RunWithWindow() [all …]
|
/external/chromium_org/chrome/browser/apps/ |
D | app_browsertest_util.h | 32 static AppWindow* GetFirstAppWindowForBrowser(Browser* browser); 63 AppWindow* GetFirstAppWindow(); 66 AppWindow* GetFirstAppWindowForApp(const std::string& app_id); 92 AppWindow* CreateAppWindow(const Extension* extension); 94 AppWindow* CreateAppWindowFromParams(const Extension* extension, 95 const AppWindow::CreateParams& params); 98 void CloseAppWindow(AppWindow* window); 102 AppWindow* window, 113 AppWindow* CreateTestAppWindow(const std::string& window_create_options);
|
D | app_browsertest_util.cc | 51 AppWindow* PlatformAppBrowserTest::GetFirstAppWindowForBrowser( in GetFirstAppWindowForBrowser() 120 AppWindow* window = GetFirstAppWindow(); in GetFirstAppWindowWebContents() 127 AppWindow* PlatformAppBrowserTest::GetFirstAppWindow() { in GetFirstAppWindow() 131 AppWindow* PlatformAppBrowserTest::GetFirstAppWindowForApp( in GetFirstAppWindowForApp() 197 AppWindow* PlatformAppBrowserTest::CreateAppWindow(const Extension* extension) { in CreateAppWindow() 198 return CreateAppWindowFromParams(extension, AppWindow::CreateParams()); in CreateAppWindow() 201 AppWindow* PlatformAppBrowserTest::CreateAppWindowFromParams( in CreateAppWindowFromParams() 203 const AppWindow::CreateParams& params) { in CreateAppWindowFromParams() 204 AppWindow* window = in CreateAppWindowFromParams() 205 new AppWindow(browser()->profile(), in CreateAppWindowFromParams() [all …]
|
/external/chromium_org/extensions/renderer/resources/ |
D | app_window_custom_bindings.js | 206 var AppWindow = function() { class 214 AppWindow.prototype[key] = value; 216 AppWindow.prototype.moveTo = $Function.bind(window.moveTo, window); class 217 AppWindow.prototype.resizeTo = $Function.bind(window.resizeTo, window); 218 AppWindow.prototype.contentWindow = window; 219 AppWindow.prototype.onClosed = new Event(); 220 AppWindow.prototype.onWindowFirstShownForTests = new Event(); 221 AppWindow.prototype.close = function() { 224 AppWindow.prototype.getBounds = function() { 233 AppWindow.prototype.setBounds = function(bounds) { [all …]
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | multi_profile_app_window_launcher_controller.h | 24 virtual void OnAppWindowAdded(extensions::AppWindow* app_window) OVERRIDE; 25 virtual void OnAppWindowRemoved(extensions::AppWindow* app_window) OVERRIDE; 26 virtual void OnAppWindowShown(extensions::AppWindow* app_window) OVERRIDE; 27 virtual void OnAppWindowHidden(extensions::AppWindow* app_window) OVERRIDE; 30 typedef std::vector<extensions::AppWindow*> AppWindowList; 35 bool UserHasAppOnActiveDesktop(extensions::AppWindow* app_window);
|
D | app_window_launcher_item_controller.cc | 28 using extensions::AppWindow; 37 gfx::Image GetAppListIcon(AppWindow* app_window) { in GetAppListIcon() 56 bool IsAppWindowVisible(AppWindow* app_window) { in IsAppWindowVisible() 67 bool operator()(AppWindow* app_window) const { in operator ()() 90 AppWindow* app_window, in AddAppWindow() 139 AppWindow* window_to_activate = in Activate() 166 AppWindow* parent_window = NULL; in InstallApp() 203 AppWindow* app_window = *iter; in GetApplicationList() 230 AppWindow* panel = app_windows_.front(); in ItemSelected() 242 AppWindow* window_to_show = last_active_app_window_ in ItemSelected() [all …]
|
D | app_window_launcher_item_controller.h | 21 class AppWindow; variable 46 void AddAppWindow(extensions::AppWindow* app_window, 86 typedef std::list<extensions::AppWindow*> AppWindowList; 88 void ShowAndActivateOrMinimize(extensions::AppWindow* app_window); 92 void ActivateOrAdvanceToNextAppWindow(extensions::AppWindow* window_to_show); 98 extensions::AppWindow* last_active_app_window_;
|
D | multi_profile_app_window_launcher_controller.cc | 47 extensions::AppWindow* app_window = *it; in ActiveUserChanged() 57 extensions::AppWindow* app_window = *it; in ActiveUserChanged() 78 extensions::AppWindow* app_window) { in OnAppWindowAdded() 94 extensions::AppWindow* app_window) { in OnAppWindowShown() 117 extensions::AppWindow* app_window) { in OnAppWindowHidden() 129 extensions::AppWindow* app_window) { in OnAppWindowRemoved() 145 extensions::AppWindow* app_window) { in UserHasAppOnActiveDesktop() 155 extensions::AppWindow* other_window = *it; in UserHasAppOnActiveDesktop()
|
D | app_window_launcher_controller.h | 26 class AppWindow; variable 54 extensions::AppWindow* app_window) OVERRIDE; 55 virtual void OnAppWindowShown(extensions::AppWindow* app_window) OVERRIDE; 56 virtual void OnAppWindowHidden(extensions::AppWindow* app_window) OVERRIDE; 67 void RegisterApp(extensions::AppWindow* app_window);
|
/external/chromium_org/chrome/browser/ui/apps/ |
D | chrome_app_window_client.h | 28 virtual extensions::AppWindow* CreateAppWindow( 32 extensions::AppWindow* window, 33 const extensions::AppWindow::CreateParams& params) OVERRIDE; 40 extensions::AppWindow* window, 41 const extensions::AppWindow::CreateParams& params);
|
D | chrome_app_window_client.cc | 32 extensions::AppWindow* ChromeAppWindowClient::CreateAppWindow( in CreateAppWindow() 38 return new extensions::AppWindow( in CreateAppWindow() 46 extensions::AppWindow* window, in CreateNativeAppWindow() 47 const extensions::AppWindow::CreateParams& params) { in CreateNativeAppWindow()
|
/external/chromium_org/remoting/webapp/js_proto/ |
D | chrome_proto.js | 345 var AppWindow = function() { class 360 AppWindow.prototype.close = function() {}; 361 AppWindow.prototype.drawAttention = function() {}; 362 AppWindow.prototype.maximize = function() {}; 363 AppWindow.prototype.minimize = function() {}; 364 AppWindow.prototype.restore = function() {}; 365 AppWindow.prototype.show = function() {}; 366 AppWindow.prototype.fullscreen = function() {}; 368 AppWindow.prototype.isFullscreen = function() {}; 370 AppWindow.prototype.isMaximized = function() {}; [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/apps/ |
D | native_app_window_cocoa_browsertest.mm | 58 extensions::AppWindow* app_window = windows.front(); 62 extensions::AppWindow* other_app_window = windows.back(); 70 app_window->Show(extensions::AppWindow::SHOW_ACTIVE); 91 app_window->Show(extensions::AppWindow::SHOW_ACTIVE); 102 app_window->Show(extensions::AppWindow::SHOW_ACTIVE); 166 // Test that NativeAppWindow and AppWindow fullscreen state is updated when 173 extensions::AppWindow* app_window = GetFirstAppWindow(); 178 EXPECT_EQ(extensions::AppWindow::FULLSCREEN_TYPE_NONE, 189 extensions::AppWindow::FULLSCREEN_TYPE_OS); 199 EXPECT_EQ(extensions::AppWindow::FULLSCREEN_TYPE_NONE, [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/test/ |
D | app_window_waiter.h | 16 class AppWindow; variable 29 extensions::AppWindow* Wait(); 32 virtual void OnAppWindowAdded(extensions::AppWindow* app_window) OVERRIDE; 38 extensions::AppWindow* window_;
|
/external/chromium_org/extensions/browser/api/app_window/ |
D | app_window_api.h | 31 AppWindow::CreateParams* params, 34 AppWindow::Frame GetFrameFromString(const std::string& frame_string); 37 AppWindow::CreateParams* create_params); 38 void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params);
|
D | app_window_api.cc | 89 AppWindow::BoundsSpecification* create_spec) { in CopyBoundsSpec() 141 AppWindow::CreateParams create_params; in RunAsync() 162 AppWindow* window = AppWindowRegistry::Get(browser_context()) in RunAsync() 176 window->Show(AppWindow::SHOW_INACTIVE); in RunAsync() 178 window->Show(AppWindow::SHOW_ACTIVE); in RunAsync() 200 create_params.window_type = AppWindow::WINDOW_TYPE_PANEL; in RunAsync() 235 if (create_params.frame != AppWindow::FRAME_NONE) { in RunAsync() 297 AppWindow* app_window = in RunAsync() 334 AppWindow::CreateParams* params, in GetBoundsSpec() 444 AppWindow::Frame AppWindowCreateFunction::GetFrameFromString( in GetFrameFromString() [all …]
|
/external/chromium_org/apps/ |
D | app_lifetime_monitor.cc | 18 using extensions::AppWindow; 83 void AppLifetimeMonitor::OnAppWindowRemoved(AppWindow* app_window) { in OnAppWindowRemoved() 88 void AppLifetimeMonitor::OnAppWindowHidden(AppWindow* app_window) { in OnAppWindowHidden() 93 void AppLifetimeMonitor::OnAppWindowShown(AppWindow* app_window) { in OnAppWindowShown() 94 if (app_window->window_type() != AppWindow::WINDOW_TYPE_DEFAULT) in OnAppWindowShown() 109 bool AppLifetimeMonitor::HasVisibleAppWindows(AppWindow* app_window) const { in HasVisibleAppWindows()
|
D | app_lifetime_monitor.h | 64 virtual void OnAppWindowRemoved(extensions::AppWindow* app_window) OVERRIDE; 65 virtual void OnAppWindowHidden(extensions::AppWindow* app_window) OVERRIDE; 66 virtual void OnAppWindowShown(extensions::AppWindow* app_window) OVERRIDE; 71 bool HasVisibleAppWindows(extensions::AppWindow* app_window) const;
|
/external/chromium_org/components/native_app_window/ |
D | native_app_window_views.cc | 23 using extensions::AppWindow; 35 void NativeAppWindowViews::Init(AppWindow* app_window, in Init() 36 const AppWindow::CreateParams& create_params) { in Init() 38 frameless_ = create_params.frame == AppWindow::FRAME_NONE; in Init() 62 AppWindow* app_window, in InitializeWindow() 63 const AppWindow::CreateParams& create_params) { in InitializeWindow() 230 return app_window_->window_type() == AppWindow::WINDOW_TYPE_V1_PANEL; in ShouldShowWindowTitle() 234 return app_window_->window_type() == AppWindow::WINDOW_TYPE_V1_PANEL; in ShouldShowWindowIcon() 339 widget_->SetFullscreen(fullscreen_types != AppWindow::FULLSCREEN_TYPE_NONE); in SetFullscreen() 365 draggable_region_.reset(AppWindow::RawDraggableRegionsToSkRegion(regions)); in UpdateDraggableRegions()
|
/external/chromium_org/chrome/browser/apps/app_shim/ |
D | extension_app_shim_handler_mac.h | 31 class AppWindow; variable 75 static void QuitAppForWindow(extensions::AppWindow* app_window); 77 static void HideAppForWindow(extensions::AppWindow* app_window); 79 static void FocusAppForWindow(extensions::AppWindow* app_window); 84 extensions::AppWindow* app_window); 89 extensions::AppWindow* app_window,
|