/external/chromium_org/chrome/browser/ui/gtk/apps/ |
chrome_shell_window_delegate_gtk.cc | 11 apps::ShellWindow* shell_window, 13 return new NativeAppWindowGtk(shell_window, params);
|
/external/chromium_org/chrome/browser/ui/views/apps/ |
chrome_shell_window_delegate_views.cc | 11 apps::ShellWindow* shell_window, 14 window->Init(shell_window, params);
|
chrome_shell_window_delegate_views_win.cc | 11 apps::ShellWindow* shell_window, 14 window->Init(shell_window, params);
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
multi_profile_shell_window_launcher_controller.cc | 7 #include "apps/shell_window.h" 45 apps::ShellWindow* shell_window = *it; local 46 if (!multi_user_util::IsProfileFromActiveUser(shell_window->profile()) && 47 IsRegisteredApp(shell_window->GetNativeWindow())) 48 UnregisterApp(shell_window->GetNativeWindow()); 52 apps::ShellWindow* shell_window = *it; local 53 if (multi_user_util::IsProfileFromActiveUser(shell_window->profile()) && 54 !IsRegisteredApp(shell_window->GetNativeWindow())) 68 apps::ShellWindow* shell_window) { 69 if (!ControlsWindow(shell_window->GetNativeWindow()) [all...] |
shell_window_launcher_controller.cc | 7 #include "apps/shell_window.h" 25 std::string GetAppLauncherId(ShellWindow* shell_window) { 26 if (shell_window->window_type_is_panel()) 27 return base::StringPrintf("panel:%d", shell_window->session_id().id()); 28 return shell_window->extension()->id(); 87 ShellWindow* shell_window) { 88 if (!ControlsWindow(shell_window->GetNativeWindow())) 90 RegisterApp(shell_window); 94 ShellWindow* shell_window) { 95 if (!ControlsWindow(shell_window->GetNativeWindow()) [all...] |
multi_profile_shell_window_launcher_controller.h | 24 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE; 25 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE;
|
shell_window_launcher_item_controller.cc | 7 #include "apps/shell_window.h" 35 scoped_ptr<gfx::Image> GetAppListIcon(ShellWindow* shell_window) { 41 if (shell_window->app_icon().IsEmpty()) 45 skia::ImageOperations::Resize(*shell_window->app_icon().ToSkBitmap(), 58 bool operator()(ShellWindow* shell_window) const { 59 return shell_window->GetNativeWindow() == window_; 83 ShellWindow* shell_window, 85 if (shell_window->window_type_is_panel() && type() != TYPE_APP_PANEL) 87 shell_windows_.push_front(shell_window); 88 observed_windows_.Add(shell_window->GetNativeWindow()) 165 ShellWindow* shell_window = *iter; local 215 ShellWindow* shell_window = shell_windows_.front(); local [all...] |
shell_window_launcher_controller.h | 54 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE; 56 apps::ShellWindow* shell_window) OVERRIDE; 57 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE; 68 void RegisterApp(apps::ShellWindow* shell_window);
|
shell_window_launcher_item_controller.h | 48 void AddShellWindow(apps::ShellWindow* shell_window, 86 void ShowAndActivateOrMinimize(apps::ShellWindow* shell_window);
|
/external/chromium_org/chrome/browser/apps/ |
event_page_browsertest.cc | 32 apps::ShellWindow* shell_window = GetFirstShellWindow(); local 33 ASSERT_TRUE(shell_window); 34 CloseShellWindow(shell_window);
|
/external/chromium_org/apps/ |
app_lifetime_monitor.cc | 7 #include "apps/shell_window.h" 80 void AppLifetimeMonitor::OnShellWindowAdded(ShellWindow* shell_window) { 81 if (shell_window->window_type() != ShellWindow::WINDOW_TYPE_DEFAULT) 85 ShellWindowRegistry::Get(shell_window->profile())-> 86 GetShellWindowsForApp(shell_window->extension_id()); 88 NotifyAppActivated(shell_window->extension_id()); 91 void AppLifetimeMonitor::OnShellWindowIconChanged(ShellWindow* shell_window) {} 93 void AppLifetimeMonitor::OnShellWindowRemoved(ShellWindow* shell_window) { 95 ShellWindowRegistry::Get(shell_window->profile())-> 96 GetShellWindowsForApp(shell_window->extension_id()) [all...] |
shell_window_registry.cc | 6 #include "apps/shell_window.h" 30 apps::ShellWindow* shell_window = local 32 if (!shell_window) 35 if (shell_window->window_key().empty()) 36 return shell_window->web_contents()->GetURL().possibly_invalid_spec(); 38 std::string key = shell_window->extension()->id(); 40 key += shell_window->window_key(); 68 void ShellWindowRegistry::AddShellWindow(ShellWindow* shell_window) { 69 BringToFront(shell_window); 70 FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowAdded(shell_window)); 115 ShellWindow* shell_window = *(i++); local 192 ShellWindow* shell_window = registry->GetShellWindowForNativeWindow(window); local [all...] |
shell_window_registry.h | 35 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) = 0; 37 virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window) = 0; 39 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) = 0; 57 void AddShellWindow(apps::ShellWindow* shell_window); 58 void ShellWindowIconChanged(apps::ShellWindow* shell_window); 59 // Called by |shell_window| when it is activated. 60 void ShellWindowActivated(apps::ShellWindow* shell_window); 61 void RemoveShellWindow(apps::ShellWindow* shell_window); 130 // Ensures the specified |shell_window| is included in |shell_windows_|. 131 // Otherwise adds |shell_window| to the back of |shell_windows_| [all...] |
app_lifetime_monitor.h | 65 virtual void OnShellWindowAdded(ShellWindow* shell_window) OVERRIDE; 66 virtual void OnShellWindowIconChanged(ShellWindow* shell_window) OVERRIDE; 67 virtual void OnShellWindowRemoved(ShellWindow* shell_window) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/ash/ |
accelerator_commands_browsertest.cc | 7 #include "apps/shell_window.h" 285 // Sets |shell_window|'s show state to |initial_show_state_|. 286 void SetToInitialShowState(apps::ShellWindow* shell_window) { 288 shell_window->Maximize(); 290 shell_window->Restore(); 293 // Returns true if |shell_window|'s show state is |initial_show_state_|. 294 bool IsInitialShowState(apps::ShellWindow* shell_window) const { 296 return shell_window->GetBaseWindow()->IsMaximized(); 298 return ui::BaseWindow::IsRestored(*shell_window->GetBaseWindow()); 339 apps::ShellWindow* shell_window = CreateShellWindowFromParams local 364 apps::ShellWindow* shell_window = CreateShellWindowFromParams( local [all...] |
/external/chromium_org/chrome/browser/extensions/api/app_window/ |
app_window_apitest.cc | 5 #include "apps/shell_window.h" 39 virtual void OnShellWindowAdded(ShellWindow* shell_window) OVERRIDE {} 40 virtual void OnShellWindowIconChanged(ShellWindow* shell_window) OVERRIDE { 43 virtual void OnShellWindowRemoved(ShellWindow* shell_window) OVERRIDE { 120 ShellWindow* shell_window = GetFirstShellWindow(); local 121 ASSERT_TRUE(shell_window); 123 shell_window->app_icon_url().spec().find("icon.png"));
|
app_window_api.cc | 8 #include "apps/shell_window.h" 304 ShellWindow* shell_window = new ShellWindow( local 306 shell_window->Init(url, 307 new apps::AppWindowContents(shell_window), 311 shell_window->ForcedFullscreen(); 314 shell_window->web_contents()->GetRenderViewHost(); 323 result->Set("id", new base::StringValue(shell_window->window_key())); 324 SetCreateResultFromShellWindow(shell_window, result);
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
app_session_lifetime.cc | 7 #include "apps/shell_window.h" 52 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE { 56 ash::wm::GetWindowState(shell_window->GetNativeWindow()); 59 virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window) 61 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE {
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
options_handlers_helper.cc | 5 #include "apps/shell_window.h" 27 apps::ShellWindow* shell_window = 30 if (shell_window) { 32 shell_window->GetNativeWindow());
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
web_auth_flow.h | 95 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE; 96 virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window) 98 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE;
|
web_auth_flow.cc | 7 #include "apps/shell_window.h" 112 void WebAuthFlow::OnShellWindowAdded(ShellWindow* shell_window) { 113 if (shell_window->window_key() == shell_window_key_ && 114 shell_window->extension()->id() == extension_misc::kIdentityApiUiAppId) { 115 shell_window_ = shell_window; 116 WebContentsObserver::Observe(shell_window->web_contents()); 125 void WebAuthFlow::OnShellWindowIconChanged(ShellWindow* shell_window) {} 127 void WebAuthFlow::OnShellWindowRemoved(ShellWindow* shell_window) { 128 if (shell_window->window_key() == shell_window_key_ && 129 shell_window->extension()->id() == extension_misc::kIdentityApiUiAppId) [all...] |
/external/chromium_org/apps/app_shim/ |
extension_app_shim_handler_mac.cc | 11 #include "apps/shell_window.h" 230 void ExtensionAppShimHandler::QuitAppForWindow(ShellWindow* shell_window) { 234 Host* host = handler->FindHost(shell_window->profile(), 235 shell_window->extension_id()); 240 ShellWindowRegistry::Get(shell_window->profile())-> 241 CloseAllShellWindowsForApp(shell_window->extension_id()); 245 void ExtensionAppShimHandler::HideAppForWindow(ShellWindow* shell_window) { 249 Profile* profile = shell_window->profile(); 250 Host* host = handler->FindHost(profile, shell_window->extension_id()); 254 SetAppHidden(profile, shell_window->extension_id(), true) [all...] |
extension_app_shim_handler_mac.h | 75 static void QuitAppForWindow(ShellWindow* shell_window); 77 static void HideAppForWindow(ShellWindow* shell_window); 79 static void FocusAppForWindow(ShellWindow* shell_window); 83 static bool RequestUserAttentionForWindow(ShellWindow* shell_window);
|
/external/chromium_org/chrome/browser/ui/views/ |
select_file_dialog_extension.cc | 7 #include "apps/shell_window.h" 284 ShellWindow* shell_window = NULL; local 292 shell_window = apps::ShellWindowRegistry:: 297 if (shell_window) { 298 if (shell_window->window_type_is_panel()) { 302 base_window = shell_window->GetBaseWindow(); 303 web_contents = shell_window->web_contents();
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
ash_panel_contents.cc | 60 ShellWindow* shell_window, Profile* profile) 61 : extensions::WindowController(shell_window->GetBaseWindow(), profile), 62 shell_window_(shell_window), 63 is_active_(shell_window->GetBaseWindow()->IsActive()) {
|