/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/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_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...] |
/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/apps/ |
shell_window_interactive_uitest.cc | 16 const char kDefaultTestApp[] = "shell_window/generic"; 42 ShellWindow* shell_window = GetFirstShellWindow(); local 43 return shell_window;
|
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...] |
/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/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/file_system/ |
file_system_api.cc | 8 #include "apps/shell_window.h" 548 ShellWindow* shell_window = registry->GetShellWindowForRenderViewHost( local 550 if (!shell_window) { 555 web_contents = shell_window->web_contents(); 669 ShellWindow* shell_window = registry->GetShellWindowForRenderViewHost( local 671 if (!shell_window) { 676 content::WebContents* web_contents = shell_window->web_contents(); [all...] |
/external/chromium_org/chrome/browser/extensions/api/developer_private/ |
developer_private_api.cc | 10 #include "apps/shell_window.h" 648 ShellWindow* shell_window = registry->GetShellWindowForRenderViewHost( local 650 prompt_.reset(new ExtensionInstallPrompt(shell_window->web_contents())); 728 ShellWindow* shell_window = registry->GetShellWindowForRenderViewHost( local 730 if (!shell_window) { 735 service, shell_window->web_contents(), extension); 856 ShellWindow* shell_window = registry->GetShellWindowForRenderViewHost( local 858 if (!shell_window) { 866 new EntryPicker(this, shell_window->web_contents(), picker_type, [all...] |
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_api.cc | 11 #include "apps/shell_window.h" 530 ShellWindow* shell_window = new ShellWindow( local 533 AshPanelContents* ash_panel_contents = new AshPanelContents(shell_window); 534 shell_window->Init(urls[0], ash_panel_contents, create_params); [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_dialog_controller_impl.cc | 11 #include "apps/shell_window.h" 229 apps::ShellWindow* shell_window = local 232 return shell_window->GetBaseWindow(); [all...] |