summaryrefslogtreecommitdiffstats
path: root/content/shell
Commit message (Collapse)AuthorAgeFilesLines
* Add JavaScript dialogs functionality to content_shell on Windowscem.kocagil@gmail.com2012-03-306-7/+201
| | | | | | | | | | BUG=120155 TEST=JavaScript dialogs should work in content_shell on Windows Review URL: http://codereview.chromium.org/9918013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129904 0039d316-1c4b-4281-b951-d872f2087c98
* Add svn:eol-style on shell.rc so trybots can patch it. TBR=avijam@chromium.org2012-03-301-72/+72
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129862 0039d316-1c4b-4281-b951-d872f2087c98
* Add skeleton of content shell for android.satish@chromium.org2012-03-304-0/+93
| | | | | | | | | | | | | This is heavily based on http://codereview.chromium.org/9834037/ which added an APK-based test runner for android. This CL adds a content_shell_apk target for android containing an empty activity. BUG=118591 TEST=build/test/install ContentShell-debug.apk on device Review URL: http://codereview.chromium.org/9860032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129831 0039d316-1c4b-4281-b951-d872f2087c98
* Add methods to close individual or all open windows to Shelljochen@chromium.org2012-03-308-16/+49
| | | | | | | | | BUG=111316 TEST=none Review URL: https://chromiumcodereview.appspot.com/9909015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129828 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: use proper URLRequestContextGetter in remote debugging proxy.pfeldman@chromium.org2012-03-292-6/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9911014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129648 0039d316-1c4b-4281-b951-d872f2087c98
* Add ShellNetworkDelegate so content_shell can use cookies (again)jochen@chromium.org2012-03-294-2/+153
| | | | | | | | | BUG=none TEST=try to log in to some site using content_shell Review URL: https://chromiumcodereview.appspot.com/9701023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129589 0039d316-1c4b-4281-b951-d872f2087c98
* Make it so that allow_js_access: false can be used with background pages ↵mihaip@chromium.org2012-03-292-2/+5
| | | | | | | | | | | | | | | created by window.open. We want attempts to create those windows to succeed, but the window.open call should still return null. This is accomplished by opening the background contents in another process, in the same manner as r125180. BUG=120446 R=creis@chromium.org Review URL: http://codereview.chromium.org/9837074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129574 0039d316-1c4b-4281-b951-d872f2087c98
* Content shell: Javascript dialogs, first pass, just Mac for now.avi@chromium.org2012-03-296-0/+367
| | | | | | | | | | BUG=120155 TEST=javascript dialogs work on the Mac Review URL: http://codereview.chromium.org/9836127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129537 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Fix menu keys.avi@chromium.org2012-03-272-0/+15
| | | | | | | | | BUG=120156 TEST=as in bug Review URL: https://chromiumcodereview.appspot.com/9773042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129184 0039d316-1c4b-4281-b951-d872f2087c98
* Content shell: Switch to scoped resetter.avi@chromium.org2012-03-271-3/+3
| | | | | | | | | BUG=90445 TEST=none Review URL: https://chromiumcodereview.appspot.com/9809026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129182 0039d316-1c4b-4281-b951-d872f2087c98
* Content shell: Use only public API.avi@chromium.org2012-03-2611-71/+59
| | | | | | | | | BUG=119869 TEST=none Review URL: https://chromiumcodereview.appspot.com/9834092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129010 0039d316-1c4b-4281-b951-d872f2087c98
* Content shell: Fill out user agent.avi@chromium.org2012-03-261-1/+4
| | | | | | | | | | BUG=90445 TEST=better compatibility with google.com Review URL: http://codereview.chromium.org/9808104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128926 0039d316-1c4b-4281-b951-d872f2087c98
* Content shell: Don't automatically resize the window to preferred size.avi@chromium.org2012-03-255-22/+10
| | | | | | | | | | BUG=90445,115784 TEST=the window remains the size the user specified Review URL: http://codereview.chromium.org/9839091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128824 0039d316-1c4b-4281-b951-d872f2087c98
* Move the MediaObserver getter from ResourceContext to ContentBrowserClient, ↵jam@chromium.org2012-03-254-5/+5
| | | | | | | | | | since we only need to support one. BUG=98716 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128789 Review URL: https://chromiumcodereview.appspot.com/9845033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128819 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128789 - Media failures on Win/Mac/Linux starting with this CL.rsleevi@chromium.org2012-03-254-5/+5
| | | | | | | | | | | | Move the MediaObserver getter from ResourceContext to ContentBrowserClient, since we only need to support one. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9845033 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/9808107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128797 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Implement CrApplication.avi@chromium.org2012-03-243-0/+53
| | | | | | | | | BUG=115784 TEST=popup menus work in content shell Review URL: https://chromiumcodereview.appspot.com/9834080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128790 0039d316-1c4b-4281-b951-d872f2087c98
* Move the MediaObserver getter from ResourceContext to ContentBrowserClient, ↵jam@chromium.org2012-03-244-5/+5
| | | | | | | | | since we only need to support one. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9845033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128789 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Insert views, make it work.avi@chromium.org2012-03-242-18/+45
| | | | | | | | | | BUG=115784 TEST=none Review URL: http://codereview.chromium.org/9852003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128788 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Set up resources properly.avi@chromium.org2012-03-243-3/+19
| | | | | | | | | | BUG=115784 TEST=none Review URL: http://codereview.chromium.org/9835062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128670 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Set up browser context path properly.avi@chromium.org2012-03-221-0/+5
| | | | | | | | | | BUG=115784 TEST=none Review URL: http://codereview.chromium.org/9838021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128325 0039d316-1c4b-4281-b951-d872f2087c98
* Mac content shell: Set up framework path properly.avi@chromium.org2012-03-223-35/+71
| | | | | | | | | | BUG=115784 TEST=none Review URL: http://codereview.chromium.org/9826013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128324 0039d316-1c4b-4281-b951-d872f2087c98
* Rename origin_bound_cert files to server_bound_cert.mattm@chromium.org2012-03-221-2/+2
| | | | | | | | | BUG=115348 TEST=try bots Review URL: https://chromiumcodereview.appspot.com/9814028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128323 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DONTUSEME_GetCookieStore().eroman@chromium.org2012-03-222-8/+0
| | | | | | | | BUG=119293 Review URL: https://chromiumcodereview.appspot.com/9810022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128142 0039d316-1c4b-4281-b951-d872f2087c98
* Make CertVerifier a pure virtual interface.rsleevi@chromium.org2012-03-211-1/+1
| | | | | | | | | | | | | The existing CertVerifier implementation has been renamed to MultiThreadedCertVerifier, consistent with ProxyResolver naming. This is patch 1 of N for http://crbug.com/114343 BUG=114343 TEST=Compiles and existing unittests pass. Review URL: https://chromiumcodereview.appspot.com/9476035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128090 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a ShellBrowserMain in content_shell, so we can emulate DRT's ↵jochen@chromium.org2012-03-219-136/+249
| | | | | | | | | | | | server mode BUG=111316 TEST=run content_shell without parameters, no observable change, run with --dump-render-tree and start typing URLs. Should open the URLs. Type QUIT to exit. Review URL: http://codereview.chromium.org/9699120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127937 0039d316-1c4b-4281-b951-d872f2087c98
* Change Origin bound certs -> Domain bound certs.mattm@chromium.org2012-03-201-3/+3
| | | | | | | | | | BUG=115348 TEST=unit tests, manually checked 'Origin Bound Certs' contents after browsing TBR=jam@chromium.org,willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9617039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127817 0039d316-1c4b-4281-b951-d872f2087c98
* Update net/base/cookie_*.h includes to net/cookies/cookie_*.h .erikwright@chromium.org2012-03-161-1/+1
| | | | | | | | | | | | Once complete, forwarding headers will be removed from net/base/ . TEST=none R=darin Review URL: http://codereview.chromium.org/9706056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127209 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow remote debugging any RenderViewHost.pfeldman@chromium.org2012-03-163-38/+3
| | | | | | | | BUG=118390 Review URL: https://chromiumcodereview.appspot.com/9699073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127155 0039d316-1c4b-4281-b951-d872f2087c98
* Allow browser to handle all WebUI navigations.creis@chromium.org2012-03-152-2/+8
| | | | | | | | | | BUG=113496 TEST="Google Dashboard" link in Sync settings loads in new process. Review URL: http://codereview.chromium.org/9663045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126949 0039d316-1c4b-4281-b951-d872f2087c98
* Move creation of content TabContentsViews to content so that we can hide ↵jam@chromium.org2012-03-142-10/+8
| | | | | | | | | these headers through DEPS and avoid any more includes until TabContentsViewsViews is removed. I also moved all the TCVXDelegate to be in one header, that way we can more conveniently ask the embedder for a delegate without a lot of ifdefs. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9700023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126730 0039d316-1c4b-4281-b951-d872f2087c98
* Make helper app, get closer to working content shell.avi@chromium.org2012-03-095-1/+98
| | | | | | | | | BUG=115784 TEST=none Review URL: https://chromiumcodereview.appspot.com/9656002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125921 0039d316-1c4b-4281-b951-d872f2087c98
* roll gyp 1238:1242thakis@chromium.org2012-03-091-2/+0
| | | | | | | | | | | | | | | | | 1239: Allow specification of VC10 props and configuration attributes in gyp file. 1240: Make _CopyXIBFile() work with Xcode 4.3 1241: mac make and ninja: Don't require CFBundleSignature in Info.plist files. 1242: Add a test case for the CFBundleSignature happy path. Also remove the now-unused CFBundleSignature fron app-Info.plist for launcher apps. BUG=117498,114970 TEST=none TBR=rsesek Review URL: http://codereview.chromium.org/9663010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125895 0039d316-1c4b-4281-b951-d872f2087c98
* Switch chrome to use TabContentsViewWin. The goal is to eventually have all ↵jam@chromium.org2012-03-072-5/+3
| | | | | | | | | | | TabContentsView implementations in content, since a lot of classes that they would depend on shouldn't be exposed to embedders. (for others reading: Ben said once this is done TabContentsViewAura will be created and we can remove TabContentsViewViews). BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9600004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125396 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed speech recognition code in preparation for introducing a new speech ↵primiano@chromium.org2012-03-074-14/+17
| | | | | | | | | | | | | | | implementation. - The general-purpose speech recognition classes (that will be needed also by future code) have been renamed to SpeechRecognition*; - The IPC Messages and dispatcher(host) classes that are only related to the current input tag (x-webkit-speech) support have been renamed to InputTagSpeech*; - The namespace has been renamed from speech_input to speech; BUG=116954 TEST= Review URL: https://chromiumcodereview.appspot.com/9568002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125378 0039d316-1c4b-4281-b951-d872f2087c98
* First pass at content shell for the Mac. Doesn't work yet.avi@chromium.org2012-03-067-7/+2183
| | | | | | | | | BUG=115784 TEST=none Review URL: https://chromiumcodereview.appspot.com/9513006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125254 0039d316-1c4b-4281-b951-d872f2087c98
* Move Render(Widget|View)HostImpl to files with _impl in filename.joi@chromium.org2012-03-062-2/+2
| | | | | | | | | TBR=jam@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9600021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125167 0039d316-1c4b-4281-b951-d872f2087c98
* Use a hosted app's opener URL and not its origin to locate it.creis@chromium.org2012-03-062-0/+2
| | | | | | | | | BUG=113444 TEST=Test with a hosted app that doesn't span an entire origin. Review URL: https://chromiumcodereview.appspot.com/9609013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125085 0039d316-1c4b-4281-b951-d872f2087c98
* Extract minimal RenderViewHost interface for embedders, leavingjoi@chromium.org2012-03-053-7/+9
| | | | | | | | | | | | RenderViewHostImpl for content. TBR=darin@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/9473001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124941 0039d316-1c4b-4281-b951-d872f2087c98
* Replace void* with int32 for passing download_id to SelectFileDialog::Listener.achuith@chromium.org2012-03-032-6/+6
| | | | | | | | | BUG=NONE TEST=trybot runs. Review URL: http://codereview.chromium.org/9589003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124851 0039d316-1c4b-4281-b951-d872f2087c98
* Don't suppress HW compositing on the new file manager (chrome://files).fischman@chromium.org2012-03-022-0/+2
| | | | | | | | | | BUG=chromium-os:26939 TEST=--allow-webui-compositing no longer needed to get HW-accelerated decode & render on ARM crosbook. Review URL: http://codereview.chromium.org/9583022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124756 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up password manager code.isherman@chromium.org2012-03-022-2/+2
| | | | | | | | | | BUG=none TEST=password saving should continue to work Review URL: http://codereview.chromium.org/9564001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124735 0039d316-1c4b-4281-b951-d872f2087c98
* Make socket permission also allow Pepper socketsdpolukhin@chromium.org2012-03-022-2/+4
| | | | | | | | | BUG=116225 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9539011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124628 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: chrome-side changes for permission check from shared workerdgrogan@chromium.org2012-03-022-0/+13
| | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=79954 is the webkit side. BUG=116344 TEST= Review URL: http://codereview.chromium.org/9557009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124618 0039d316-1c4b-4281-b951-d872f2087c98
* Hide MHTMLGenerationManager from chrome.jam@chromium.org2012-03-012-5/+0
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9566001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124430 0039d316-1c4b-4281-b951-d872f2087c98
* Add new versions of DidCreateScriptContext() with extension_group.koz@chromium.org2012-02-272-1/+3
| | | | | | | | | | | | | This is the first of a two part change to plumb the extension_group parameter from WebKit into ExtensionDispatcher::DidCreateScriptContext(). BUG= TEST=chrome still compiles Review URL: http://codereview.chromium.org/9395071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123713 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "is_content_initiated" argument to ContentRendererClient::ShouldForkcbentzel@chromium.org2012-02-252-2/+0
| | | | | | | | | | | The argument was always set as |true| in practice, and is probably needed to prevent infinite navigation loops. This also simplifies the logic in ChromeContentRendererClient::ShouldFork. Review URL: http://codereview.chromium.org/9465006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123666 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of WebKitContext. Only two out of six HTML5 related objects were in ↵jam@chromium.org2012-02-241-1/+0
| | | | | | | | | it and it was just a glorified std::pair after the recent refactorings. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9467016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123588 0039d316-1c4b-4281-b951-d872f2087c98
* Create a Content API around SpeechInputManager. Chrome doesn't derive from ↵jam@chromium.org2012-02-242-6/+6
| | | | | | | | | | | it anymore to implement the embedder bits, instead it implements a delegate for that class. There used to be an existing delegate that SpeechInputManager called SpeechInputDispatcherHost through. But there were no other implementations of that interface, so rather than keep two delegate interfaces, I removed it. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9463001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123505 0039d316-1c4b-4281-b951-d872f2087c98
* Preparation work for adding the Media Stream infobar. The behaviour is the samemacourteau@chromium.org2012-02-242-0/+8
| | | | | | | | | | | as without this patch (and everything is still behind a flag). BUG=105115 TEST= Review URL: http://codereview.chromium.org/9360018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123418 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The ↵jam@chromium.org2012-02-232-13/+0
| | | | | | | | | | | reason is the content module should create all the concrete objects that it knows about, instead of depending on every embedder to do so. ResourceContext is then just the interfaces that it implements and which it provides on the IO thread. The AudioManager getter was a global, so I added a getter to the AudioManager class. MediaStreamManager now has its own static getter like other internal content classes on ResourceContext or BrowserContext. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9433006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123264 0039d316-1c4b-4281-b951-d872f2087c98