| Index: chrome/browser/ui/panels/panel_browser_frame_view.h
|
| diff --git a/chrome/browser/ui/panels/panel_browser_frame_view.h b/chrome/browser/ui/panels/panel_browser_frame_view.h
|
| index 6767f8567af30a5d061fad837498c51321418083..2590d55cd783f9564c8288794931f19f92e08fb8 100644
|
| --- a/chrome/browser/ui/panels/panel_browser_frame_view.h
|
| +++ b/chrome/browser/ui/panels/panel_browser_frame_view.h
|
| @@ -18,6 +18,7 @@
|
| class Extension;
|
| class PanelBrowserView;
|
| class PanelSettingsMenuModel;
|
| +class SkPaint;
|
| namespace gfx {
|
| class Font;
|
| }
|
| @@ -141,14 +142,14 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView,
|
|
|
| // Custom draw the frame.
|
| void PaintFrameBorder(gfx::Canvas* canvas);
|
| - void PaintClientEdge(gfx::Canvas* canvas);
|
|
|
| // Called by MouseWatcher to notify if the mouse enters or leaves the window.
|
| void OnMouseEnterOrLeaveWindow(bool mouse_entered);
|
|
|
| // Retrieves the drawing metrics based on the current painting state.
|
| + SkColor GetDefaultTitleColor(PaintState paint_state) const;
|
| SkColor GetTitleColor(PaintState paint_state) const;
|
| - gfx::Font* GetTitleFont() const;
|
| + const SkPaint& GetDefaultFrameTheme(PaintState paint_state) const;
|
| SkBitmap* GetFrameTheme(PaintState paint_state) const;
|
|
|
| // Make settings button visible if either of the conditions is met:
|
| @@ -156,6 +157,8 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView,
|
| // 2) The mouse is over the panel.
|
| void UpdateSettingsButtonVisibility(bool active, bool cursor_in_view);
|
|
|
| + bool UsingDefaultTheme() const;
|
| +
|
| const Extension* GetExtension() const;
|
|
|
| bool EnsureSettingsMenuCreated();
|
|
|