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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.h

Issue 2832823002: Update avatar button to MD (Closed)
Patch Set: Fixed ProfileChooserViewExtensionsTest browser tests Created 3 years, 8 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/frame/browser_frame.h
diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h
index 4ea5b40394647f48d0934bcff7a7640f83427531..d57cae7f5574bb37148f43ce65cb9179e82047ac 100644
--- a/chrome/browser/ui/views/frame/browser_frame.h
+++ b/chrome/browser/ui/views/frame/browser_frame.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
#include "ui/views/context_menu_controller.h"
+#include "ui/views/controls/button/menu_button.h"
#include "ui/views/widget/widget.h"
class BrowserRootView;
@@ -55,6 +56,9 @@ class BrowserFrame
// left edge of the window. Used in our Non-Client View's Layout.
int GetMinimizeButtonOffset() const;
+ // Returns the height of the minimize button.
+ int GetMinimizeButtonHeight() const;
+
// Retrieves the bounds, in non-client view coordinates for the specified
// TabStrip view.
gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
@@ -115,7 +119,7 @@ class BrowserFrame
const gfx::Point& p,
ui::MenuSourceType source_type) override;
- views::View* GetNewAvatarMenuButton();
+ views::MenuButton* GetNewAvatarMenuButton();
// Returns the menu model. BrowserFrame owns the returned model.
// Note that in multi user mode this will upon each call create a new model.

Powered by Google App Engine
This is Rietveld 408576698