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

Unified Diff: chrome/browser/ui/find_bar/find_bar.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/find_bar/find_bar.h
diff --git a/chrome/browser/ui/find_bar/find_bar.h b/chrome/browser/ui/find_bar/find_bar.h
index c8d0f159f6e0940f32255e9b9b192aaddf6cbec0..c0a7a1c2f9abf0b16de29982a0ecb0f7f1a792d6 100644
--- a/chrome/browser/ui/find_bar/find_bar.h
+++ b/chrome/browser/ui/find_bar/find_bar.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -96,6 +96,9 @@ class FindBarTesting {
// Gets the match count text (ie. 1 of 3) visible in the Find box.
virtual string16 GetMatchCountText() = 0;
+
+ // Gets the pixel width of the FindBar.
+ virtual int GetWidth() = 0;
};
#endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_bridge.mm ('k') | chrome/browser/ui/find_bar/find_bar_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698