summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/gtk_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* [gtk] Add an extra repaint that we need in certain border cases.estade@chromium.org2010-10-111-2/+1
| | | | | | | | | | | This is triggered by the secure infobars on the new tab page when toggling the floating bookmark bar. The reason it comes up is because it applies in the CairoShowRect() case, but not in the XShowRect() case. BUG=none TEST=manual; perf bots (after landing) Review URL: http://codereview.chromium.org/3644001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62185 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] update infobars to new, harder-to-spoof versions.estade@chromium.org2010-10-081-0/+23
| | | | | | | | | | | | | | | | | | This doesn't support the multiple infobar case. It does however support the following: - There is a drop shadow over the render view content, over the toolbar area, and an arrow to the location icon. - animations while enabling/disabling the bookmark bar, on normal page or NTP - different infobar colors - switching between tabs with or without infobars - animated appearance/disappearance (animation is alpha-fade) Popup windows don't appear to support infobars (at least I can't get an infobar to open in a popup window), but this new code doesn't cause crashes there either. BUG=48996 TEST=manual (see above) Review URL: http://codereview.chromium.org/3621010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62001 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Update the InfoBar UI to the new style.tfarina@chromium.org2010-09-301-0/+9
| | | | | | | | | | | | | | | | - Move the buttons on Confirm info bar from the right edge to the left, right after the label text. BUG=39102 TEST=Go to mail.google.com, see the save info bar appear, see if the buttons are right after the label text. Go to http://maps.google.co.uk/maps/m, and see the geolocation info bar appear, the same result should happens. WIP! Screenshot: http://i.imgur.com/1bj4E.png Review URL: http://codereview.chromium.org/3034063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61027 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] Only use label wrapping workaround when in RTL mode.estade@chromium.org2010-09-101-0/+26
| | | | | | | | | BUG=none TEST=see attached image Review URL: http://codereview.chromium.org/3351023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59160 0039d316-1c4b-4281-b951-d872f2087c98
* Change UI font at startup time if necessary, based on the UI locale.satorux@chromium.org2010-09-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | As of writing, ChromeDroidSans is used as the UI font (see /etc/gtk-2.0/gtkrc). This setting does not work well for Japanese users as Chinese glyphs are used for Kanji characters. For Japanese UI, we should use a Japanese font. Introduce IDS_UI_FONT_FAMILY_CROS to control the UI font based on the UI locale. For now, app_locale_settings_ja.xtb only contains a non-default value: IPAPGothic. Just for the record, I originally tried to use "DroidSans Japanese" but for some reason, this caused space characters (0x20) to be garbled in the wrench menu. Hence, IPAPGotchic is chosen for now. TEST=manually on the netbook, and ubuntu BUG=chromium-os:4038 Review URL: http://codereview.chromium.org/3275008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58913 0039d316-1c4b-4281-b951-d872f2087c98
* reland r57885 with a fix for the DCHECK failures observed by nsylvain.estade@chromium.org2010-09-041-0/+7
| | | | | | | | | | | Now we only delay shutdown of the constrained window in the escape case (see constrained_window_gtk.cc). Locally this fixes the DCHECKs in both manual testing and the login prompt ui tests. BUG=53242, 50799 TEST=ui_tests --gtest_filter=LoginPromptTest* Review URL: http://codereview.chromium.org/3351006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58259 - reland r57885 with a fix for linux/views.nsylvain@chromium.org2010-09-021-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We believe this caused a lot of login prompt auth tests to fail with : [5860:5871:2463125642585:FATAL:chrome/browser/gtk/owned_widget_gtk.cc(39)] Check failed: ((((GObject*) g_type_check_instance_cast ((GTypeInstance*) ((widget)), (((GType) ((20) << (2))))))))->ref_count == 1U (3 vs. 1) Backtrace: StackTrace::StackTrace() [0x8b2d896] logging::LogMessage::~LogMessage() [0x8b47321] OwnedWidgetGtk::Destroy() [0x81b2536] LoginHandlerGtk::~LoginHandlerGtk() [0x860a419] base::RefCountedThreadSafe<>::DeleteInternal() [0x82911a4] base::DefaultRefCountedThreadSafeTraits<>::Destruct() [0x82911b7] base::RefCountedThreadSafe<>::Release() [0x8291215] ------ Original message: [GTK] a couple of constrained window fixes: 1) don't grab focus when the parent tab isn't showing. Grab the focus when the tab is brought to the front. 2) handle escape via normal key handling rather than accelerator keys 3) don't allow the content view to take focus (via tab) when the constrained window is showing. BUG=53242, 50799 TEST=see bugs. Also, tabbing between constrained window and url bar should work as expected. Review URL: http://codereview.chromium.org/3235010 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/3293005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58308 0039d316-1c4b-4281-b951-d872f2087c98
* reland r57885 with a fix for linux/views.estade@chromium.org2010-09-011-0/+7
| | | | | | | | | | | | | | | [GTK] a couple of constrained window fixes: 1) don't grab focus when the parent tab isn't showing. Grab the focus when the tab is brought to the front. 2) handle escape via normal key handling rather than accelerator keys 3) don't allow the content view to take focus (via tab) when the constrained window is showing. BUG=53242, 50799 TEST=see bugs. Also, tabbing between constrained window and url bar should work as expected. Review URL: http://codereview.chromium.org/3235010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58259 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting to fix Chromium Arm compile failures. Please reland after fixing.ananta@chromium.org2010-08-301-7/+0
| | | | | | | | | | | | | | | | | | Revert 57885 - [GTK] a couple of constrained window fixes: 1) don't grab focus when the parent tab isn't showing. Grab the focus when the tab is brought to the front. 2) handle escape via normal key handling rather than accelerator keys 3) don't allow the content view to take focus (via tab) when the constrained window is showing. BUG=53242, 50799 TEST=see bugs. Also, tabbing between constrained window and url bar should work as expected. Review URL: http://codereview.chromium.org/3227003 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/3257005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57891 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] a couple of constrained window fixes:estade@chromium.org2010-08-301-0/+7
| | | | | | | | | | | | | 1) don't grab focus when the parent tab isn't showing. Grab the focus when the tab is brought to the front. 2) handle escape via normal key handling rather than accelerator keys 3) don't allow the content view to take focus (via tab) when the constrained window is showing. BUG=53242, 50799 TEST=see bugs. Also, tabbing between constrained window and url bar should work as expected. Review URL: http://codereview.chromium.org/3227003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57885 0039d316-1c4b-4281-b951-d872f2087c98
* Expose GetStockPreferencesMenuLabel() on ChromeOS also.atwilson@chromium.org2010-08-251-1/+1
| | | | | | | | TBR=tommi Review URL: http://codereview.chromium.org/3132042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57370 0039d316-1c4b-4281-b951-d872f2087c98
* Added options/preferences menu item to status icon context menus. Also ↵atwilson@chromium.org2010-08-251-0/+9
| | | | | | | | | | | refactored code to get the stock preferences menu item label out of wrench_menu_model and into gtk_utils where it can be shared. BUG=37375 TEST=none Review URL: http://codereview.chromium.org/3175032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57364 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update autocomplete popup colors.derat@chromium.org2010-08-251-0/+20
| | | | | | | | | | | | This fetches them from GTK using the same logic as is used in the GTK port. BUG=chromium-os:3916 TEST=built and ran it for GTK and Chrome OS Views Review URL: http://codereview.chromium.org/3198013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57271 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Clean up some headers in tab_contents_delegate.h.erg@google.com2010-08-101-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3145001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55635 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: fix navigation button click logic.estade@chromium.org2010-07-171-1/+1
| | | | | | | | | BUG=none TEST=right click on new tab button should do nothing rather than crash in debug. Review URL: http://codereview.chromium.org/3005014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52782 0039d316-1c4b-4281-b951-d872f2087c98
* Moves gtk accelerator processing functions to base/gtk_util so I cansky@chromium.org2010-07-011-37/+1
| | | | | | | | | | | | | use them from views and gfx. Sorry for the new patch on this and not an update. Not sure what happened. BUG=none TEST=none Review URL: http://codereview.chromium.org/2809047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51409 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r50859 with chromeos fixes.erg@chromium.org2010-06-251-2/+17
| | | | | | | | | | | | | | | | GTK: First draft of the unified cut/copy/paste and +/-/Fullscreen menu items. Adds special menu item types that allow shoving buttons into them, along with tracking which button is selected. We now are halfway to the mocks that the chrome-ui-leads sent out. Review URL: http://codereview.chromium.org/2800015 BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2879002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50896 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50859 - GTK: First draft of the unified cut/copy/paste and ↵rafaelw@google.com2010-06-251-17/+2
| | | | | | | | | | | | | | | | | | +/-/Fullscreen menu items. Adds special menu item types that allow shoving buttons into them, along with tracking which button is selected. We now are halfway to the mocks that the chrome-ui-leads sent out. BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2800015 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/2836029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50865 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: First draft of the unified cut/copy/paste and +/-/Fullscreen menu items.erg@chromium.org2010-06-251-2/+17
| | | | | | | | | | | | | Adds special menu item types that allow shoving buttons into them, along with tracking which button is selected. We now are halfway to the mocks that the chrome-ui-leads sent out. BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50859 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bookmark editor regression and host hung monitor dialog.xiyuan@chromium.org2010-06-231-0/+4
| | | | | | | | | | | | | - Fix bookmark editor size regression because the controls on it are not visible and caused gtk_util::ShowDialog get the wrong size; - Host hung monitor dialog in a Chrome window as other dialogs; BUG=none TEST=Verify "Add Page" or "Edit" bookmark dialog shows up correctly and verify that hung monitor shows up in a chrome window instead of full screen. Review URL: http://codereview.chromium.org/2808021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50599 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 3967 and a couple related issues.xiyuan@chromium.org2010-06-111-1/+22
| | | | | | | | | | | | | - Improve gtk_util::ShowDialog to respect dialog size and resizable trait; - Make TaskManagerGtk remember correct geometry info; - Use gtk_util::PresentWindow instead of gek_window_present; BUG=chromium-os:3967 TEST=Verify fix for chromium-os:3967 Review URL: http://codereview.chromium.org/2776005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49566 0039d316-1c4b-4281-b951-d872f2087c98
* Update dialog parent handling logic.xiyuan@chromium.org2010-06-021-3/+19
| | | | | | | | | | | | | | - Use real transient parent for hosted native dialogs since window manager supports transient of transient now; - Use last active normal browser window as parent for option dialogs since we don't want to use panel popups as parent; BUG=chromium-os:3708 TEST=none. This CL gives real transent parent for dialogs but we still need to way to show the dialogs, either exit fullscreen or put them on top of fullscreen. Review URL: http://codereview.chromium.org/2501001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48773 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Polish find bar in gtk mode.erg@chromium.org2010-05-141-0/+4
| | | | | | | | | | | | - Remove font constraints in GTK+ mode. - Prevent Clearlooks engine from drawing over widgets. BUG=43141 TEST=none Review URL: http://codereview.chromium.org/2095005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47310 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: fix setting minimum window size to not produce conflicting infoevan@chromium.org2010-05-101-10/+15
| | | | | | | | | | | | | | | Before we could potentially set a minimum size greater than the maximum size. Now we take whichever is larger: the size requested in the resources and the actual size of the content. This allows the resource size to grow the window larger without chopping off the content if the content is larger than the specified resources size. BUG=40580 TEST=verified it looked ok in en, pt, and de (all three cases are different) Review URL: http://codereview.chromium.org/2034005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46873 0039d316-1c4b-4281-b951-d872f2087c98
* Host cookie modal dialog and js modal modal dialog in NativeDialogHostxiyuan@chromium.org2010-05-061-2/+29
| | | | | | | | | | | | | | | | | | | | | - Enable modal dialog in NativeDialogHost. This is not fully work in ChromeOS because e.g. user could still alt-tab away. However, setting modal would block user from interacting with relevant browser window and avoid crashes; - Move dialog close code from NativeHostDialog's destructor to WindowClosing because a dialog's "response" signal handler could rely on the contents; - Add "check-resize" signal handler to make GtkExpander work nicely with NativeDialogHost; - Add ShowModalDialogWithMinLocalizedWidth to gtk_util for cookie and js modal dialog; - Change in WidgetGtk::SetBounds to call gtk_window_move/resize always to keep GtkWindow's geometry info up-to-date; BUG=none TEST=Verify cookie prompt and js dialog on ChromeOS is hosted in a Chrome window and not occupy the whole screen. Review URL: http://codereview.chromium.org/1995001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46619 0039d316-1c4b-4281-b951-d872f2087c98
* Host native gtk dialog in a Chrome window.xiyuan@chromium.org2010-05-041-0/+65
| | | | | | | | | | | | - Add a NativeDialogWindow as container for native dialog contents; - Host native option dialogs in NativeDialogWindow; BUG=<http://crosbug.com/1885> TEST=Verify sub dialogs from options dialog have a frame and no longer full screen. Review URL: http://codereview.chromium.org/1702018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46391 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: unify the bookmark dragging icon generation code into bookmark utils.estade@chromium.org2010-04-301-0/+9
| | | | | | | | | | | this also has the effect of standardizing the appearance of boomkark drags. On compositing window managers, the drag widget will have no background. BUG=42147 TEST=manual Review URL: http://codereview.chromium.org/1780016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46153 0039d316-1c4b-4281-b951-d872f2087c98
* Re-instate the temporary revert from r45267. That reverted certainshess@chromium.org2010-04-231-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Omnibox, toolbar, tab animations, and other UI changes for purposes of testing and merging into mstone-5. Additionally reverts these CLs to fix the earlier revert: r45271: [Mac] Image references missing from Omnibox revert. r45268: GTK fix merge failure in uber-revert. Additional revert which fixed a bug for the branch: r45381: [Mac] Omnibox popup icons and text lined up under toolbar. Slight merge conflict which should be good: r45322: GTK: Implement OnDragCanceled() for autocomplete... Also ++kThemePackVersion and regenerate the cached theme pak. Re-instated changes: r45213: GTK: Override cursor colors in chrome-theme mode. r45103: Support drawing nano tabs in the tabstrip. r45084: GTK: Position the EV certificate stuff inside a green bubble. r44979: Subclassing the InfoBubble to handle anchoring bubbles basedon... r44957: GTK: Tint the geolocation icons in gtk mode. r44943: Changes FormatURL to not strip http if the host starts with ft... r44930: Remove an icon that is no longer used. r44929: SSL UI changes, Windows, code side (images are separate). r44859: SSL UI changes (icons). TBRed since trybots hate binary patches. r44822: GTK: Select better greens in the native omnibox popup. r44814: GTK: navigate to URL on PRIMARY when middle-clicking the locat... r44789: [Mac] Bookmark star missing on NTP and BMM. r44775: [Mac] Centralize hack to make tests work with AutocompleteClas... r44678: Display the SECURITY_WARNING status in the location bar for the r44648: [Mac] Add an arrow cursor rect for the location image. r44615: Revert r44611 because it may have broken "unit_tests" on "Vist... r44611: Display the SECURITY_WARNING status in the location bar for the r44577: Revert 44572 - [Mac] Update locationbar icon as user types. r44572: [Mac] Update location-bar icon as user types. r44555: GTK: Use correct button mask on reload button. r44545: [Mac] Omnibox text drag drag URL when select-all. r44523: GTK: Prevent inappropriate drag of location bar location icon. r44519: GTK: make the primary selection include the url's scheme when ... r44492: [Mac] Fix search icon in keyword search to be right-side-up. r44415: GTK: Update top padding on icons in the autocomplete popup. r44401: GTK: Tint omnibox icons in GTK mode differently. r44380: GTK: Move reload in gtk mode and fix omnibox popup location. r44282: Fixes crash in autocomplete when typing some URLs. The problem r44273: [Mac] PDF icons for omnibox nits. r44269: Fix build break due to bad merge resolve r44268: Shift omnibox dropdown in and up on Windows, and square off th... r44178: GTK: fix TTS padding. r44177: Round the top left and right edges of the toolbar. r44171: Images only checkin for try server goodness. r44163: GTK: fix padding of autocomplete popup. r44152: [Mac] PDF icons for omnibox. r44145: GTK: Theme the icons in the location bar and use GTK colors fo... r44140: Strips http from the omnibox r44131: Fixes bugs in new tab strip animations where they weren't doin... r44116: Change the default theme colors. r44117: Add newline to EOF to fix CrOS builder. r44115: Make the bottom edges of the opaque frame rounded. r44091: [Mac] No star icon or page actions in omnibox on popups. r44087: Don't allow drag or click on location icon when editing in omn... r44021: [GTK] Add TTS lens graphic to linux TTS box. r44008: [Mac] Tweak location icon spacing in omnibox. r43977: GTK: don't show the star or page actions in ShouldOnlyShowLoca... r43972: Make the firstrun bubble point at a better spot now that the l... r43971: [Mac] Location icon in omnibox as drag source. r43970: Make the star and page action icons not appear on popup windows. r43954: Fixes bug in TabStrip where dragging tab out then back in rapidly r43864: Tweaks to BoundsAnimator/SlideAnimation and TabStrip: r43787: Allow location icon to be dragged & dropped. This also fixes ... r43759: Changes end cap of tab-to-search images. r43740: Change bookmark bar toggle to ctrl-shift-b. r43723: Show Page Info dialog on mouse up, not mouse down. r43677: Fix Mac build failure. r43676: Replace omnibox icons with new set that are all the same size ... r43596: Fix browser test TestStarButtonAccObj. r43593: Disables TestStarButtonAccObj. r43582: Changes tab strip to use BoundsAnimator for tab strip animatio... r43563: GTK: don't show reload button for popup/app windows. r43562: Star/reload shuffle, Windows version. r43540: [Mac] Magnifying glass in keyword-search bubble. r43482: Adds images needed for new tab animation. I'm separating this ... r43422: Add reload mask resource. r43392: GTK: make the location icon a drag source. r43376: [Mac] Move star button into page-actions area of omnibox. r43357: [Mac] Line up omnibox popup under field. r43290: gtk: fix display of icons in omnibox popup r43269: GTK: fix reload button. r43249: [Mac] Rearrange SSL status icon/label in omnibox. r43248: BrowserThemePack: Adds persistant ids for the reload endcaps. r43241: GTK: more location bar updates. r43191: Fix memory leak in BrowserThemePack. r43154: GTK: set the new star button's ID r43151: Fix bad conflict resolution for r43146. r43146: GTK: toolbar reload/star shuffle. r43025: Show the location bar icon (almost) all the time, and have its... r43023: Add new images for new reload button. No code change. r42782: Remove this icon, now that it's no longer used (due to my secu... r42502: Omnibox M5 work, part 1: Security changes r42245: Check in new icons for omnibox security changes alone, so that... BUG=none TEST=People go back to complaining about missing http://. R=pkasting@chromium.org,beng@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45474 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily revert certain Omnibox, toolbar, tab animations, and othershess@chromium.org2010-04-221-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UI changes for purposes of testing and merging into mstone-5. Also ++kThemePackVersion and regenerate the cached theme pak. Reverted changes: r45213: GTK: Override cursor colors in chrome-theme mode. r45103: Support drawing nano tabs in the tabstrip. r45084: GTK: Position the EV certificate stuff inside a green bubble. r44979: Subclassing the InfoBubble to handle anchoring bubbles basedon... r44957: GTK: Tint the geolocation icons in gtk mode. r44943: Changes FormatURL to not strip http if the host starts with ft... r44930: Remove an icon that is no longer used. r44929: SSL UI changes, Windows, code side (images are separate). r44859: SSL UI changes (icons). TBRed since trybots hate binary patches. r44822: GTK: Select better greens in the native omnibox popup. r44814: GTK: navigate to URL on PRIMARY when middle-clicking the locat... r44789: [Mac] Bookmark star missing on NTP and BMM. r44775: [Mac] Centralize hack to make tests work with AutocompleteClas... r44678: Display the SECURITY_WARNING status in the location bar for the r44648: [Mac] Add an arrow cursor rect for the location image. r44615: Revert r44611 because it may have broken "unit_tests" on "Vist... r44611: Display the SECURITY_WARNING status in the location bar for the r44577: Revert 44572 - [Mac] Update locationbar icon as user types. r44572: [Mac] Update location-bar icon as user types. r44555: GTK: Use correct button mask on reload button. r44545: [Mac] Omnibox text drag drag URL when select-all. r44523: GTK: Prevent inappropriate drag of location bar location icon. r44519: GTK: make the primary selection include the url's scheme when ... r44492: [Mac] Fix search icon in keyword search to be right-side-up. r44415: GTK: Update top padding on icons in the autocomplete popup. r44401: GTK: Tint omnibox icons in GTK mode differently. r44380: GTK: Move reload in gtk mode and fix omnibox popup location. r44282: Fixes crash in autocomplete when typing some URLs. The problem r44273: [Mac] PDF icons for omnibox nits. r44269: Fix build break due to bad merge resolve r44268: Shift omnibox dropdown in and up on Windows, and square off th... r44178: GTK: fix TTS padding. r44177: Round the top left and right edges of the toolbar. r44171: Images only checkin for try server goodness. r44163: GTK: fix padding of autocomplete popup. r44152: [Mac] PDF icons for omnibox. r44145: GTK: Theme the icons in the location bar and use GTK colors fo... r44140: Strips http from the omnibox r44131: Fixes bugs in new tab strip animations where they weren't doin... r44116: Change the default theme colors. r44117: Add newline to EOF to fix CrOS builder. r44115: Make the bottom edges of the opaque frame rounded. r44091: [Mac] No star icon or page actions in omnibox on popups. r44087: Don't allow drag or click on location icon when editing in omn... r44021: [GTK] Add TTS lens graphic to linux TTS box. r44008: [Mac] Tweak location icon spacing in omnibox. r43977: GTK: don't show the star or page actions in ShouldOnlyShowLoca... r43972: Make the firstrun bubble point at a better spot now that the l... r43971: [Mac] Location icon in omnibox as drag source. r43970: Make the star and page action icons not appear on popup windows. r43954: Fixes bug in TabStrip where dragging tab out then back in rapidly r43864: Tweaks to BoundsAnimator/SlideAnimation and TabStrip: r43787: Allow location icon to be dragged & dropped. This also fixes ... r43759: Changes end cap of tab-to-search images. r43740: Change bookmark bar toggle to ctrl-shift-b. r43723: Show Page Info dialog on mouse up, not mouse down. r43677: Fix Mac build failure. r43676: Replace omnibox icons with new set that are all the same size ... r43596: Fix browser test TestStarButtonAccObj. r43593: Disables TestStarButtonAccObj. r43582: Changes tab strip to use BoundsAnimator for tab strip animatio... r43563: GTK: don't show reload button for popup/app windows. r43562: Star/reload shuffle, Windows version. r43540: [Mac] Magnifying glass in keyword-search bubble. r43482: Adds images needed for new tab animation. I'm separating this ... r43422: Add reload mask resource. r43392: GTK: make the location icon a drag source. r43376: [Mac] Move star button into page-actions area of omnibox. r43357: [Mac] Line up omnibox popup under field. r43290: gtk: fix display of icons in omnibox popup r43269: GTK: fix reload button. r43249: [Mac] Rearrange SSL status icon/label in omnibox. r43248: BrowserThemePack: Adds persistant ids for the reload endcaps. r43241: GTK: more location bar updates. r43191: Fix memory leak in BrowserThemePack. r43154: GTK: set the new star button's ID r43151: Fix bad conflict resolution for r43146. r43146: GTK: toolbar reload/star shuffle. r43025: Show the location bar icon (almost) all the time, and have its... r43023: Add new images for new reload button. No code change. r42782: Remove this icon, now that it's no longer used (due to my secu... r42502: Omnibox M5 work, part 1: Security changes r42245: Check in new icons for omnibox security changes alone, so that... BUG=none TEST=Eyjafjallajokull R=pkasting@chromium.org,beng@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45267 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: raise old browser windows when adding a new tabestade@chromium.org2010-04-161-0/+10
| | | | | | | | | BUG=38166 TEST=`google-chrome http://google.com` should raise the browser window. Review URL: http://codereview.chromium.org/1646011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44820 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: navigate to URL on PRIMARY when middle-clicking the location icon.estade@chromium.org2010-04-161-0/+30
| | | | | | | | | BUG=40610 TEST=manual Review URL: http://codereview.chromium.org/1549043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44814 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: position info bubbles relative to a subwidget, rather than the toplevel ↵estade@chromium.org2010-04-071-12/+13
| | | | | | | | | | | | | window. (Client code can still use a toplevel widget as the anchor.) BUG=40068 TEST=tried all popups in LTR and RTL Review URL: http://codereview.chromium.org/1575019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43876 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Avoid duplicating functions in anonymous namespaces by moving them to ↵mattm@chromium.org2010-04-071-0/+19
| | | | | | | | | | | | | gtk_util.h BUG=None TEST=compiles Patch from Thiago Farina <thiago.farina@gmail.com> Review URL: http://codereview.chromium.org/1610003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43862 0039d316-1c4b-4281-b951-d872f2087c98
* GTK browser actions toolbar fiddling:estade@chromium.org2010-04-021-0/+25
| | | | | | | | | | | | - make the toolbar size restore properly when the toolbar is created before the model is loaded - allow the user to right click menu items in the overflow menu BUG=40068 (sorta) TEST=manual Review URL: http://codereview.chromium.org/1602003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43515 0039d316-1c4b-4281-b951-d872f2087c98
* linux: allow options dialog to be resized smallerevan@chromium.org2010-03-241-10/+0
| | | | | | | | BUG=37786 Review URL: http://codereview.chromium.org/1253001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42510 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WindowGetViewBounds bustage... I had the sense of this conditional inverted.ben@chromium.org2010-03-211-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42193 0039d316-1c4b-4281-b951-d872f2087c98
* Move RTL related functions from app/l10n_util to base/i18n/rtlben@chromium.org2010-03-201-5/+3
| | | | | | | | | | TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/1073005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42182 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency from webkit on chrome/common by moving files to src/app.pinkerton@chromium.org2010-03-191-1/+1
| | | | | | | | BUG=37985 TEST=no functional change. Review URL: http://codereview.chromium.org/1060001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42101 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Implement translate toolbar. Tested on spiegel.de, www.lemonde.fr and ↵erg@google.com2010-03-111-2/+4
| | | | | | | | | | | mainichi.jp (from an English profile). BUG=36714,37528 TEST=Open up a page that's not in your current language. You should be presented with a toolbar offering to apply Google Translate to the page. Review URL: http://codereview.chromium.org/830005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41332 0039d316-1c4b-4281-b951-d872f2087c98
* Final removal of the bad dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-03-101-48/+1
| | | | | | | | | | | Also convert app/gtk_dnd_util.h from a class to a namespace for consistency with added app/gtk_util.h. TEST=none BUG=none Review URL: http://codereview.chromium.org/669268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41177 0039d316-1c4b-4281-b951-d872f2087c98
* Next part of bad dependency removal (chrome/common -> chrome/browser)phajdan.jr@chromium.org2010-03-021-0/+874
This change introduces one more dependency on chrome/browser, but it seems simpler to move gtk_util first and then fix it. TEST=none BUG=none Review URL: http://codereview.chromium.org/661271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40369 0039d316-1c4b-4281-b951-d872f2087c98