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

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: 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
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 ea085e1e9c976aae6491ea2d1df29e375808f2e8..5e42e3884b040cf41c0fb8720ff199e10aa22c82 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,15 @@ 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;
+ 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 +158,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();

Powered by Google App Engine
This is Rietveld 408576698