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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_frame_view.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_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; 74 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE;
75 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; 75 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE;
76 virtual void OnMouseCaptureLost() OVERRIDE; 76 virtual void OnMouseCaptureLost() OVERRIDE;
77 77
78 // Overridden from views::ButtonListener: 78 // Overridden from views::ButtonListener:
79 virtual void ButtonPressed(views::Button* sender, const views::Event& event) 79 virtual void ButtonPressed(views::Button* sender, const views::Event& event)
80 OVERRIDE; 80 OVERRIDE;
81 81
82 // Overridden from TabIconView::TabIconViewModel: 82 // Overridden from TabIconView::TabIconViewModel:
83 virtual bool ShouldTabIconViewAnimate() const OVERRIDE; 83 virtual bool ShouldTabIconViewAnimate() const OVERRIDE;
84 virtual SkBitmap GetFaviconForTabIconView() OVERRIDE; 84 virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE;
85 85
86 private: 86 private:
87 friend class PanelBrowserViewTest; 87 friend class PanelBrowserViewTest;
88 friend class NativePanelTestingWin; 88 friend class NativePanelTestingWin;
89 89
90 enum PaintState { 90 enum PaintState {
91 NOT_PAINTED, 91 NOT_PAINTED,
92 PAINT_AS_INACTIVE, 92 PAINT_AS_INACTIVE,
93 PAINT_AS_ACTIVE, 93 PAINT_AS_ACTIVE,
94 PAINT_FOR_ATTENTION 94 PAINT_FOR_ATTENTION
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 views::ImageButton* minimize_button_; 129 views::ImageButton* minimize_button_;
130 views::ImageButton* restore_button_; 130 views::ImageButton* restore_button_;
131 TabIconView* title_icon_; 131 TabIconView* title_icon_;
132 views::Label* title_label_; 132 views::Label* title_label_;
133 gfx::Rect client_view_bounds_; 133 gfx::Rect client_view_bounds_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); 135 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView);
136 }; 136 };
137 137
138 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 138 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.cc ('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