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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" 5 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac/mac_util.h" 10 #include "base/mac/mac_util.h"
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 if ([BrowserWindowUtils shouldHandleKeyboardEvent:event]) 540 if ([BrowserWindowUtils shouldHandleKeyboardEvent:event])
541 [BrowserWindowUtils handleKeyboardEvent:event.os_event inWindow:window()]; 541 [BrowserWindowUtils handleKeyboardEvent:event.os_event inWindow:window()];
542 } 542 }
543 543
544 void BrowserWindowCocoa::ShowCreateWebAppShortcutsDialog( 544 void BrowserWindowCocoa::ShowCreateWebAppShortcutsDialog(
545 TabContentsWrapper* tab_contents) { 545 TabContentsWrapper* tab_contents) {
546 NOTIMPLEMENTED(); 546 NOTIMPLEMENTED();
547 } 547 }
548 548
549 void BrowserWindowCocoa::ShowCreateChromeAppShortcutsDialog( 549 void BrowserWindowCocoa::ShowCreateChromeAppShortcutsDialog(
550 Profile* profile, const Extension* app) { 550 Profile* profile, const extensions::Extension* app) {
551 NOTIMPLEMENTED(); 551 NOTIMPLEMENTED();
552 } 552 }
553 553
554 void BrowserWindowCocoa::Cut() { 554 void BrowserWindowCocoa::Cut() {
555 [NSApp sendAction:@selector(cut:) to:nil from:nil]; 555 [NSApp sendAction:@selector(cut:) to:nil from:nil];
556 } 556 }
557 557
558 void BrowserWindowCocoa::Copy() { 558 void BrowserWindowCocoa::Copy() {
559 [NSApp sendAction:@selector(copy:) to:nil from:nil]; 559 [NSApp sendAction:@selector(copy:) to:nil from:nil];
560 } 560 }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 AvatarMenuBubbleController* menu = 661 AvatarMenuBubbleController* menu =
662 [[AvatarMenuBubbleController alloc] initWithBrowser:browser_ 662 [[AvatarMenuBubbleController alloc] initWithBrowser:browser_
663 anchoredAt:point]; 663 anchoredAt:point];
664 [[menu bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge]; 664 [[menu bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge];
665 [menu showWindow:nil]; 665 [menu showWindow:nil];
666 } 666 }
667 667
668 void BrowserWindowCocoa::ShowAvatarBubbleFromAvatarButton() { 668 void BrowserWindowCocoa::ShowAvatarBubbleFromAvatarButton() {
669 [[controller_ avatarButtonController] showAvatarBubble]; 669 [[controller_ avatarButtonController] showAvatarBubble];
670 } 670 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/extensions/browser_action_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698