summaryrefslogtreecommitdiffstats
path: root/chrome/app
Commit message (Collapse)AuthorAgeFilesLines
* RSS feed support (part 1), 2nd attempt.finnur@chromium.org2009-03-132-0/+1
| | | | | | | | | | | | | | | | | | | | | Part 1 is RSS feed auto-discovery. This will parse the web page header to find the feeds in the document and notify the browser to display the RSS icon in the toolbar. You can click on the icon, but it will just navigate to the first feed on the page, which (unless it has been designed to be browser friendly) will just dump XML as text on the user. For this reason I have disabled the code that makes the RSS icon appear and intend to enable it when we have a good landing page to display the XML. Review URL: http://codereview.chromium.org/46055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11672 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 11640.finnur@chromium.org2009-03-132-1/+0
| | | | | | Reverting for now. Will try again later git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11645 0039d316-1c4b-4281-b951-d872f2087c98
* RSS feed support (part 1)finnur@chromium.org2009-03-132-0/+1
| | | | | | | | | | | | | | | | Part 1 is RSS feed auto-discovery. This will parse the web page header to find the feeds in the document and notify the browser to display the RSS icon in the toolbar. You can click on the icon, but it will just navigate to the first feed on the page, which (unless it has been designed to be browser friendly) will just dump XML as text on the user. For this reason I have disabled the code that makes the RSS icon appear and intend to enable it when we have a good landing page to display the XML. Review URL: http://codereview.chromium.org/43109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11640 0039d316-1c4b-4281-b951-d872f2087c98
* Stats for the renderers are all broken, because of this change:davemoore@chromium.org2009-03-131-6/+14
| | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/chrome_dll_main.cc?r1=6627&r2=6626&pathrev=6627 line 236 We are appending the pid to the name of the shared memory object, which causes each renderer to get its own uninitialized copy of the stats counters, breaking the sharing. So then the about:stats code can't find the counters created and updated by these processes. This includes all the V8 counters and timers. Original issue: http://codereview.chromium.org/40012/show Review URL: http://codereview.chromium.org/42130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11632 0039d316-1c4b-4281-b951-d872f2087c98
* Don't rely on subview ordering to be equivalent to tab ordering. Allows us ↵pinkerton@chromium.org2009-03-122-8/+58
| | | | | | | | to correctly set z-order on tabs. Add animation to tabs closing. Fix issue where new tab button would not draw correctly by pulling it from the nib. Fix memory leak in TabController. Fix console output about missing image. Review URL: http://codereview.chromium.org/43144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11575 0039d316-1c4b-4281-b951-d872f2087c98
* Add a TabController class to manage a TabView (with corresponding xib). ↵pinkerton@chromium.org2009-03-122-0/+426
| | | | | | | | Rewrite strip controller to create and manage TabControllers instead of NSButtons. Review URL: http://codereview.chromium.org/43137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11541 0039d316-1c4b-4281-b951-d872f2087c98
* My change to widen the About box got reverted for the Hebrew locale. Readding.finnur@chromium.org2009-03-111-1/+1
| | | | | | | | | BUG=8676 TEST=Open About box in Hebrew and make sure it is not truncating the text. Review URL: http://codereview.chromium.org/43099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11478 0039d316-1c4b-4281-b951-d872f2087c98
* Fix directory listings in mac and linux by making sure the codetc@google.com2009-03-111-0/+1
| | | | | | | | | for loading the template is enabled and the resource exists. Review URL: http://codereview.chromium.org/42053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11462 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r11445, _wtoi does not exist outside of Windows / MSVC.deanm@chromium.org2009-03-111-13/+4
| | | | | | | Review URL: http://codereview.chromium.org/42072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11448 0039d316-1c4b-4281-b951-d872f2087c98
* I was a moron and did http://codereview.chromium.org/40012/ against a read ↵davemoore@chromium.org2009-03-111-4/+13
| | | | | | | | | only repository. TBR: jrg Review URL: http://codereview.chromium.org/42071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11445 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass at copy/paste. Menu items are always enabled. This matches ↵avi@chromium.org2009-03-111-7/+7
| | | | | | | | Windows; we'll do better soon. Review URL: http://codereview.chromium.org/42018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11444 0039d316-1c4b-4281-b951-d872f2087c98
* Changes docking in the following ways:sky@google.com2009-03-104-0/+3
| | | | | | | | | | | | | | | . Dock icons for window docking positions could go offscreen before. . It was possible to show the maximize indicator on the wrong screen. This was because equals was not comparing the monitor bounds. . Tweaks to color, size and animation from Glen. BUG=none TEST=make sure there are no bugs with docking tabs. Review URL: http://codereview.chromium.org/42041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11391 0039d316-1c4b-4281-b951-d872f2087c98
* Set proper bundle ID based on the state of branding.mark@chromium.org2009-03-101-3/+3
| | | | | | Review URL: http://codereview.chromium.org/42036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11381 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-105-6/+0
| | | | | | | | | Normalize end of file newlines in chrome/. All files end in a single newline. Review URL: http://codereview.chromium.org/42015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11331 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability to log the URL of the renderer if the renderersky@google.com2009-03-091-6/+65
| | | | | | | | | | | | crashes. This is the code to set and maintain the URL, but we're not using it anywhere yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/39202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11297 0039d316-1c4b-4281-b951-d872f2087c98
* String change.jcampan@chromium.org2009-03-091-1/+1
| | | | | | | | BUG=8321 TEST=Open the option panel, under minor tweaks, the autofill text next to the check-box should say "Save text from forms to make them easier to fill out" Review URL: http://codereview.chromium.org/41016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11293 0039d316-1c4b-4281-b951-d872f2087c98
* hook up history and download menu itemstc@google.com2009-03-091-2/+3
| | | | | | | | | | Small fix to get them to display (need to include webkit strings in our language pak files). Review URL: http://codereview.chromium.org/39296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11286 0039d316-1c4b-4281-b951-d872f2087c98
* Make SecondLaunch UI test not-flaky by using more reliablephajdan.jr@chromium.org2009-03-091-6/+2
| | | | | | | | | | automation calls. BUG=5671 Review URL: http://codereview.chromium.org/40301 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11259 0039d316-1c4b-4281-b951-d872f2087c98
* Add regression test for bug 7900 and necessary infrastructure.phajdan.jr@chromium.org2009-03-091-1/+22
| | | | | | | | | | | | The test simulates following scenario: user opens a local html page with Chrome when a browser instance is already running. The new Chrome process should notify the existing process about new page and exit. Bug 7900 broke this behavior causing the new process to crash. I verified that the ui_tests infrastructure would catch this crash and cause the test to fail. BUG=7900, 8056 Review URL: http://codereview.chromium.org/39257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11247 0039d316-1c4b-4281-b951-d872f2087c98
* Make both Hebrew Visual (ISO-8859-8) and Hebrew Logical (ISO-8859-8-I)jungshik@google.com2009-03-072-2/+3
| | | | | | | | | | | | available in the encoding menu. Make windows-1255 come before ISO-8859-8* both in the full encoding list and in Hebew Chrome's static list. BUG=2927 Review URL: http://codereview.chromium.org/39248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11180 0039d316-1c4b-4281-b951-d872f2087c98
* Generate data packs for all languages and allow us to loadtc@google.com2009-03-066-253/+220
| | | | | | | | | | | | | | any lang (currently using --lang=ar or whatever). Also remove app/resources/SConscript since it's filled with windows specific code. BUG=8125 Review URL: http://codereview.chromium.org/40246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11161 0039d316-1c4b-4281-b951-d872f2087c98
* Use common name for icns file to avoid case sensitivity issues withjrg@chromium.org2009-03-062-1/+1
| | | | | | | | | | | | | | | the filesystem and avoid the need for processing of Info.plist. Dup of svn log since rietveld doesn't like A+D: A + chrome/app/theme/chromium/app.icns D chrome/app/theme/chromium/chromium.icns M chrome/app/app-Info.plist M chrome/chrome.gyp Review URL: http://codereview.chromium.org/40238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11131 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 8331: About dialog became too narrow when we changedfinnur@chromium.org2009-03-0551-110/+50
| | | | | | | | | | | | | ChromeFont::GetExpectedTextWidth to use dlu_base_x _or_ average character width (depending on which one is smaller). BUG=8331 TEST=Open About box in all languages and make sure it is roughly the same size as it was in 1.0. Review URL: http://codereview.chromium.org/39214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11039 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-052-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Use grit to generate locale rc files and remove the old locale rc files from ↵tc@google.com2009-03-05153-4019/+3473
| | | | | | | | | | | | | | the tree. I made a small change to grit so we can use our resource ID as the translation ID making it a bit easier to read. The old locale_settings*.rc files would #include the google_strings.rc or chromium_strings.rc. Instead, I added it to the vcproj file using $(CHROMIUM_BUILD) to grab the right file. This required changing the output names in the grd files. TBR=deanm Review URL: http://codereview.chromium.org/39152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10955 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: don't call gtk_init in the renderer process.agl@chromium.org2009-03-051-8/+5
| | | | | | | | | | | | | Previously, our command line objects were created /after/ gtk_init had processed |argc| and |argv|. With this patch, it's created before hand and main's |argc| and |argv| are now kept pristine. Thus our command line will now reflect GTK arguments that previously it wouldn't have seen. This should be harmless. Review URL: http://codereview.chromium.org/39172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10950 0039d316-1c4b-4281-b951-d872f2087c98
* Branding of Chrome.app.jrg@chromium.org2009-03-041-1/+1
| | | | | | | | | To brand, do a "src/tools/gyp/gyp_dogfood -Dbranding=Chrome src/build/all.gyp" (Then build, of course.) Review URL: http://codereview.chromium.org/40066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10920 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment regarding why single-process and in-process-plugins are disabled ↵jam@chromium.org2009-03-041-0/+2
| | | | | | | | for Chrome Release builds. Review URL: http://codereview.chromium.org/39046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10852 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of the out of process worker implementation.jam@chromium.org2009-03-041-0/+5
| | | | | | | | | | | WebWorkerClient/WebWorker are parallel interfaces of WebCore::{WorkerObjectProxy, WorkerContextProxy} that use Chrome data types. When WebKit requests a WorkerObjectProxy, we create an instance of WebWorkerClientImpl. This class creates an object that implements a Chromium version of WorkerObjectProxy (i.e. with Chrome data types) through WebViewDelegate. That object is a WebWorkerProxy and talks over IPC to a WebWorker object in the worker process. The WebWorker object creates the actual WebCore::Worker object using another class in glue: WebWorkerImpl. When the WebCore::Worker object running in the worker process wants to talk back to the code running in the renderer, it talks to WebWorkerImpl which implements WebCore::WorkerObjectProxy. WebWorkerImpl converts the data types to Chrome compatible ones, and then calls the WebWorkerClient version which does IPC to get to the renderer process. This ends up at WebWorkerProxy, which calls WebWorkerClientImpl (the original class). In future changes, sandboxing, multiple worker processes etc will be added. Note that I also had to make two small changes to WebKit, since WorkerMessagingProxy couldn't be created as is for the nested worker case. I'll either check it in myself or work with Jian to do so. Review URL: http://codereview.chromium.org/27157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10847 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Use grit to generate locale rc files and remove the old locale rc ↵tc@google.com2009-03-03151-3169/+3919
| | | | | | | | | | | files from the tree." Revert "window_ is null during BrowserWindow creation. Assume full screen" Revert "Move SupportsWindowFeature from BrowserView to Browser so" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10814 0039d316-1c4b-4281-b951-d872f2087c98
* Use grit to generate locale rc files and remove the old locale rc files from ↵tc@google.com2009-03-03151-3919/+3169
| | | | | | | | | | | | | the tree. I made a small change to grit so we can use our resource ID as the translation ID making it a bit easier to read. I also used a script to convert the existing .rc files to .xtb files. Review URL: http://codereview.chromium.org/28327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10809 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expose --single-process and --in-process-plugins for official Chrome ↵jam@chromium.org2009-03-031-0/+4
| | | | | | | | releases. Review URL: http://codereview.chromium.org/28347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10771 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/apps/result_codes.h to chrome/common/result_codes.hthestig@chromium.org2009-03-033-51/+2
| | | | | | Review URL: http://codereview.chromium.org/28279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10761 0039d316-1c4b-4281-b951-d872f2087c98
* Improved PDF from Cole.pinkerton@chromium.org2009-03-021-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10704 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing tests to the GYP+Xcode build.mark@chromium.org2009-03-023-0/+0
| | | | | | Review URL: http://codereview.chromium.org/28309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10695 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent chrome from launching with a chromehtml: argumentsverrir@chromium.org2009-02-281-0/+39
| | | | | | | | | | | unless its preceeded by the switch terminator. This is to prevent chromehtml: urls to supply arguments to Chrome. BUG=5825 Review URL: http://codereview.chromium.org/20469 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10684 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work on chrome-ui://extensions/ page. URL now displays a static ↵rafaelw@chromium.org2009-02-281-0/+3
| | | | | | | | template page Review URL: http://codereview.chromium.org/28172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10675 0039d316-1c4b-4281-b951-d872f2087c98
* Fix guard to reflect new position in treejrg@chromium.org2009-02-281-3/+3
| | | | | | Review URL: http://codereview.chromium.org/28293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10670 0039d316-1c4b-4281-b951-d872f2087c98
* Adapt (and move) mark@chromium.org's Keystone integration to Chromium.jrg@chromium.org2009-02-282-0/+114
| | | | | | | | | | | | | | | | | | | | Call it from the Browser. (no-op if not packaged for branding). Add new build target "app_packaging" to package (if possible). (app_packaging target intentionally left out of "All"). For convenience, here is the app_packaging script embedded in the xcodeproj: PACKAGER="${PROJECT_DIR}/tools/mac/package_chrome.sh" if [ -f "${PACKAGER}" ]; then "${PACKAGER}" fi Mark, I know this is not in gyp... I am happy to have this klobbered and redo it (in gyp) at the appropriate time. Review URL: http://codereview.chromium.org/27293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10668 0039d316-1c4b-4281-b951-d872f2087c98
* Before installing Chrome check that the installation directory doesn't exist ↵kuchhal@chromium.org2009-02-272-0/+6
| | | | | | | | | | | (or can be deleted). BUG=7176 Review URL: http://codereview.chromium.org/27258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10640 0039d316-1c4b-4281-b951-d872f2087c98
* Wires up sorting of bookmarks to the 'organize menu' in the bookmarksky@google.com2009-02-271-0/+3
| | | | | | | | | | | | | manager (Glen says no context menus for now). All BookmarkModelObservers have been updated appropriately. BUG=1750 TEST=bring up the bookmark manager and try the 'Reorder by title' menu item, make sure it works and I didn't screw up anything around it. Review URL: http://codereview.chromium.org/27262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10633 0039d316-1c4b-4281-b951-d872f2087c98
* Add "stop" image to project. Clean up project so app/theme is a proper group ↵pinkerton@chromium.org2009-02-273-22/+34
| | | | | | | | and its children could be relative to it rather than their grandparent. Plumb loading status into Mac controllers. Add more loading status info to stub TabContents. Make browser window a little taller and wider so NTP didn't show scrollbars. Review URL: http://codereview.chromium.org/31017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10621 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: first part of removing GTK from the rendereragl@chromium.org2009-02-271-0/+1
| | | | | | | | | | This patch adds the resources which the WebKit changes need. This shouldn't change anything. Review URL: http://codereview.chromium.org/27255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10567 0039d316-1c4b-4281-b951-d872f2087c98
* Enable --single-process for Mac and Linux.shess@chromium.org2009-02-271-4/+12
| | | | | | | | | | | | | | Additionally, wire in a bit of setup for the --single-process case, because it cannot be done by the renderer thread because that thread is not the main thread. Fair warning: --single-process often seems to be broken by various unrelated changes, which may-or-may-not make assumptions about the process architecture. I will try to stay on top of these. Review URL: http://codereview.chromium.org/21330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10559 0039d316-1c4b-4281-b951-d872f2087c98
* Fix grit include dependencies in the scons build.tc@google.com2009-02-261-5/+51
| | | | | | | | | | | | | | | Re-enable the scons code that walks a grd file and adds its dependencies as build dependencies. This requires that all our dependencies are files in our source tree (which is what motivated getting rid of the tld data as a generated resource). I had to fix up the terms of service for this. Also remove some code that disabled .pak file generation on windows which was broken because it couldn't find the tld data. Review URL: http://codereview.chromium.org/28194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10494 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up resource bundles on the mac:thomasvl@chromium.org2009-02-261-6/+0
| | | | | | | | | | | | | - compile resource_bundle - add resource_bundle_mac by cloning the linux and using some NSBundle to find the files. - enable resource bundles on the mac in the calling code. - added script to app target to repack .pak files into larger chunks (chrome, theme, and localized bits). - added script to copy repacked files into the app bundle. Review URL: http://codereview.chromium.org/28171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10460 0039d316-1c4b-4281-b951-d872f2087c98
* change a str pass by value. Words fail me to describe this CL bettercpu@google.com2009-02-252-2/+2
| | | | | | | | | - Yes it is silly - Yes it bothers me every time I see it. Review URL: http://codereview.chromium.org/27155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10388 0039d316-1c4b-4281-b951-d872f2087c98
* Change url bar text according to the model when updating the toolbar. Fix ↵pinkerton@chromium.org2009-02-251-17/+6
| | | | | | | | vtable issue in ToolbarModel by using correct declaration. Review URL: http://codereview.chromium.org/27163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10383 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all places where we used the GetWinVersion functionnsylvain@chromium.org2009-02-251-2/+1
| | | | | | | | | incorrectly. bug:7802 Review URL: http://codereview.chromium.org/28128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10366 0039d316-1c4b-4281-b951-d872f2087c98
* Make non-glass popups match new mockup from Glen.pkasting@chromium.org2009-02-255-2/+1
| | | | | | | | | Unfortunately glass popups can't be made to match the mockup unless we want to completely reimplement Windows titlebar drawing, so I'm leaving them pretty much unchanged :( BUG=7569 Review URL: http://codereview.chromium.org/28072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10341 0039d316-1c4b-4281-b951-d872f2087c98