summaryrefslogtreecommitdiffstats
path: root/ui/base
Commit message (Collapse)AuthorAgeFilesLines
* Updated *.pak file format to support both UTF8 and UTF16adriansc@chromium.org2011-09-195-21/+90
| | | | | | | | | | | | | | | | | Inserted a new field in the header that specifies which encoding is to be used for the text resources. I also upped file format to version 4. BUG=76281 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100973 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101213 Review URL: http://codereview.chromium.org/7744017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101846 0039d316-1c4b-4281-b951-d872f2087c98
* Remove base/scoped_ptr.hakalin@chromium.org2011-09-181-1/+1
| | | | | | | | | | | Fix remaining users to use base/memory/scoped_ptr.h. BUG= TEST= Review URL: http://codereview.chromium.org/7930009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101715 0039d316-1c4b-4281-b951-d872f2087c98
* Aura under Linux is enabled with:saintlou@chromium.org2011-09-181-0/+2
| | | | | | | | | | | 'use_aura': 1, BUG=none TEST=none Review URL: http://codereview.chromium.org/7850026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101704 0039d316-1c4b-4281-b951-d872f2087c98
* Remove generation of .rc files in locale grd files.tony@chromium.org2011-09-162-112/+0
| | | | | | | | | | | | | | Since we use pak files on all platforms, we don't use the .rc files anymore. This should speed up the build a tiny amount. On my Z600, grit on generated_resources.grd goes from 38s to 25s. BUG=None TEST=compiles Review URL: http://codereview.chromium.org/7922002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage.sky@chromium.org2011-09-151-2/+2
| | | | | | | | | | | R=ben@chromium.org,eroman@chromium.org TBR=ben@chromium.org,eroman@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7904028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101383 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some debugging code for a crash. I'm curious to see if the itemssky@chromium.org2011-09-151-11/+43
| | | | | | | | | | | | are valid at the time we enter the destructor. BUG=95851 TEST=none R=eroman@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/7904001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101376 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the spelling of the comment in ImeInput::IsCtrlShiftPressed.ehsan.akhgari@gmail.com2011-09-151-1/+1
| | | | | | | | | | | | Found when borrowing the code into Mozilla. BUG=96706 TEST= Review URL: http://codereview.chromium.org/7903008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101343 0039d316-1c4b-4281-b951-d872f2087c98
* wstring: remove wstrings from all tooltip-related codeevan@chromium.org2011-09-152-6/+4
| | | | | | | | | This is a nearly-mechanical translation of wstring to string16. Removes a *ton* of string conversions. Review URL: http://codereview.chromium.org/7886023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101329 0039d316-1c4b-4281-b951-d872f2087c98
* This broke lots of layout tests on OSX.levin@chromium.org2011-09-155-90/+21
| | | | | | | | | | | | | | | | | | | | | | | | See this link for the failure list: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=@ToT - chromium.org&tests=fast/dom/HTMLTextAreaElement/reset-textarea.html,fast/dom/isindex-001.html,fast/dom/isindex-002.html,fast/forms/blankbuttons.html,fast/forms/box-shadow-override.html,fast/forms/button-default-title.html,fast/forms/file-input-direction.html,fast/forms/hidden-input-file.html,fast/forms/input-appearance-height.html,fast/forms/input-file-re-render.html,fast/forms/input-first-letter.html,fast/forms/isindex-placeholder.html,fast/forms/text-style-color.html,fast/forms/validation-message-appearance.html,fast/html/details-no-summary1.html,fast/html/details-no-summary2.html,fast/html/details-no-summary3.html,fast/html/details-no-summary4.html,fast/html/details-remove-summary-1-and-click.html,fast/html/details-remove-summary-1.html,fast/html/details-remove-summary-4-and-click.html,fast/html/details-remove-summary-4.html,fast/html/keygen.html,tables/mozilla/bugs/bug39209.html,tables/mozilla/bugs/bug4429.html,fast/forms/005.html,fast/forms/input-file-label.html,fast/invalid/residual-style.html,fast/parser/fragment-parser.html,fast/replaced/table-percent-height-text-controls.html,html5lib/runner.html,http/tests/misc/isindex-with-no-form-base-href.html,http/tests/misc/isindex-with-no-form.html Revert 101213 - Updated *.pak file format to support both UTF8 and UTF16 Inserted a new field in the header that specifies which encoding is to be used for the text resources. I also upped file format to version 4. BUG=76281 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100973 Review URL: http://codereview.chromium.org/7744017 TBR=adriansc@chromium.org Review URL: http://codereview.chromium.org/7890060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101224 0039d316-1c4b-4281-b951-d872f2087c98
* Updated *.pak file format to support both UTF8 and UTF16adriansc@chromium.org2011-09-155-21/+90
| | | | | | | | | | | | | | | | Inserted a new field in the header that specifies which encoding is to be used for the text resources. I also upped file format to version 4. BUG=76281 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100973 Review URL: http://codereview.chromium.org/7744017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101213 0039d316-1c4b-4281-b951-d872f2087c98
* Removes debugging code as crash mysteriously stopped happening.sky@chromium.org2011-09-141-18/+0
| | | | | | | | | | | BUG=95851 TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7892018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101073 0039d316-1c4b-4281-b951-d872f2087c98
* A second attempt at CL 7488045: Adding BidiChecker tests with fake bidi.jeremy@chromium.org2011-09-143-9/+25
| | | | | | | | | | | | | | | Changes from prev CL are: - A fix for Linux (committed as CL 7694031). - Enabled fake bidi tests on Windows as well since Windows now uses .pak files. - Suppression URLs now (somewhat) don't require an exact match with the passed in URL. - A more readable error output. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7718027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100973 - Updated *.pak file format to support both UTF8 and UTF16dhollowa@chromium.org2011-09-145-90/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chromeframe tests started failing with this, see: http://build.chromium.org/p/chromium/builders/Chrome%20Frame%20Tests%20%28ie6%29/builds/14472/steps/chrome_frame_tests/logs/stdio http://build.chromium.org/p/chromium/builders/Chrome%20Frame%20Tests%20%28ie7%29/builds/14446/steps/chrome_frame_tests/logs/stdio http://build.chromium.org/p/chromium/builders/Chrome%20Frame%20Tests%20%28ie8%29/builds/14187/steps/chrome_frame_tests/logs/stdio FullTabDownloadTest.TopLevelPostReissueFromChromeFramePage: Did not complete. [----------] 2 tests from FullTabDownloadTest [ RUN ] FullTabDownloadTest.CF_DownloadFileFromPost [ OK ] FullTabDownloadTest.CF_DownloadFileFromPost (16 ms) [ RUN ] FullTabDownloadTest.TopLevelPostReissueFromChromeFramePage [712:3268:0913/153614:1242640:INFO:chrome_frame_test_utils.h(89)] chrome_frame_test::HungCOMCallDetector::~HungCOMCallDetector [712:3268:0913/153614:1242640:INFO:navigation_test.cc(753)] Not running test on Vista with IE7 [712:3268:0913/153614:1242656:INFO:chrome_frame_test_utils.h(85)] chrome_frame_test::HungCOMCallDetector::HungCOMCallDetector Inserted a new field in the header that specifies which encoding is to be used for the text resources. I also upped file format to version 4. BUG=76281 TEST=unit_tests Review URL: http://codereview.chromium.org/7744017 TBR=adriansc@chromium.org Review URL: http://codereview.chromium.org/7891028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101004 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-2/+4
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Updated *.pak file format to support both UTF8 and UTF16adriansc@chromium.org2011-09-135-21/+90
| | | | | | | | | | | | | | Inserted a new field in the header that specifies which encoding is to be used for the text resources. I also upped file format to version 4. BUG=76281 TEST=unit_tests Review URL: http://codereview.chromium.org/7744017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100973 0039d316-1c4b-4281-b951-d872f2087c98
* Check return value of XGetWindowAttributes.reveman@google.com2011-09-121-1/+2
| | | | | | | | | | | There is a chance that window is no longer valid and the call to XGetWindowAttributes will fail and leave |attributes| uninitialized. BUG=chromium-os:16986 TEST=manual Review URL: http://codereview.chromium.org/7831063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100772 0039d316-1c4b-4281-b951-d872f2087c98
* Make the NaCl windows 64 bit binaries not depend on chrome targets. These ↵jam@chromium.org2011-09-122-65/+0
| | | | | | | | | | | | | targets are very simple and used little code from chrome targets. However their dependency on chrome targets was problematic because a lot of code wasn't being built for 64 bit on Windows, and so there were a lot of "dummy" files being added with stub functions and code was also being compiled out in random places for NACL_WIN64. I've made the NaCl 64 bit windows targets self contained. They do use a few files from common, but those files are self-contained. In the future, we could move these to be in the same 64 bit target as the constants from common. However that won't make a maintenance difference since someone could still introduce link dependencies to other files in common. Additionally, since we're not using chrome code anymore, we can avoid having both nacl.exe and nacl.dll. nacl.exe is sufficient, and this saves 1.4MB of uncompresed binaries in the installer. BUG=86322 Review URL: http://codereview.chromium.org/7863024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100767 0039d316-1c4b-4281-b951-d872f2087c98
* Merged duplicate functions from tools/data_pack into the ↵adriansc@chromium.org2011-09-091-1/+1
| | | | | | | | | | | | | | grit/format/data_pack class. Marked tools/data_pack directory for removal when the dependency in third_party file WebKit.gyp has been updated to point to grit. BUG=none TEST=builds Review URL: http://codereview.chromium.org/7795057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100504 0039d316-1c4b-4281-b951-d872f2087c98
* Move TestEventUtils from chrome to ui.avi@chromium.org2011-09-093-3/+137
| | | | | | | | | BUG=95573 TEST=no change Review URL: http://codereview.chromium.org/7796008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100474 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some debugging to help identify the id of the menu that is crasing.sky@chromium.org2011-09-091-0/+18
| | | | | | | | | | BUG=95851 TEST=none R=ben@chromium.org,eroman@chromium.org Review URL: http://codereview.chromium.org/7858012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100439 0039d316-1c4b-4281-b951-d872f2087c98
* * Truncate file name longer than MAX_PATH(260).yosin@chromium.org2011-09-091-15/+16
| | | | | | | | | | | | * Change for cpplint.py BUG=93601 TEST=Manual on Windows Review URL: http://codereview.chromium.org/7778008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100373 0039d316-1c4b-4281-b951-d872f2087c98
* Move BaseView from chrome to content.avi@chromium.org2011-09-085-0/+590
| | | | | | | | | BUG=95573 TEST=no change Review URL: http://codereview.chromium.org/7782039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100273 0039d316-1c4b-4281-b951-d872f2087c98
* Remove EventType, EventFlags, MouseEventFlags enum re-definitions.msw@chromium.org2011-09-081-1/+2
| | | | | | | | | | | Remove unnecessary includes from ui/base/models/accelerator.h. BUG=93945 TEST=none Review URL: http://codereview.chromium.org/7848011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100179 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some static initializers caused by colors in gtk_hig_constants.h.tony@chromium.org2011-09-072-25/+8
| | | | | | | | | | | | | | - Remove kGdkGreen (only used in one place) and kGdkGray (used in 3 places for a disabled text field). - Inline the definition of kGdkBlack and kGdkWhite to avoid copy being run as a static initializer. BUG=94925 Review URL: http://codereview.chromium.org/7838014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99973 0039d316-1c4b-4281-b951-d872f2087c98
* Removed sample.pak binary from checkout.adriansc@chromium.org2011-09-064-8/+47
| | | | | | | | | | | | | | | Replaced by hexa literal in the two ui_unittests that need it. This will make any later changes easier to perform, and it also eliminates the problem of having binary files which are ignored by patches in the repo. BUG=none TEST=ui_unittest:{DataPackTest.*, ResourceBundle.*} Review URL: http://codereview.chromium.org/7779019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99842 0039d316-1c4b-4281-b951-d872f2087c98
* Removed ActivatedAtWithDisposition from menu handler, and introduced ↵shinyak@google.com2011-09-054-5/+20
| | | | | | | | | | | | | | | | ActivatedAt(int id, int event_flags) instead. After this patch is landed, I will upload cleanup patch. See also http://codereview.chromium.org/6893046/ BUG=93700 TEST=None Review URL: http://codereview.chromium.org/7778041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99651 0039d316-1c4b-4281-b951-d872f2087c98
* Reuse ResourceBundle to detect locale availability.torne@chromium.org2011-09-034-17/+21
| | | | | | | | | | | | | | IsLocaleAvailable reimplements the logic for finding the resource file for a given locale and testing if it exists. Expose this in ResourceBundle instead which contains the actual resource file loading code and thus is the canonical source for how to create this path. TEST=ResourceBundle.LocaleDataPakExists Review URL: http://codereview.chromium.org/7831036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99495 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/timer.h code to pass through Location from call sites. (reland) ↵jbates@chromium.org2011-09-021-1/+1
| | | | | | | | original CL w/LGTMs: http://codereview.chromium.org/7812036/ Review URL: http://codereview.chromium.org/7824041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99409 0039d316-1c4b-4281-b951-d872f2087c98
* Introduced check to ensure that PAK files contain untruncated headers.adriansc@chromium.org2011-09-023-0/+18
| | | | | | | | | | | | See bug for crash report details. BUG=95119 TEST=ui_unittests:DataPackTest.LoadFileWithTruncatedHeader Review URL: http://codereview.chromium.org/7830025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99406 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location,mattm@chromium.org2011-09-021-1/+1
| | | | | | | | | | | | so the original code that created the delayed callback is lost." This reverts commit 4cf5cf73d319b69c32ad30af8954235755856455. (r99284) TBR=jbates@chromium.org Review URL: http://codereview.chromium.org/7825026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99290 0039d316-1c4b-4281-b951-d872f2087c98
* Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, so ↵jbates@chromium.org2011-09-021-1/+1
| | | | | | | | | | the original code that created the delayed callback is lost. This change adds a tracked_objects::Location parameter to the APIs in base/timer.h so we can trace the PostTask callbacks. The other files are touched to add the FROM_HERE Location parameter. Review URL: http://codereview.chromium.org/7812036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99284 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring a session should restore window minimization state on Windowsdhollowa@chromium.org2011-08-311-1/+2
| | | | | | | | | | | | | These changes enable save and restore of minimized window state on Windows. (Mac and Linux came prior). The window state is now saved whenever size-changed notifications fire (in addition to the original activation and close cases). BUG=43274 TEST=Manual. Launch Chrome on Windows, create two browser windows, minimize "a" window, quit. Relaunch, expect "a" to be minimized. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98679 Review URL: http://codereview.chromium.org/7748036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99077 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify chrome_exe_main_*.cc, moving as much of the code out as possible. ↵jam@chromium.org2011-08-311-0/+1
| | | | | | | | This is in preparation for moving the code in ChromeMain (and associated platform files) to a common place that can be used by both chrome and other embedders of content (i.e. content_shell). Included is a change to make the sandbox code not need an AtExitManager. This is necessary because content_shell would be just one exe, and we'd need to initialize the sandbox before calling ChromeMain, which is what would creat AtExitManager.I removed the code that printed the tcmalloc stacks in the OOM handler (i.e. r33993) under Windows. The issue is I wanted to move the OOM handling code to base to match the other platforms (in a long string of changes to make the startup code more sane, so I can share it with a browser built over content). When I tried moving the tcmalloc code to base, then I ran into a bunch of linker errors because a bunch of targets that depend on base don't depend on allocator. When I tried to add that to base, I ran into strange gyp errors (see patchset 2). I asked Jim/Eric and they said they don't use this data from dumps, and that most of the OOM minimdumps are in v8 heap anyways. When James get back, if he still uses this I can figure out how to put this back.BUG=90445 Review URL: http://codereview.chromium.org/7810005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99032 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: eliminate extra map from XID to browser windowevan@chromium.org2011-08-312-0/+27
| | | | | | | | | | | | GTK already maintains a map from XID to GdkWindow*, and from there we can follow pointers to get the pointer we want. Eliminate this redundant (statically-initialized) map. TEST=tab dragging between windows still works Review URL: http://codereview.chromium.org/7794012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99022 0039d316-1c4b-4281-b951-d872f2087c98
* Followup http://codereview.chromium.org/7740048: g_free() the keys mapnoel@chromium.org2011-08-301-3/+8
| | | | | | | | | | | | object (GdkKeymapKey*) returned by gdk_keymap_get_entries_for_keyval(). BUG=94211 TEST=webkit LayoutTests/plugins/keyboard-events.html Review URL: http://codereview.chromium.org/7777006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98771 0039d316-1c4b-4281-b951-d872f2087c98
* content: Reapply "Start splitting up chrome/browser/ui/gtk/gtk_util.h" (r98287)erg@google.com2011-08-292-0/+74
| | | | | | | | | | | | | | | | | Now with fixes for builds that trybots don't cover by default. (This yak needs shaving because chunks of gtk using code in chrome/ are being moved to content/ to build the content_shell, but we can't depend on code in chrome/. While I'm here, split gtk_util.h into a set of logical chunks: hig constants, widget factory functions, etc instead of just moving the file.) BUG=93804 TEST=none; code move First Review URL: http://codereview.chromium.org/7737001 Review URL: http://codereview.chromium.org/7748026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98711 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98679 - Restoring a session should restore window minimization state ↵dhollowa@chromium.org2011-08-291-2/+1
| | | | | | | | | | | | | | | | | on Windows These changes enable save and restore of minimized window state on Windows. (Mac and Linux came prior). The window state is now saved whenever size-changed notifications fire (in addition to the original activation and close cases). BUG=43274 TEST=Manual. Launch Chrome on Windows, create two browser windows, minimize "a" window, quit. Relaunch, expect "a" to be minimized. Review URL: http://codereview.chromium.org/7748036 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/7790010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98699 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring a session should restore window minimization state on Windowsdhollowa@chromium.org2011-08-291-1/+2
| | | | | | | | | | | | These changes enable save and restore of minimized window state on Windows. (Mac and Linux came prior). The window state is now saved whenever size-changed notifications fire (in addition to the original activation and close cases). BUG=43274 TEST=Manual. Launch Chrome on Windows, create two browser windows, minimize "a" window, quit. Relaunch, expect "a" to be minimized. Review URL: http://codereview.chromium.org/7748036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98679 0039d316-1c4b-4281-b951-d872f2087c98
* Add a GTK support routine that returns a simulated nativeKeyCode for a givennoel@chromium.org2011-08-292-0/+14
| | | | | | | | | | | | | | windowKeyCode. Simulated since there's no keyboard attached when testing in webkit DRT, so DRT::eventSender.keyDown() must simulate keyboard events. https://bugs.webkit.org/show_bug.cgi?id=66679 BUG=94211 TEST=webkit LayoutTests/plugins/keyboard-events.html Review URL: http://codereview.chromium.org/7740048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98599 0039d316-1c4b-4281-b951-d872f2087c98
* Move the mouse wheel utils from views to ui\base\win, to get rid of some ↵jam@chromium.org2011-08-262-0/+154
| | | | | | | | views dependencies in content. Review URL: http://codereview.chromium.org/7753025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98479 0039d316-1c4b-4281-b951-d872f2087c98
* Move TooltipWindowGtk from views/widget to ui/base/gtk.xiyuan@chromium.org2011-08-262-0/+153
| | | | | | | | | | | | | TooltipWidgetGtk is a gtk based helper class that replaces a widget's default tooltip with a RGBA friendly version. It's not closely coupled with views and ui/base/gtk seems to be a better home for it. This move gets rid of RenderWidgetHostViewGtk's dependency on views. BUG=none. TEST=Expect no change. ChromeOS's tooltip should still have rounded corners. Review URL: http://codereview.chromium.org/7753038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98475 0039d316-1c4b-4281-b951-d872f2087c98
* Block {am, fa, sw} and {kn, te} on CrOS and roll ICU to 98343jshin@chromium.org2011-08-261-0/+18
| | | | | | | | | | | | | | | | The former is blocked until we have translation back for them. For ChromeOS R14, we'll not have them ready. The former is blocked until we have fonts for them to use on CrOS. This change will be reverted once two issues above are resolved. See http://codereview.chromium.org/7725002/ for the ICU part that removed the CrOS-specific ICU data file. BUG=chromium-os:19465 TEST=The UI language list does not include the above 5 languages on CrOS. Review URL: http://codereview.chromium.org/7726003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98435 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98426 - Revert 98103 - Switch to using .pak files for locale data on ↵battre@chromium.org2011-08-268-179/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows. We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/7759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98427 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98103 - Switch to using .pak files for locale data on Windows.battre@chromium.org2011-08-268-112/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98426 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing null check in Clipboard::ReadImage.dcheng@chromium.org2011-08-261-1/+3
| | | | | | | | | | | | | | Even though CF_DIB is always supposed to be synthesized from CF_BITMAP, change the types to match in Clipboard::ReadAvailableTypes. We also add a NULL check in Clipboard::ReadImage in case the contents of the clipboard change between the time the clipboard types are accessed and the the clipboard content is accessed. BUG=94332 TEST=none Review URL: http://codereview.chromium.org/7741035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98361 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/resource_util.* into base/win/ since it's windows specific.tony@chromium.org2011-08-251-7/+7
| | | | | | Review URL: http://codereview.chromium.org/7698005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98337 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "content: Start splitting up chrome/browser/ui/gtk/gtk_util.h"erg@google.com2011-08-252-74/+0
| | | | | | | | | | This reverts r98287. BUG=93804 Review URL: http://codereview.chromium.org/7749017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98290 0039d316-1c4b-4281-b951-d872f2087c98
* content: Start splitting up chrome/browser/ui/gtk/gtk_util.herg@google.com2011-08-252-0/+74
| | | | | | | | | | | | | | This yak needs shaving because chunks of gtk using code in chrome/ are being moved to content/ to build the content_shell, but we can't depend on code in chrome/. While I'm here, split gtk_util.h into a set of logical chunks: hig constants, widget factory functions, etc instead of just moving the file. BUG=93804 TEST=none; code move Review URL: http://codereview.chromium.org/7737001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98287 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move gtk_expanded_container to ui/base/gtk/.erg@google.com2011-08-253-0/+427
| | | | | | | | | | | This is used in code that will be moved for use in content_shell. BUG=93804 TEST=none; code move Review URL: http://codereview.chromium.org/7740003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98282 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move gtk_floating_container to ui/base/gtk/.erg@google.com2011-08-242-0/+410
| | | | | | | | | | | This is used in code that will be moved for use in content_shell. BUG=93804 TEST=none; code move Review URL: http://codereview.chromium.org/7701012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98130 0039d316-1c4b-4281-b951-d872f2087c98