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

Side by Side Diff: chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool HitTest(const gfx::Point& l) const OVERRIDE; 53 virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
54 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 54 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
55 virtual gfx::Size GetMinimumSize() OVERRIDE; 55 virtual gfx::Size GetMinimumSize() OVERRIDE;
56 56
57 // views::ButtonListener overrides: 57 // views::ButtonListener overrides:
58 virtual void ButtonPressed(views::Button* sender, 58 virtual void ButtonPressed(views::Button* sender,
59 const views::Event& event) OVERRIDE; 59 const views::Event& event) OVERRIDE;
60 60
61 // Overridden from TabIconView::TabIconViewModel: 61 // Overridden from TabIconView::TabIconViewModel:
62 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; 62 virtual bool ShouldTabIconViewAnimate() const OVERRIDE;
63 virtual SkBitmap GetFaviconForTabIconView() OVERRIDE; 63 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE;
64 64
65 private: 65 private:
66 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, UseShortHeader); 66 FRIEND_TEST_ALL_PREFIXES(BrowserNonClientFrameViewAshTest, UseShortHeader);
67 67
68 // Distance between top of window and client area. 68 // Distance between top of window and client area.
69 int NonClientTopBorderHeight(bool force_restored) const; 69 int NonClientTopBorderHeight(bool force_restored) const;
70 70
71 // Returns true if we should use a short header, such as for popup windows. 71 // Returns true if we should use a short header, such as for popup windows.
72 bool UseShortHeader() const; 72 bool UseShortHeader() const;
73 73
(...skipping 24 matching lines...) Expand all
98 scoped_ptr<ash::FramePainter> frame_painter_; 98 scoped_ptr<ash::FramePainter> frame_painter_;
99 99
100 // If true the |size_button_| minimizes, otherwise it toggles between 100 // If true the |size_button_| minimizes, otherwise it toggles between
101 // maximized and restored. 101 // maximized and restored.
102 bool size_button_minimizes_; 102 bool size_button_minimizes_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh); 104 DISALLOW_COPY_AND_ASSIGN(BrowserNonClientFrameViewAsh);
105 }; 105 };
106 106
107 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_ 107 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BROWSER_NON_CLIENT_FRAME_VIEW_ASH_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_frame_view.cc ('k') | chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698