| Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| ===================================================================
|
| --- webkit/tools/test_shell/mac/test_webview_delegate.mm (revision 47162)
|
| +++ webkit/tools/test_shell/mac/test_webview_delegate.mm (working copy)
|
| @@ -48,6 +48,7 @@
|
| int item_height = popup_menu_info_->itemHeight;
|
| double font_size = popup_menu_info_->itemFontSize;
|
| int selected_index = popup_menu_info_->selectedIndex;
|
| + bool right_aligned = popup_menu_info_->rightAligned;
|
| popup_menu_info_.reset(); // No longer needed.
|
|
|
| const WebRect& bounds = popup_bounds_;
|
| @@ -62,7 +63,8 @@
|
| // Display the menu.
|
| scoped_nsobject<WebMenuRunner> menu_runner;
|
| menu_runner.reset([[WebMenuRunner alloc] initWithItems:items
|
| - fontSize:font_size]);
|
| + fontSize:font_size
|
| + rightAligned:right_aligned]);
|
|
|
| [menu_runner runMenuInView:shell_->webViewWnd()
|
| withBounds:position
|
|
|