| Index: chrome/browser/ui/gtk/gtk_util.h
|
| diff --git a/chrome/browser/ui/gtk/gtk_util.h b/chrome/browser/ui/gtk/gtk_util.h
|
| index 3347f1f3265813dd87a7343726bfbf8fd66431a3..81300b6c8d05d7db828aaa3c26dc72f800c2b7cf 100644
|
| --- a/chrome/browser/ui/gtk/gtk_util.h
|
| +++ b/chrome/browser/ui/gtk/gtk_util.h
|
| @@ -37,10 +37,12 @@ const int kSkiaToGDKMultiplier = 257;
|
|
|
| namespace event_utils {
|
|
|
| -// Translates event flags into what kind of disposition they represent.
|
| +// Translates GdkEvent state into what kind of disposition they represent.
|
| // For example, a middle click would mean to open a background tab.
|
| -// event_flags are the state in the GdkEvent structure.
|
| -WindowOpenDisposition DispositionFromEventFlags(guint state);
|
| +WindowOpenDisposition DispositionFromGdkState(guint state);
|
| +
|
| +// Translates event flags into plaform independent event flags.
|
| +int EventFlagsFromGdkState(guint state);
|
|
|
| } // namespace event_utils
|
|
|
|
|