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

Unified Diff: chrome/browser/ui/panels/panel_browser_frame_view.h

Issue 8664021: Update Panel UI looks on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « chrome/browser/ui/panels/panel.h ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698