Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Issue 6203004: DOMUI: Stub out List.activateItemAtIndex for lists that don't implement this (Closed)

Created:
9 years, 11 months ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

DOMUI: Stub out List.activateItemAtIndex for lists that don't implement this method. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71128

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/resources/shared/js/cr/ui/list.js View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
James Hawkins
9 years, 11 months ago (2011-01-12 00:56:56 UTC) #1
James Hawkins
+csilv
9 years, 11 months ago (2011-01-12 01:03:58 UTC) #2
csilv
LGTM
9 years, 11 months ago (2011-01-12 01:20:47 UTC) #3
arv (Not doing code reviews)
9 years, 11 months ago (2011-01-12 02:32:11 UTC) #4
LGTM

erik



On Tue, Jan 11, 2011 at 16:56,  <jhawkins@chromium.org> wrote:
> Reviewers: arv,
>
> Description:
> DOMUI: Stub out List.activateItemAtIndex for lists that don't implement this
> method.
>
> BUG=none
> TEST=none
>
> Please review this at http://codereview.chromium.org/6203004/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src
>
> Affected files:
>  M chrome/browser/resources/shared/js/cr/ui/list.js
>
>
> Index: chrome/browser/resources/shared/js/cr/ui/list.js
> diff --git a/chrome/browser/resources/shared/js/cr/ui/list.js
> b/chrome/browser/resources/shared/js/cr/ui/list.js
> index
>
6fbe1cce845d03ebb90c21dc00a833f521360bbd..ba1da003980f76ffe81acf3a0355f3e0699bcf72
> 100644
> --- a/chrome/browser/resources/shared/js/cr/ui/list.js
> +++ b/chrome/browser/resources/shared/js/cr/ui/list.js
> @@ -608,6 +608,14 @@ cr.define('cr.ui', function() {
>         this.redraw();
>       }
>     },
> +
> +    /**
> +     * Called when a list item is activated, currently only by a double
> click
> +     * event.
> +     * @param {number} index The index of the activated item.
> +     */
> +    activateItemAtIndex: function(index) {
> +    },
>   };
>
>   cr.defineProperty(List, 'disabled', cr.PropertyKind.BOOL_ATTR);
>
>
>

Powered by Google App Engine
This is Rietveld 408576698