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

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

Issue 189463013: [Refactor] Move code for painting the window header for browser windows out of ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_non_client_frame_view_ash.h
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
index acc71a139e6b9b21a1c734d22d0a32fbb4ce0a47..7acbb0ca9bba4c0564ea779f4566f5baa654045e 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h
@@ -57,7 +57,6 @@ class BrowserNonClientFrameViewAsh
virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
virtual gfx::Size GetMinimumSize() OVERRIDE;
- virtual void OnThemeChanged() OVERRIDE;
// Overridden from chrome::TabIconViewModel:
virtual bool ShouldTabIconViewAnimate() const OVERRIDE;
@@ -100,26 +99,10 @@ class BrowserNonClientFrameViewAsh
void PaintToolbarBackground(gfx::Canvas* canvas);
- // Windows without a toolbar need to draw their own line under the header,
- // above the content area.
+ // Draws the line under the header for windows without a toolbar and not using
+ // the packaged app header style.
void PaintContentEdge(gfx::Canvas* canvas);
- // Sets |frame_image_id| and |frame_image_overlay_id| to the ids of the header
- // frame image and the header frame overlay image respectively which should be
- // used for tabbed browser windows. |frame_overlay_image_id| is set to 0 if no
- // overlay image should be used.
- void GetFrameImageIdsForTabbedBrowser(int* frame_image_id,
- int* frame_overlay_image_id) const;
-
-
- // Returns the id of the header frame image which should be used for browser
- // popups. Browser popups are not themed and do not use a frame overlay image.
- int GetFrameImageIdForBrowserPopup() const;
-
- // Returns the id of the header frame image which should be used for hosted
- // apps. Hosted apps are not themed and do not use a frame overlay image.
- int GetFrameImageIdForHostedApp() const;
-
// View which contains the window controls.
ash::FrameCaptionButtonContainerView* caption_button_container_;

Powered by Google App Engine
This is Rietveld 408576698