/external/chromium_org/chrome/browser/ui/cocoa/apps/ |
chrome_shell_window_delegate_cocoa.mm | 11 apps::ShellWindow* shell_window, 13 return new NativeAppWindowCocoa(shell_window, params);
|
/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, 13 return new NativeAppWindowViews(shell_window, params);
|
/external/chromium_org/apps/ |
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(); 67 void ShellWindowRegistry::AddShellWindow(ShellWindow* shell_window) { 68 BringToFront(shell_window); 69 FOR_EACH_OBSERVER(Observer, observers_, OnShellWindowAdded(shell_window)); 114 ShellWindow* shell_window = *(i++); local 190 ShellWindow* shell_window = registry->GetShellWindowForNativeWindow(window); local [all...] |
app_lifetime_monitor.cc | 7 #include "apps/shell_window.h" 79 void AppLifetimeMonitor::OnShellWindowAdded(ShellWindow* shell_window) { 80 if (shell_window->window_type() != ShellWindow::WINDOW_TYPE_DEFAULT) 84 ShellWindowRegistry::Get(shell_window->profile())-> 85 GetShellWindowsForApp(shell_window->extension_id()); 87 NotifyAppActivated(shell_window->extension_id()); 90 void AppLifetimeMonitor::OnShellWindowIconChanged(ShellWindow* shell_window) {} 92 void AppLifetimeMonitor::OnShellWindowRemoved(ShellWindow* shell_window) { 94 ShellWindowRegistry::Get(shell_window->profile())-> 95 GetShellWindowsForApp(shell_window->extension_id()) [all...] |
shell_window_registry.h | 41 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) = 0; 43 virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window) = 0; 45 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) = 0; 62 void AddShellWindow(apps::ShellWindow* shell_window); 63 void ShellWindowIconChanged(apps::ShellWindow* shell_window); 64 // Called by |shell_window| when it is activated. 65 void ShellWindowActivated(apps::ShellWindow* shell_window); 66 void RemoveShellWindow(apps::ShellWindow* shell_window); 134 // Ensures the specified |shell_window| is included in |shell_windows_|. 135 // 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;
|
apps.gypi | 69 'shell_window.cc', 70 'shell_window.h',
|
app_window_contents.h | 10 #include "apps/shell_window.h"
|
native_app_window.h | 8 #include "apps/shell_window.h"
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
shell_window_launcher_controller.cc | 7 #include "apps/shell_window.h" 20 std::string GetAppLauncherId(ShellWindow* shell_window) { 21 if (shell_window->window_type_is_panel()) 22 return base::StringPrintf("panel:%d", shell_window->session_id().id()); 23 return shell_window->extension()->id(); 59 ShellWindow* shell_window) { 60 aura::Window* window = shell_window->GetNativeWindow(); 64 const std::string app_launcher_id = GetAppLauncherId(shell_window); 69 std::string app_id = shell_window->extension()->id(); 78 controller->AddShellWindow(shell_window, status) [all...] |
shell_window_launcher_item_controller.cc | 8 #include "apps/shell_window.h" 31 bool operator()(ShellWindow* shell_window) const { 32 return shell_window->GetNativeWindow() == window_; 56 ShellWindow* shell_window, 58 if (shell_window->window_type_is_panel() && type() != TYPE_APP_PANEL) 60 shell_windows_.push_front(shell_window); 61 observed_windows_.Add(shell_window->GetNativeWindow()); 89 ShellWindow* shell_window = shell_windows_.front(); local 90 if (shell_window->web_contents()) { 91 string16 title = shell_window->web_contents()->GetTitle() 178 ShellWindow* shell_window = *iter; local 203 ShellWindow* shell_window = *iter; local [all...] |
shell_window_launcher_controller.h | 45 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE; 47 apps::ShellWindow* shell_window) OVERRIDE; 48 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE;
|
shell_window_launcher_item_controller.h | 48 void AddShellWindow(apps::ShellWindow* shell_window, 87 void ShowAndActivateOrMinimize(apps::ShellWindow* shell_window);
|
/external/chromium_org/chrome/browser/extensions/api/app_window/ |
app_window_apitest.cc | 6 #include "apps/shell_window.h" 38 virtual void OnShellWindowAdded(ShellWindow* shell_window) OVERRIDE {} 39 virtual void OnShellWindowIconChanged(ShellWindow* shell_window) OVERRIDE { 42 virtual void OnShellWindowRemoved(ShellWindow* shell_window) OVERRIDE { 119 ShellWindow* shell_window = GetFirstShellWindow(); local 120 ASSERT_TRUE(shell_window); 122 shell_window->app_icon_url().spec().find("icon.png"));
|
app_window_api.cc | 9 #include "apps/shell_window.h" 297 ShellWindow* shell_window = new ShellWindow(profile(), local 300 shell_window->Init(url, 301 new apps::AppWindowContents(shell_window), 305 shell_window->Fullscreen(); 308 shell_window->web_contents()->GetRenderViewHost(); 317 result->Set("id", base::Value::CreateStringValue(shell_window->window_key())); 318 SetCreateResultFromShellWindow(shell_window, result);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
web_auth_flow.cc | 7 #include "apps/shell_window.h" 110 void WebAuthFlow::OnShellWindowAdded(ShellWindow* shell_window) { 111 if (shell_window->window_key() == shell_window_key_ && 112 shell_window->extension()->id() == extension_misc::kIdentityApiUiAppId) { 113 shell_window_ = shell_window; 114 WebContentsObserver::Observe(shell_window->web_contents()); 123 void WebAuthFlow::OnShellWindowIconChanged(ShellWindow* shell_window) {} 125 void WebAuthFlow::OnShellWindowRemoved(ShellWindow* shell_window) { 126 if (shell_window->window_key() == shell_window_key_ && 127 shell_window->extension()->id() == extension_misc::kIdentityApiUiAppId) [all...] |
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;
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
app_session_lifetime.cc | 39 virtual void OnShellWindowAdded(apps::ShellWindow* shell_window) OVERRIDE {} 40 virtual void OnShellWindowIconChanged(apps::ShellWindow* shell_window) 42 virtual void OnShellWindowRemoved(apps::ShellWindow* shell_window) OVERRIDE {
|
/external/chromium_org/chrome/browser/extensions/ |
DEPS | 10 "+apps/shell_window.h",
|
/external/chromium_org/chrome/browser/ui/extensions/ |
apps_metro_handler_win.cc | 7 #include "apps/shell_window.h"
|
/external/chromium_org/chrome/browser/ui/ash/ |
chrome_shell_delegate_browsertest.cc | 8 #include "apps/shell_window.h" 177 apps::ShellWindow* shell_window = CreateShellWindow(extension); local 178 apps::NativeAppWindow* app_window = shell_window->GetBaseWindow(); 179 ASSERT_TRUE(shell_window->GetBaseWindow()->IsActive()); 190 CloseShellWindow(shell_window);
|
/external/chromium_org/chrome/browser/ui/views/ |
select_file_dialog_extension.cc | 8 #include "apps/shell_window.h" 265 ShellWindow* shell_window = NULL; local 273 shell_window = apps::ShellWindowRegistry:: 278 if (shell_window) { 279 if (shell_window->window_type_is_panel()) { 283 base_window = shell_window->GetBaseWindow(); 284 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()) {
|
ash_panel_contents.h | 10 #include "apps/shell_window.h"
|