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

Side by Side Diff: chrome/browser/cocoa/toolbar_controller.mm

Issue 171016: Bookmark STAR bubble (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/cocoa/toolbar_controller.h" 5 #import "chrome/browser/cocoa/toolbar_controller.h"
6 6
7 #include "base/mac_util.h" 7 #include "base/mac_util.h"
8 #include "base/sys_string_conversions.h" 8 #include "base/sys_string_conversions.h"
9 #include "chrome/app/chrome_dll_resource.h" 9 #include "chrome/app/chrome_dll_resource.h"
10 #import "chrome/browser/cocoa/autocomplete_text_field.h" 10 #import "chrome/browser/cocoa/autocomplete_text_field.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 withEvent:[NSApp currentEvent] 366 withEvent:[NSApp currentEvent]
367 forView:pageButton_]; 367 forView:pageButton_];
368 } 368 }
369 369
370 - (IBAction)showWrenchMenu:(id)sender { 370 - (IBAction)showWrenchMenu:(id)sender {
371 [NSMenu popUpContextMenu:wrenchMenu_ 371 [NSMenu popUpContextMenu:wrenchMenu_
372 withEvent:[NSApp currentEvent] 372 withEvent:[NSApp currentEvent]
373 forView:wrenchButton_]; 373 forView:wrenchButton_];
374 } 374 }
375 375
376 - (NSRect)starButtonInWindowCoordinates {
377 return [[[starButton_ window] contentView] convertRect:[starButton_ bounds]
378 fromView:starButton_];
379 }
380
381
376 @end 382 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/toolbar_controller.h ('k') | chrome/browser/cocoa/toolbar_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698