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

Unified Diff: chrome/browser/ui/views/toolbar/browser_action_view.h

Issue 675023002: Make extensions that desire to act pop out if in overflow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/browser_action_view.h
diff --git a/chrome/browser/ui/views/toolbar/browser_action_view.h b/chrome/browser/ui/views/toolbar/browser_action_view.h
index 50df4751c972adeffefa0ce058b58b48517273fc..1261deee27b3d3d79d1550739bc0530978ee94e3 100644
--- a/chrome/browser/ui/views/toolbar/browser_action_view.h
+++ b/chrome/browser/ui/views/toolbar/browser_action_view.h
@@ -42,7 +42,7 @@ class BrowserActionView : public views::MenuButton,
class Delegate : public views::DragController {
public:
// Returns the current web contents.
- virtual content::WebContents* GetCurrentWebContents() = 0;
+ virtual content::WebContents* GetCurrentWebContents() const = 0;
Peter Kasting 2014/10/30 22:05:59 Const functions should not return non-const pointe
Devlin 2014/10/31 17:44:09 I thought this only applied to direct data members
Peter Kasting 2014/10/31 19:01:07 There's a whole long physical/logical constness de
// Whether the container for this button is shown inside a menu.
virtual bool ShownInsideMenu() const = 0;

Powered by Google App Engine
This is Rietveld 408576698