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

Unified Diff: chrome/browser/ui/views/toolbar_view.h

Issue 10580039: Adds ability to render omnibox as a view above the page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar_view.h
diff --git a/chrome/browser/ui/views/toolbar_view.h b/chrome/browser/ui/views/toolbar_view.h
index 8bbd22c0000e6264e58d4e06c2265667e268321c..a32fc135a48c464d1b1404b3e02c8d3ae405c5f1 100644
--- a/chrome/browser/ui/views/toolbar_view.h
+++ b/chrome/browser/ui/views/toolbar_view.h
@@ -46,8 +46,10 @@ class ToolbarView : public views::AccessiblePaneView,
explicit ToolbarView(Browser* browser);
virtual ~ToolbarView();
- // Create the contents of the Browser Toolbar
- void Init();
+ // Create the contents of the Browser Toolbar. |popup_parent_view| is the
+ // View to add the omnibox popup view to.
+ // TODO(sky): clearly describe when |popup_parent_view| is used.
+ void Init(views::View* popup_parent_view);
// Updates the toolbar (and transitively the location bar) with the states of
// the specified |tab|. If |should_restore_state| is true, we're switching

Powered by Google App Engine
This is Rietveld 408576698