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

Unified Diff: chrome/browser/browser.cc

Issue 3417011: Makes match preview send the dimensions of the omnibox to the page. (Closed)
Patch Set: Fix unittest Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser.h ('k') | chrome/browser/browser_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index f2e364c5a00c07c04648078cd5930c37acc13374..32989821d5a5b781cf8eddd94ec4f2142178823e 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -3288,6 +3288,10 @@ void Browser::SetSuggestedText(const string16& text) {
window()->GetLocationBar()->SetSuggestedText(text);
}
+gfx::Rect Browser::GetMatchPreviewBounds() {
+ return window()->GetMatchPreviewBounds();
+}
+
///////////////////////////////////////////////////////////////////////////////
// Browser, Command and state updating (private):
« no previous file with comments | « chrome/browser/browser.h ('k') | chrome/browser/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698