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

Side by Side Diff: chrome/browser/ui/views/toolbar/toolbar_view.h

Issue 2555063003: Render extension URLs with chips (Closed)
Patch Set: pkasting comments and rebase Created 4 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool SetPaneFocus(View* initial_focus) override; 112 bool SetPaneFocus(View* initial_focus) override;
113 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; 113 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
114 114
115 // views::MenuButtonListener: 115 // views::MenuButtonListener:
116 void OnMenuButtonClicked(views::MenuButton* source, 116 void OnMenuButtonClicked(views::MenuButton* source,
117 const gfx::Point& point, 117 const gfx::Point& point,
118 const ui::Event* event) override; 118 const ui::Event* event) override;
119 119
120 // LocationBarView::Delegate: 120 // LocationBarView::Delegate:
121 content::WebContents* GetWebContents() override; 121 content::WebContents* GetWebContents() override;
122 const content::WebContents* GetWebContents() const override;
122 ToolbarModel* GetToolbarModel() override; 123 ToolbarModel* GetToolbarModel() override;
123 const ToolbarModel* GetToolbarModel() const override; 124 const ToolbarModel* GetToolbarModel() const override;
124 PageActionImageView* CreatePageActionImageView( 125 PageActionImageView* CreatePageActionImageView(
125 LocationBarView* owner, 126 LocationBarView* owner,
126 ExtensionAction* action) override; 127 ExtensionAction* action) override;
127 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() 128 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate()
128 override; 129 override;
129 void ShowWebsiteSettings( 130 void ShowWebsiteSettings(
130 content::WebContents* web_contents, 131 content::WebContents* web_contents,
131 const GURL& virtual_url, 132 const GURL& virtual_url,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 // The display mode used when laying out the toolbar. 218 // The display mode used when laying out the toolbar.
218 const DisplayMode display_mode_; 219 const DisplayMode display_mode_;
219 220
220 content::NotificationRegistrar registrar_; 221 content::NotificationRegistrar registrar_;
221 222
222 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); 223 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView);
223 }; 224 };
224 225
225 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ 226 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698