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

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

Issue 10538039: Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyrights Created 8 years, 6 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) 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 194
195 bool BrowserWindowCocoa::IsAlwaysOnTop() const { 195 bool BrowserWindowCocoa::IsAlwaysOnTop() const {
196 return false; 196 return false;
197 } 197 }
198 198
199 bool BrowserWindowCocoa::IsActive() const { 199 bool BrowserWindowCocoa::IsActive() const {
200 return [window() isKeyWindow]; 200 return [window() isKeyWindow];
201 } 201 }
202 202
203 gfx::NativeWindow BrowserWindowCocoa::GetNativeHandle() { 203 gfx::NativeWindow BrowserWindowCocoa::GetNativeWindow() {
204 return window(); 204 return window();
205 } 205 }
206 206
207 BrowserWindowTesting* BrowserWindowCocoa::GetBrowserWindowTesting() { 207 BrowserWindowTesting* BrowserWindowCocoa::GetBrowserWindowTesting() {
208 return NULL; 208 return NULL;
209 } 209 }
210 210
211 StatusBubble* BrowserWindowCocoa::GetStatusBubble() { 211 StatusBubble* BrowserWindowCocoa::GetStatusBubble() {
212 return [controller_ statusBubble]; 212 return [controller_ statusBubble];
213 } 213 }
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 AvatarMenuBubbleController* menu = 652 AvatarMenuBubbleController* menu =
653 [[AvatarMenuBubbleController alloc] initWithBrowser:browser_ 653 [[AvatarMenuBubbleController alloc] initWithBrowser:browser_
654 anchoredAt:point]; 654 anchoredAt:point];
655 [[menu bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge]; 655 [[menu bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge];
656 [menu showWindow:nil]; 656 [menu showWindow:nil];
657 } 657 }
658 658
659 void BrowserWindowCocoa::ShowAvatarBubbleFromAvatarButton() { 659 void BrowserWindowCocoa::ShowAvatarBubbleFromAvatarButton() {
660 [[controller_ avatarButtonController] showAvatarBubble]; 660 [[controller_ avatarButtonController] showAvatarBubble];
661 } 661 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698