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

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

Issue 7063003: Make FindBar obey dialog bounds for GTK. Will fix other platforms in separate patches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switched to container_->allocation.width Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" 6 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h"
7 7
8 #include "base/sys_string_conversions.h" 8 #include "base/sys_string_conversions.h"
9 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h" 9 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h"
10 10
11 // static 11 // static
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 120 }
121 121
122 string16 FindBarBridge::GetMatchCountText() { 122 string16 FindBarBridge::GetMatchCountText() {
123 // This function is currently only used in Windows and Linux specific browser 123 // This function is currently only used in Windows and Linux specific browser
124 // tests (testing prepopulate values that Mac's don't rely on), but if we add 124 // tests (testing prepopulate values that Mac's don't rely on), but if we add
125 // more tests that are non-platform specific, we need to flesh out this 125 // more tests that are non-platform specific, we need to flesh out this
126 // function. 126 // function.
127 NOTIMPLEMENTED(); 127 NOTIMPLEMENTED();
128 return string16(); 128 return string16();
129 } 129 }
130
131 int FindBarBridge::GetWidth() {
132 NOTIMPLEMENTED();
133 return 0;
134 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h ('k') | chrome/browser/ui/find_bar/find_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698