summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove executable property that got set by mistake.kuchhal@chromium.org2009-12-011-0/+0
| | | | | | | | | BUG=23658 TEST=make sure executable property is not in svn Review URL: http://codereview.chromium.org/449066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33463 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Implement about:memory.viettrungluu@chromium.org2009-11-051-15/+0
| | | | | | | | | | | | | | | This implements about:memory on Mac. It calls /bin/ps to obtain information about processes (this is Apple's officially supported "API"). Unfortunately, ps provides fairly minimal information (rss and vsize); top is better, but not a stable API -- it has changed greatly between Mac OS 10.5 and 10.6, and moreover the 10.6 version is more limited in its output formatting. BUG=9653 TEST=Go to about:memory under a variety of conditions (with a variety of browsers loaded). Review URL: http://codereview.chromium.org/333008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31168 0039d316-1c4b-4281-b951-d872f2087c98
* Change id that identifies client in crash reports. Whenever metrics service ↵kuchhal@chromium.org2009-11-051-0/+0
| | | | | | | | | | | | | | | recording is enabled, it sets the client id for crash reporting. - On Windows this id gets stored in the registry so that we can read it pretty early regardless of the process type. If the id has not been generated (like in the case of first run) we initialize with empty string but the real id gets inserted once metrics service gets initialized. - On Linux we were creating a hash and storing it in 'Consent to Send Stats'. This change replaces that hash with the metrics id. Unlike before calling SetConsentToSendStats doesn't generate a new id, if an id already exists. - On Mac there was no id set. Now we use metrics id as guid for the browser process. For other process types a change is still required to pass that id as command line param to renderers/plugins (like Linux). BUG=23658 TEST=Cause a deliberate crash in Chrome renderer/browser/plugin and make sure the clientID reported to the crash server is the right GUID. Review URL: http://codereview.chromium.org/346007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31143 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up temp scaffolding stubs some. It can be mac only now.estade@chromium.org2009-11-021-87/+1
| | | | | | | | BUG=9295,8077 TEST=trybots Review URL: http://codereview.chromium.org/340052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30714 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup a few FirstRun methods that are only applicable to Windows.kuchhal@chromium.org2009-10-281-32/+0
| | | | | | | | | BUG=11971 TEST=No functional change. Make sure first-run/import still works on all three platforms. Review URL: http://codereview.chromium.org/340020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30379 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/306039 for Sean:sky@chromium.org2009-10-221-12/+0
| | | | | | | | | | | Adding support for constrained dialogs with toolkit_views. BUG=none TEST=none Review URL: http://codereview.chromium.org/322002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29778 0039d316-1c4b-4281-b951-d872f2087c98
* Make importer obey import_search_engine preference even if FRUI is enabled.kuchhal@chromium.org2009-10-191-1/+3
| | | | | | | | | | | | With this change importer will give preference to the value specified in master preference for import_search_engine instead of ignoring it like before. BUG=23649 TEST=Specified in above bug. Review URL: http://codereview.chromium.org/274081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29426 0039d316-1c4b-4281-b951-d872f2087c98
* Fix views build break.estade@chromium.org2009-10-141-22/+0
| | | | | | | | TBR=Finnur Review URL: http://codereview.chromium.org/267103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29009 0039d316-1c4b-4281-b951-d872f2087c98
* Wires up views/gtk to use the gtk bookmark editor.sky@chromium.org2009-10-071-11/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/271001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28292 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Don't call MemoryDetails::Release() from AboutMemoryHandler's constructor.shess@chromium.org2009-10-011-6/+5
| | | | | | Review URL: http://codereview.chromium.org/252008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27731 0039d316-1c4b-4281-b951-d872f2087c98
* Wires up views on linux dialogs to use gtk ones.sky@chromium.org2009-09-291-5/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/254007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27484 0039d316-1c4b-4281-b951-d872f2087c98
* linux: drop temp_scaffolding_stubsevan@chromium.org2009-09-251-1/+2
| | | | | | | | | It was mostly unneeded, but I had to excise the last bits of RLZ and move some NOTIMPLEMENTED bits to where they belong. Review URL: http://codereview.chromium.org/219042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27161 0039d316-1c4b-4281-b951-d872f2087c98
* Implement BrowserList::AllBrowsersClosed for Linux.tony@chromium.org2009-09-241-4/+2
| | | | | | | | | | | This fixes leaks caused by not calling gtk_widget_destroy on dialog windows when we exit. While I'm here, fix a GList leak on Linux toolkit views. Review URL: http://codereview.chromium.org/223015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27130 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Make about:memory not crash.shess@chromium.org2009-09-231-0/+1
| | | | | | | | | | | | | | http://codereview.chromium.org/177024 enabled about:memory for Linux, but it went from not-implemented to crashing for Mac, due to an out-of-bounds vector access. This returns it to simply not-implemented. http://crbug.com/21830 TEST=Browse to about:memory, don't crash, show a template with obviously null data in it. Review URL: http://codereview.chromium.org/219008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26964 0039d316-1c4b-4281-b951-d872f2087c98
* Adding basic window control to the automation provider for the Mac.avi@chromium.org2009-09-211-40/+0
| | | | | | | | | BUG=http://crbug.com/16616 TEST=as described in bug. Review URL: http://codereview.chromium.org/216024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26681 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of a few NOTIMPLEMENTEDs in the scaffolding.pinkerton@chromium.org2009-09-181-11/+4
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/209035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26608 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: print page to file rather than using shared memory to send it to the ↵estade@chromium.org2009-09-161-48/+0
| | | | | | | | | | | | browser. BUG=9847 adapted from patch by <minyu.huang [at] gmail> Review URL: http://codereview.chromium.org/203062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26308 0039d316-1c4b-4281-b951-d872f2087c98
* Add 3 more flavors of the try chrome toastcpu@chromium.org2009-09-091-1/+1
| | | | | | | | | | | | | - Different strings, pretty much the same deal. - One case removes the radio buttons. BUG=none TEST=none Review URL: http://codereview.chromium.org/198038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25769 0039d316-1c4b-4281-b951-d872f2087c98
* Pass printing result to the browser.maruel@chromium.org2009-09-081-2/+50
| | | | | | | | | | | | The resulting PDF file will now be passed to the browser and be saved as "chromium_printing_test.pdf" under current directory. BUG=9847 TEST=printing on linux should now generate chromium_printing_test.pdf in download directory. Printing on Windows should still work. Patch contributed by minyu.huang@gmail.com Review URL: http://codereview.chromium.org/172115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25615 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary scaffolding cleanup.thestig@chromium.org2009-09-031-14/+12
| | | | | | Review URL: http://codereview.chromium.org/182048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25405 0039d316-1c4b-4281-b951-d872f2087c98
* When running on chrome OS about:version now shows OS version.sky@chromium.org2009-09-011-0/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/179063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25045 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: about:memoryagl@chromium.org2009-09-011-0/+2
| | | | | | | | | | | | | (based on http://code.google.com/p/chromium/issues/detail?id=16251) Add about:memory support to Linux. Rather than try and copy the Windows output, we use a couple of metrics which make more sense on Linux: USS and PSS. http://codereview.chromium.org/177024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24979 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk confirm form resubmission dialog.mattm@chromium.org2009-08-311-7/+0
| | | | | | | | | | | Refactor so that the dialog is shown by calling BrowserWindow::ShowRepostFormWarningDialog BUG=19761 TEST=see bug Review URL: http://codereview.chromium.org/174294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24930 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Gtk confirm form resubmission dialog." Broke linux views build.mattm@chromium.org2009-08-281-0/+7
| | | | | | | | | | This reverts commit e6ab23c81e56c6b9fbb062bbb090a648e6ebef12. TBR=beng Review URL: http://codereview.chromium.org/183006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24827 0039d316-1c4b-4281-b951-d872f2087c98
* Gtk confirm form resubmission dialog.mattm@chromium.org2009-08-281-7/+0
| | | | | | | | | | | Refactor so that the dialog is shown by calling BrowserWindow::ShowRepostFormWarningDialog BUG=19761 TEST=see bug Review URL: http://codereview.chromium.org/174294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24826 0039d316-1c4b-4281-b951-d872f2087c98
* AutomationProvider: Implement GetBrowserForWindow() on mac and linux views.estade@chromium.org2009-08-261-7/+0
| | | | | | Review URL: http://codereview.chromium.org/174505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24547 0039d316-1c4b-4281-b951-d872f2087c98
* Further refactoring of menus for GTK. I've now separated outsky@chromium.org2009-08-241-80/+0
| | | | | | | | | | | | | | | | | everything and menus some what work on GTK. I need to get painting working and I'm sure there will be fine tuning, but I want to check in all this splitting of files before someone else needs change one of these files. Thankfully I wrote an interactive ui test that exercises much of this code, and it still passes:) BUG=none TEST=thoroughly test bookmark menus on windows to make sure I didn't break them. Review URL: http://codereview.chromium.org/174274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24098 0039d316-1c4b-4281-b951-d872f2087c98
* Move the remaining gtk stubs for AutomationProvider out of ↵jhawkins@chromium.org2009-08-231-2/+2
| | | | | | | | | | temp_scaffolding_stubs.cc. BUG=none TEST=none Review URL: http://codereview.chromium.org/174289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24090 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SetWindowBounds and SetWindowVisible in AutomationProvider for Linux.jhawkins@chromium.org2009-08-211-27/+38
| | | | | | | | BUG=16616 TEST=covered by automation tests Review URL: http://codereview.chromium.org/174195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23992 0039d316-1c4b-4281-b951-d872f2087c98
* Splits the menu classes into individual files in anticipation ofsky@chromium.org2009-08-201-1/+1
| | | | | | | | | | | porting them. BUG=none TEST=make sure to thorougly test bookmark menus on windows. Review URL: http://codereview.chromium.org/173091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23801 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add NOTIMPLEMENTED() and bug URL to a stub for prompting about form ↵mdm@chromium.org2009-08-191-0/+2
| | | | | | | | | | | resubmission. BUG=19761 TEST=none Review URL: http://codereview.chromium.org/174092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23772 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in AutomationProvider's navigation observer.phajdan.jr@chromium.org2009-08-181-19/+0
| | | | | | | | | | | | | | Remove unnecessary parameters. Instead of making the callers customize the return codes, just standardize on already present constants. This is a preparation needed before implementing waiting for multiple navigations. TEST=Covered by ui_tests. http://crbug.com/19395 Review URL: http://codereview.chromium.org/171064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23634 0039d316-1c4b-4281-b951-d872f2087c98
* Makes UMA log upload work on non-Windows platforms.cmasone@google.com2009-08-181-0/+1
| | | | | | | | | MemoryDetails::StartFetch() isn't implemented, thus it was never signalling that it was done fetching memory details. Now it does. BUG=15418 Review URL: http://codereview.chromium.org/172052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23602 0039d316-1c4b-4281-b951-d872f2087c98
* Implement drag and drop of downloads for the Mac downloads page.paul@chromium.org2009-08-171-2/+4
| | | | | | | | | | BUG=15776 (http://crbug.com/15776) TEST=Download an item, open the download page, drag the icon of the download to the desktop. Review URL: http://codereview.chromium.org/164459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23548 0039d316-1c4b-4281-b951-d872f2087c98
* Implement http auth login dialog for OS X.thakis@chromium.org2009-08-131-9/+0
| | | | | | | | | | | The login sheet looks very bare-bones…but that's probably ok for now. BUG=12043 TEST=Go to a page that uses http auth, e.g. http://www.pagetutor.com/keeper/mystash/secretstuff.html . A sheet should come up that asks for login and password. Escape should cancel the sheet, return should confirm it. The sheet should be per-tab, e.g. tab switching while the sheet is open should work. Review URL: http://codereview.chromium.org/164391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23276 0039d316-1c4b-4281-b951-d872f2087c98
* Checkpoint for event automation porting.estade@chromium.org2009-08-121-0/+2
| | | | | | | | Partially based on patch by Dan Kegel. Review URL: http://codereview.chromium.org/164371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23209 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for constrained windows on os x, based on Avi's ↵thakis@chromium.org2009-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GTMWindowSheetController. Add carpet bombing dialog as first per-tab sheet. Depends http://codereview.appspot.com/105064 . The main issue with this patch is that GTMWindowSheetController doesn't provide an api to move sheets between windows, so this CL disables tab dragging for tabs with sheets, and fullscreen mode for windows with sheets. We can fix this later. Other stuff that should be done at some point, but not now: * Open/Save panels should be per-tab * Need an ui test that goes to page, then page with sheet, then hit back, forward, reload. * Bookmark sheets should not be sheets but in a separate window BUG=14666 TEST=Go to skypher.com/SkyLined/Repro/Chrome/carpet bombing/repro.html , a per-window sheet should appear. Things to test with this dialog: * Hitting cmd-q while a sheet is open in any tab should not quit but instead focus the sheet. * Hitting cmd-w while a sheet is open in any tab should not close the window but instead focus the sheet. * Dragging a tab with a sheet should move the window (and keep the tab visible), not detach the tab. * Going fullscreen should be disabled for windows with open tabs. * When a per-tab sheet is open in a non-active tab, it shouldn't steal the focus, i.e. going to the page above, then hitting cmd-t, and then hitting cmd-l should work. * Closing a non-frontmost tab with a per-tab sheet shouldn't crash. * Going to the url above and quickly opening a new tab, so that the sheet opens while its tab is not front-most should work (sheet should display only when you switch back to the tab with the sheet). * Go to google.com, then to skypher.com/SkyLined/Repro/Chrome/carpet bombing/repro.html , hit "backward" with open sheet, hit forward, focus location bar, hit enter. This shouldn't crash. * Hitting escape should dismiss the sheet * Hitting enter should confirm the sheet. Review URL: http://codereview.chromium.org/159780 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23091 0039d316-1c4b-4281-b951-d872f2087c98
* Do not import homepage on First Run if a homepage is given in master ↵kuchhal@chromium.org2009-08-111-1/+2
| | | | | | | | | | preferences. BUG=9048 Review URL: http://codereview.chromium.org/164291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23085 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of master preferences parsing before adding a new preference.kuchhal@chromium.org2009-08-031-2/+2
| | | | | | | | | | | | | Currently we are parsing master preferences file three time on startup. Since we only return an int bit mask flag after parsing preferences, it can not handle any preference other than boolean and we end up reading it again for first run tabs and ping delay. This change refactors all the preferences parsing logic to directly pass around DictionaryValue object around in Chrome as well as installer. No functional change but this will make adding a new preference for new icon more logical since we will not read the preferences file once again. BUG=12701 TEST=Make sure all the distribution preferences still work as before. Review URL: http://codereview.chromium.org/159539 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22284 0039d316-1c4b-4281-b951-d872f2087c98
* Revert changes from r22198 to r22204 and r22194. None of these changes werekuchhal@chromium.org2009-07-311-2/+2
| | | | | | | | | supposed to be commited. Seems like git took all the temporary commits from the base branch and uploaded them to svn. Review URL: http://codereview.chromium.org/159736 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22206 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring of master preferences parsing before adding a new preference.kuchhal@chromium.org2009-07-311-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22198 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the "This site is attempting to downloadthakis@chromium.org2009-07-291-0/+2
| | | | | | | | | | | multiple files. Do you want to allow this?" dialog on linux. BUG=12757 TEST=Download several files from the same domain. After the first download, you should be prompted for every additional file you want to download from that domain (try for example http://amnoid.de/ddsview/download.html , click on the "download" link twice). Review URL: http://codereview.chromium.org/159528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21966 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at infobars on Mac. These are not expected to berohitrao@chromium.org2009-07-171-18/+0
| | | | | | | | | | | | | | pretty. Animations and aesthetic appeal will come in a future CL. BUG=http://crbug.com/14462 BUG=http://crbug.com/14937 BUG=http://crbug.com/15839 BUG=http://crbug.com/16487 TEST=Infobars should show up when expected. Review URL: http://codereview.chromium.org/155494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20930 0039d316-1c4b-4281-b951-d872f2087c98
* Added an async automation message AutomationMsg_PrintAsync to asynchronously ↵ananta@chromium.org2009-07-131-0/+4
| | | | | | | | | | print a TabContents. This is on the same lines as the existing sync message AutomationMsg_PrintNow Review URL: http://codereview.chromium.org/149468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20484 0039d316-1c4b-4281-b951-d872f2087c98
* Add default browser checking and setting on Linux.mdm@chromium.org2009-07-101-14/+0
| | | | | | | | | BUG=11972 TEST=none Review URL: http://codereview.chromium.org/155100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20380 0039d316-1c4b-4281-b951-d872f2087c98
* linux: port Jankometerevan@chromium.org2009-07-081-0/+2
| | | | | | | | | | | | | Originally I had split it into multiple files, but I think it's cleaner to just use one. (I want to use this for measuring plugin jank.) BUG=8077 Review URL: http://codereview.chromium.org/155194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20130 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a way to set the boundaries of the browser window througharv@google.com2009-07-081-0/+6
| | | | | | | | | | | | | | | automation and use that to set the size of the window in the "New Tab Cold" to ensure we are testing the normal case and not the small case. BUG=None TEST=The NewTabUIStartupTest, PerfCold should still work. Review URL: http://codereview.chromium.org/149233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20124 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the current remaining Views-GTK compile and linker errors.brettw@chromium.org2009-07-061-0/+25
| | | | | | | | Chrome still doesn't run. Review URL: http://codereview.chromium.org/155026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19977 0039d316-1c4b-4281-b951-d872f2087c98
* Initial implementation of the hung renderer dialog on Mac.rohitrao@chromium.org2009-06-241-10/+0
| | | | | | | | BUG=http://crbug.com/13152 TEST=Navigate to about:hang in a tab, verify that the dialog comes up. Review URL: http://codereview.chromium.org/146012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19125 0039d316-1c4b-4281-b951-d872f2087c98
* Rejiggers the keyword editor so that the UI is independent of the model ↵ben@chromium.org2009-06-231-8/+0
| | | | | | | | | | | rather than being derived from it. This reduces the spaghetti somewhat. Also decouples the notion of a native view hierarchy from the location in TabContents::PageHasOSDD where the template URL fetcher is spawned. The Template URL Fetcher now simply retains a reference to the TabContents that created it. If the TabContents is destroyed before the fetch completes, we just discard the data retrieved without adding a keyword. BUG=none TEST=none Review URL: http://codereview.chromium.org/140054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19003 0039d316-1c4b-4281-b951-d872f2087c98