summaryrefslogtreecommitdiffstats
path: root/apps/apps.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Remove references to WebContentsView::SizeContents from chrome/ and app/erikchen@chromium.org2014-04-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebContentsView::SizeContents was initially introduced as a hack to allow the content module to resize a WebContentsView. This is odd because the embedder should be in full control of the layout of the WebContentsView. Unfortunately, SizeContents started being used as a platform-agnostic way for the embedder to change the size of a WebContentsView. The mac implementation of SizeContents has never been correct. The implementation would work correctly when SizeContents was used by the embedder, but it did not work when used by the content module. See https://code.google.com/p/chromium/issues/detail?id=264207 for details. I changed the mac implementation of SizeContents to be a no-op, which fixed the use of SizeContents from the content module, and broke its usage from the embedder. This CL introduces a new platform agnostic utility method to resize a WebContents. I've replaced all calls to SizeContents from chrome/ and app/ with a call to the new utility method. There is no expected behavioral change on aura, gtk, or android. This should fix the problems that have arisen from my change to the mac implementation of SizeContents. Ideally, the utility method would take a gfx::NativeView as its parameter. Unfortunately, I was unable perform the resizing on a ui::AndroidView*, and I was forced to pass in the whole WebContents to mimic the behavior of WebContentsViewAndroid::SizeContents. BUG=354769 TEST=Follow steps listed in bug. Review URL: https://codereview.chromium.org/209023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262276 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 261559: Create new app_shell.gyp for app_shell targets.rockot@google.com2014-04-041-163/+0
| | | | | | | | | | | | | | | | | | This moves app_shell GYP entries from a chrome.gyp include into a new apps/shell/app_shell.gyp. It also breaks down dependencies with more granularity and separates temporary undesirable app_shell_lib dependencies from acceptable ones. This was reverted due to a bug in the gyp file breaking a builder. app_shell_temporary_deps should not have been a static_library target. BUG=359678 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/225023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261800 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 261559 "Create new app_shell.gyp for app_shell targets."rockot@google.com2014-04-041-0/+163
| | | | | | | | | | | | | | | | | | | | | > Create new app_shell.gyp for app_shell targets. > > This moves app_shell GYP entries from a chrome.gyp include into > a new apps/shell/app_shell.gyp. > > It also breaks down dependencies with more granularity and separates > temporary, undesirable app_shell_lib dependencies from acceptable ones. > > BUG=359678 > TBR=yoz@chromium.org for extensions.gyp > > Review URL: https://codereview.chromium.org/223613005 TBR=rockot@chromium.org Review URL: https://codereview.chromium.org/224963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261595 0039d316-1c4b-4281-b951-d872f2087c98
* Create new app_shell.gyp for app_shell targets.rockot@chromium.org2014-04-031-163/+0
| | | | | | | | | | | | | | | This moves app_shell GYP entries from a chrome.gyp include into a new apps/shell/app_shell.gyp. It also breaks down dependencies with more granularity and separates temporary, undesirable app_shell_lib dependencies from acceptable ones. BUG=359678 TBR=yoz@chromium.org for extensions.gyp Review URL: https://codereview.chromium.org/223613005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261559 0039d316-1c4b-4281-b951-d872f2087c98
* Set msvs_large_pdb on apps_browsertestsscottmg@chromium.org2014-03-311-0/+1
| | | | | | | | | | | | | Looks like there's a number of issues on offical builders on :8011, this seems to be one of them. R=yoz@chromium.org TBR=yoz@chromium.org BUG=358272 Review URL: https://codereview.chromium.org/219973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260643 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce apps API target in //apps and move app.runtime API into itjamescook@chromium.org2014-03-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | This breaks a dependency from //apps onto //chrome, getting us closer to an app_shell build that does not include chrome. * Introduce apps/browser/api and apps/common/api to mirror extensions. * Introduce an apps_api build target. * Hook up schema and function registration in chrome and app_shell. * Move app_runtime_api.h/cc into //apps and switch to apps namespace. * Eliminate AppEventRouter dependencies on Chrome: ** Use ExtensionsBrowserClient to determine if we're in kiosk mode. ** Introduce apps::file_handler_util for GrantedFileEntry (anticipating more code from app_file_handler_util to move there in the future). BUG=357818 TEST=browser_tests *PlatformApp* Review URL: https://codereview.chromium.org/217533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260480 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up repack.py and repack_locale.py usage.aurimas@google.com2014-03-281-12/+2
| | | | | | | | | | | | | | | | - Creates repack_pack.gypi action - Updates all the call-sites of repack.py - Removes chrome_repack_pseudo_locales.gypi to instead use chrome_repack_locales.gypi - Remove unused repack_locales_cmd list BUG=338759 R=tfarina@chromium.org, thakis@chromium.org TBR=asargent@chromium.org, benm@chromium.org, blundell@chromium.org Review URL: https://codereview.chromium.org/216013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260279 0039d316-1c4b-4281-b951-d872f2087c98
* Add explicit generated API header dependencies to app_shell_lib.yoz@chromium.org2014-03-261-0/+2
| | | | | | | | | | | | Also add a missing generated proto dependency to content_browser. It's not completely clear why this fixes this build; however, without it, app_shell_lib consistently fails to build from a clean build. BUG=355443 Review URL: https://codereview.chromium.org/211323008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259654 0039d316-1c4b-4281-b951-d872f2087c98
* app_shell: Add ShellDesktopController.derat@chromium.org2014-03-261-2/+2
| | | | | | | | | | | | | | | | This moves screen/desktop/Aura-related code from ShellBrowserMainParts into a new class, ShellDesktopController. When running on Chrome OS, the new class creates an OutputController and observes it so it can make the Aura root window match the display's resolution. BUG=353200 Review URL: https://codereview.chromium.org/206883004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259495 0039d316-1c4b-4281-b951-d872f2087c98
* Add apps_browsertests target (currently running 0 tests).yoz@chromium.org2014-03-211-4/+48
| | | | | | | | | | Since trybot configurations only really support building test targets, this change adds a test target (that doesn't run any tests) to ensure that app_shell compiles, so that changes that pass the trybots cannot break the main waterfall due to app_shell compile problems. BUG=349631 Review URL: https://codereview.chromium.org/205653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258549 0039d316-1c4b-4281-b951-d872f2087c98
* Split ExtensionWebContentsObserver into base and Chrome implementationsjamescook@chromium.org2014-03-201-0/+2
| | | | | | | | | | | | | | | | | | | | | This allows app_shell to use a simplified ExtensionWebContentsObserver while Chrome maintains its more complex version. * Move ExtensionWebContentsObserver to src/extensions * Introduce ChromeExtensionWebContentsObserver * Delegate out observer creation from ExtensionHost Removing this dependency on Chrome will allow ExtensionHost to move into src/extensions and break another app_shell -> Chrome dependency. BUG=321341 TEST=browser_tests ErrorConsole* and Extension* TBR=stevenjb@chromium.org for mechanical changes to chrome/browser/chromeos TBR=msw@chromium.org for mechanical changes to chrome/browser/ui Review URL: https://codereview.chromium.org/205243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258372 0039d316-1c4b-4281-b951-d872f2087c98
* Move extensions BCKS factory creationrockot@chromium.org2014-03-191-0/+2
| | | | | | | | | | | | | | | | | The list of BCKS factories being poked by ChromeBrowserMainExtraPartsProfiles is quite long and extensions code is the biggest contributor to that length. This moves extensions-related factory references into three new modules (one for //apps, one for //extensions, and one for //c/b/extensions) and condenses Chrome's extensions-related factory creation down to three calls within ChromeBrowserMainExtraPartsProfiles. BUG=352399 TBR=erg@chromium.org (for profiles parts) Review URL: https://codereview.chromium.org/195943018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257936 0039d316-1c4b-4281-b951-d872f2087c98
* Move sockets APIs out of src/chromerockot@chromium.org2014-03-121-1/+1
| | | | | | | | | | | | | | | | | | | This moves sockets APIs out of src/chrome and into src/extensions. The IDLs and function implementations are moved, and the groundwork is set for moving additional APIs. The API tests remain in src/chrome, and several references to src/chrome still remain for permissions/features/manifest stuff. BUG=349787 TBR=erg@chromium.org for profiles change TBR=jar@chromium.org for +net to //extensions/browser/DEPS Review URL: https://codereview.chromium.org/183893041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256456 0039d316-1c4b-4281-b951-d872f2087c98
* [App Shell] Remove chrome_100_percent.pak dependancy.Hokein.Wu@gmail.com2014-03-091-5/+20
| | | | | | | | | | | | Now app::ShellMainDelegate initializes with chrome_100_percent.pak by default. This patch is to remove this dependancy by add all chrome-specific resources to app_shell.pak. BUG=348484 Review URL: https://codereview.chromium.org/176873016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255830 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored app window size constraintstmdiep@chromium.org2014-02-281-0/+2
| | | | | | | | | | | | | | The NativeAppWindow subclasses all depend on the minimum and maximum size constraints state stored in AppWindow. This is problematic when creating a window for the new bounds API. This patch moves the constraints state into the NativeAppWindow. BUG=315471 TEST=browser_tests (AppWindowAPITest.TestSizeConstraints) Review URL: https://codereview.chromium.org/181383012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254119 0039d316-1c4b-4281-b951-d872f2087c98
* Rename BaseNativeAppWindowViews and NativeAppWindowViewsjamescook@chromium.org2014-02-271-2/+2
| | | | | | | | | | | | | * NativeAppWindowViewsWin -> ChromeNativeAppWindowViewsWin * NativeAppWindowViews -> ChromeNativeAppWindowViews * BaseNativeAppWindowViews -> apps::NativeAppWindowViews BUG=345909 TEST=compiles Review URL: https://codereview.chromium.org/181503009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253914 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused AppKeepAliveServicejamescook@chromium.org2014-02-271-4/+0
| | | | | | | | | | | | For app_shell (go/appshell) we need to remove the circular dependencies from src/apps back to src/chrome. AppKeepAliveService has dependencies on Chrome but is unused, so let's delete it instead of fixing it. BUG=326040 TEST=compiles TBR=erg@chromium.org for deleting an unused include from chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc Review URL: https://codereview.chromium.org/172313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253695 0039d316-1c4b-4281-b951-d872f2087c98
* [App Shell] Include all chrome-specific resources in app_shell.pak.Hokein.Wu@gmail.com2014-02-261-3/+7
| | | | | | | | | | | | With this patch, now app_shell only needs its own app_shell.pak resource file. BUG=344974 R=jamescook@chromium.org,tfarina@chromium.org Review URL: https://codereview.chromium.org/174953002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253560 0039d316-1c4b-4281-b951-d872f2087c98
* Add msvs_large_pdb to some more targets that are failing on Official devscottmg@chromium.org2014-02-241-0/+1
| | | | | | | | | | | | | This uses the "pdb workaround" used in other targets that creates a stub pdb file with larger page size using the compiler to do so. (When the linker creates the file it uses a smaller internal page size.) TBR=cpu@chromium.org BUG=346159 Review URL: https://codereview.chromium.org/177423006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252990 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for chrome.app.window.create() to app_shelljamescook@chromium.org2014-02-221-0/+4
| | | | | | | | | | | | | | | | | * Introduce an AppsClient for app_shell * Create an AppsClient for tests * Introduce ShellAppWindowDelegate whose sole purpose is to create a NativeAppWindowViews for windows in app_shell * Extract Chrome-specific code from apps/app_window.cc This is part 2 of 2 and depends on https://codereview.chromium.org/171003004/ BUG=343174 TEST=browser_tests PlatformApp* TBR=sky@chromium.org for chrome/test/base/testing_browser_process.cc Review URL: https://codereview.chromium.org/166833004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252820 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Chrome-specific code from NativeAppWindowViewsjamescook@chromium.org2014-02-221-0/+2
| | | | | | | | | | | | | | | | | | * Extract Chrome code into ChromeNativeAppWindowViews * Introduce apps/ui/views/native_app_window_view.h/cc * Add stubs to NativeAppWindowViews so it can be used in tests and in app_shell. * Move ShapedAppWindowTargeter to apps/ui/views This is part 1 of 2 CLs to allow app_shell to create a NativeAppWindow and show a Hello world app. BUG=343174 TEST=existing browser_tests, specifically PlatformApp* Review URL: https://codereview.chromium.org/171003004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252766 0039d316-1c4b-4281-b951-d872f2087c98
* [App Shell] Introduce app_shell.pakHokein.Wu@gmail.com2014-02-211-0/+30
| | | | | | | | | | | | | | | | This patch is to introduce an app_shell.pak to include dev-tools needed resources, instead of entire content_shell.pak. Next step: Also include chrome-specific needed resources and removing chrome resources.pak. BUG=344974 TEST=launch app_shell with '--remote-debugging-port', and open the debug page. Review URL: https://codereview.chromium.org/173883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252553 0039d316-1c4b-4281-b951-d872f2087c98
* Rename apps::ShellWindow to apps::AppWindowjamescook@chromium.org2014-02-151-8/+8
| | | | | | | | | | | | | | | | | | | * Rename ShellWindowRegistry * Rename ShellWindowGeometryCache * Rename members like shell_window_ to app_window_ * Rename locals like shell_window to app_window BUG=343591 TEST=compiles COLLABORATOR=scheib@chromium.org TBR=skuhne@chromium.org for chrome/browser/ui/ash/launcher TBR=thakis@chromium.org for chrome/browser/ui/cocoa TBR=erg@chromium.org for chrome/browser/ui/gtk TBR=sky@chromium.org for chrome/test Review URL: https://codereview.chromium.org/166573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251542 0039d316-1c4b-4281-b951-d872f2087c98
* ExtensionSystem cleanup part 2yoz@chromium.org2014-02-131-0/+2
| | | | | | | | | | This change introduces separate ExtensionSystemFactories for app shell and for chrome; in particular, a new ShellExtensionSystemFactory. ExtensionsBrowserClient now selects between the two at the factory level. Callers can simply use ExtensionSystem::Get. BUG=337707 Review URL: https://codereview.chromium.org/137753016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251014 0039d316-1c4b-4281-b951-d872f2087c98
* [App Shell] Port app_shell to windows aura.Hokein.Wu@gmail.com2014-02-051-1/+13
| | | | | | | | | | | Allow windows developsers to run app_shell. BUG=None TEST=Build app_shell on windows with use_aura=1, it launches normally. Review URL: https://codereview.chromium.org/136093011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248870 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize apps/shell into app, browser and common directories.jamescook@chromium.org2014-02-031-21/+21
| | | | | | | | | | | | | | | This allows us to separate browser process, render process and common code, similar to how content/shell is organized. This also allows the DEPS files to be more restrictive to enforce those dependencies. A parallel CL adds apps/shell/renderer and some renderer-specific code: https://codereview.chromium.org/149163002/ BUG=none TEST=compiles R=joi@chromium.org, miket@chromium.org TBR=stevenjb@chromium.org for DEPS on src/chromeos (just moving the DEP from one file to another) Review URL: https://codereview.chromium.org/151893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248575 0039d316-1c4b-4281-b951-d872f2087c98
* app_shell: Add ShellContentRendererClientjamescook@chromium.org2014-02-031-0/+2
| | | | | | | | | | | | | | This is a step toward getting app_shell to initialize a renderer with extension support. * Add apps/shell/renderer so we can separate out the render process code * Do a little bit of cleanup in the Permissions system, which is the next thing to tackle. BUG=335632 TEST=none Review URL: https://codereview.chromium.org/149163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248548 0039d316-1c4b-4281-b951-d872f2087c98
* Port app_shell to linux aurajamescook@chromium.org2014-01-181-1/+1
| | | | | | | | | | | | | This turns out to be trivial and will allow non-chromeos developers to play with app_shell more easily. It's aura-only because we have some views UI code that isn't worth porting to GTK. BUG=332981 TEST=Build app_shell on linux with use_aura=1, it launches normally Review URL: https://codereview.chromium.org/130433015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245699 0039d316-1c4b-4281-b951-d872f2087c98
* app_shell: Fix resources.pak dependency issuejamescook@chromium.org2014-01-141-0/+2
| | | | | | | | | | | | | | app_shell needs extensions-related feature JSON data, which is in resources.pak. Without that file app_shell will build normally but crash at runtime. BUG=none TEST=clean build of just the app_shell can launch normally R=miket@chromium.org, tony@chromium.org Review URL: https://codereview.chromium.org/131203008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244802 0039d316-1c4b-4281-b951-d872f2087c98
* Create simplified ExtensionSystem for app_shelljamescook@chromium.org2013-12-191-0/+2
| | | | | | | | | | | | | | | | | | * Only initialize a few core ExtensionSystem services * Switch to using extension_file_util::LoadExtension instead of AppLoadService, which allows us to avoid ExtensionService for now. * Clean up RootWindow creation and handle clicks on the close box. This allows app_shell to parse a non-app extension and create an Extension object. The Extension does not yet start running. BUG=288226 TEST=none R=derat@chromium.org, yoz@chromium.org Review URL: https://codereview.chromium.org/116573011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241880 0039d316-1c4b-4281-b951-d872f2087c98
* Add stub ExtensionsClient to app_shelljamescook@chromium.org2013-12-131-0/+2
| | | | | | | | | | | | | Also register ExtensionPrefs. This allows app_shell to run until it tries tries to bring up ExtensionSystem. BUG=None TEST=compiles, app_shell launches R=yoz@chromium.org Review URL: https://codereview.chromium.org/110863005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240805 0039d316-1c4b-4281-b951-d872f2087c98
* Rename apps::AppShell* to apps::Shell*jamescook@chromium.org2013-12-131-15/+15
| | | | | | | | | | | | | | The names are getting long and unwieldy and everything is in the apps namespace anyway. This is consistent with the ash_shell and content_shell naming conventions. BUG=None TEST=compiles R=miket@chromium.org Review URL: https://codereview.chromium.org/99053008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240742 0039d316-1c4b-4281-b951-d872f2087c98
* Add ExtensionsBrowserClient and AppSorting to app_shelljamescook@chromium.org2013-12-071-0/+4
| | | | | | | | | | | This lets it run a little further when attempting to run an app. BUG=None TEST=None Review URL: https://codereview.chromium.org/106033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239311 0039d316-1c4b-4281-b951-d872f2087c98
* app_shell attempts to load an app when passed --app=<path/to/app>jamescook@chromium.org2013-12-041-0/+5
| | | | | | | | | | | | | Initialize the extensions system with a BrowserContext (not a profile). This doesn't work yet, but allows us to see how far we can run and helps identify the next area to work on. BUG=None TEST=None, for developers only Review URL: https://codereview.chromium.org/99073004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238596 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui/wm/ directory.tfarina@chromium.org2013-11-161-1/+1
| | | | | | | | | | | | | This starts by moving ui/shell into ui/wm/test/ directory and stabilish a wm.gyp to hold all the targets for wm. BUG=308710 TEST=None R=ben@chromium.org Review URL: https://codereview.chromium.org/74183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235481 0039d316-1c4b-4281-b951-d872f2087c98
* Make a new component 'app_shim'.jackhou@chromium.org2013-11-081-11/+0
| | | | | | | | | | This moves app_shim code into its own gypi. BUG=266705 Review URL: https://codereview.chromium.org/47603020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233769 0039d316-1c4b-4281-b951-d872f2087c98
* Keep Chrome alive while packaged app background pages are running.sammc@chromium.org2013-10-301-0/+4
| | | | | | | | | | | This will delay Chrome's shutdown until some time after the last app window closes. BUG=130457 Review URL: https://codereview.chromium.org/33993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231749 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a separate gyp file for content shell and testsjochen@chromium.org2013-10-191-1/+1
| | | | | | | | | | | | This will make it possible to depend on components from content shell BUG=247431 R=jam@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/28123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229620 0039d316-1c4b-4281-b951-d872f2087c98
* Fix declaration vs. implementation ordering in NativeAppWindow{Views|Gtk}jamescook@chromium.org2013-10-161-1/+1
| | | | | | | | | | | | | | | This just reorders the functions in the NativeAppWindow interface. There are other ordering problems but they aren't worth fixing. Also move native_app_window.h into apps/ui/. BUG=306535 TEST=compiles TBR=benwells@chromium.org for file moves and trivial header path renames Review URL: https://codereview.chromium.org/27207003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228848 0039d316-1c4b-4281-b951-d872f2087c98
* apps: Move chrome's ShellWindowFrameView into apps/jamescook@chromium.org2013-10-151-0/+12
| | | | | | | | | | BUG=306535 TEST=compiles, can still resize a v2 app (like "Text") TBR=sky@chromium.org for moving shell_window_frame_view.h/cc out of its old location in Chrome Review URL: https://codereview.chromium.org/27029006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228619 0039d316-1c4b-4281-b951-d872f2087c98
* app_shell: Add AppShellContentClient.derat@chromium.org2013-10-111-0/+2
| | | | | | | | | | | | | Add a simple AppShellContentClient class and update AppShellMainDelegate to use it instead of content::ShellContentClient. BUG=305404 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/26690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228133 0039d316-1c4b-4281-b951-d872f2087c98
* Move MinimalShell to ui/shell.derat@chromium.org2013-10-101-0/+1
| | | | | | | | | | | | | Move the MinimalShell class from content to a new "shell" library so it can be shared by app_shell. Also move aura::test::TestActivationClient to aura::client::DefaultActivationClient. BUG=305404 Review URL: https://codereview.chromium.org/26699003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227986 0039d316-1c4b-4281-b951-d872f2087c98
* Create an app_shell targetjamescook@chromium.org2013-10-091-1/+37
| | | | | | | | | | | | | | | | The goal of app_shell is to depend only on content (not chrome), and run an app instead of a web browser. This is the initial build target. For now, only Chrome OS is supported. The app initializes an X window, an Aura RootWindow, and creates a sample views::Widget containing a WebView to demonstrate that src/content is properly initialized. BUG=297890 TEST=Run app_shell on linux_chromeos, see google.com load in a window R=derat@chromium.org, miket@chromium.org Review URL: https://codereview.chromium.org/26603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227743 0039d316-1c4b-4281-b951-d872f2087c98
* Moved apps metro code from apps to chrome/browser/apps.benwells@chromium.org2013-10-031-2/+0
| | | | | | | | | | | | | | | This code is chrome specific and does not belong in the generic apps component. BUG=159366 TEST=Run apps and app launcher on Windows 8, in these cases: * when chrome is not running, * when chrome is already running in metro mode, * when chrome is already running and is not in metro mode. Review URL: https://codereview.chromium.org/25034003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226705 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome apps prefs back to chrome from the apps component.benwells@chromium.org2013-09-291-4/+0
| | | | | | | | | | | These are specific to how chrome is using the apps component, not things any apps client would use. BUG=159366 Review URL: https://codereview.chromium.org/24519002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225881 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce AppsClient and use it in apps to get the loaded profiles list.benwells@chromium.org2013-09-131-0/+2
| | | | | | | | | | | This breaks one dependency from the apps component to g_browser_process and some dependencies on profile. BUG=159366 Review URL: https://chromiumcodereview.appspot.com/23524005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222988 0039d316-1c4b-4281-b951-d872f2087c98
* Delete app_host from apps/benwells@chromium.org2013-08-301-41/+0
| | | | | | | | | | | | | This isn't used any more now and can be deleted. Chrome apps and the chrome app launcher are now part of the main chrome install, and don't need a separate executable to shunt control to chrome. TBR=sky BUG=279671 Review URL: https://chromiumcodereview.appspot.com/23539002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220555 0039d316-1c4b-4281-b951-d872f2087c98
* Move ShellWindowRegistry to appsbenwells@chromium.org2013-08-091-0/+2
| | | | | | | | | | TBR=sky BUG=159366 Review URL: https://chromiumcodereview.appspot.com/22642008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216658 0039d316-1c4b-4281-b951-d872f2087c98
* Move platform_app_launcher to appsbenwells@chromium.org2013-08-071-0/+9
| | | | | | | | | | | | | | | | | | | chrome/browser/extensions/platform_app_launcher.* -> apps/launcher.* TBR=yoz@chromium.org, willchan@chromium.ogt, satorux@chromium.org TBR for simple refactors: yoz for extensions willchan for new dependency on net/base satorux for new dependency on chrome/browser/chromeos/drive BUG=159366 TEST=Ensure launching apps in Windows 8 while chrome is running in single window mode still prompts to run chrome in desktop mode. Review URL: https://chromiumcodereview.appspot.com/22536002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216181 0039d316-1c4b-4281-b951-d872f2087c98
* Move native_app_window code to apps areasbenwells@chromium.org2013-08-061-0/+1
| | | | | | | | | | | | | | | | | native_app_window.h -> apps component platform specific implementations of this are now in c/b/ui/xxx/apps. The platform specific implementations should also move to apps/ but they would currently bring some unwanted dependencies with them; that can happen later. BUG=159366 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215753 Review URL: https://chromiumcodereview.appspot.com/21344002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215799 0039d316-1c4b-4281-b951-d872f2087c98