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

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

Issue 205010: Reverting 26219. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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/find_bar_bridge.h" 5 #import "chrome/browser/cocoa/find_bar_bridge.h"
6 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h" 6 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h"
7 7
8 FindBarBridge::FindBarBridge() { 8 FindBarBridge::FindBarBridge() {
9 cocoa_controller_.reset([[FindBarCocoaController alloc] init]); 9 cocoa_controller_.reset([[FindBarCocoaController alloc] init]);
10 [cocoa_controller_ setFindBarBridge:this]; 10 [cocoa_controller_ setFindBarBridge:this];
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 return gfx::Rect(); 60 return gfx::Rect();
61 } 61 }
62 62
63 void FindBarBridge::SetDialogPosition(const gfx::Rect& new_pos, 63 void FindBarBridge::SetDialogPosition(const gfx::Rect& new_pos,
64 bool no_redraw) { 64 bool no_redraw) {
65 // TODO(rohitrao): Do something useful here. For now, just show the findbar. 65 // TODO(rohitrao): Do something useful here. For now, just show the findbar.
66 Show(); 66 Show();
67 } 67 }
68 68
69 void FindBarBridge::RestoreSavedFocus() { 69 void FindBarBridge::RestoreSavedFocus() {
70 // http://crbug.com/12657 70 [cocoa_controller_ restoreSavedFocus];
71 } 71 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/find_bar_cocoa_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698