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

Side by Side Diff: chrome/browser/ui/views/frame/app_panel_browser_frame_view.h

Issue 8463009: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/views. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase, no code change 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/frame/browser_frame.h" 9 #include "chrome/browser/ui/views/frame/browser_frame.h"
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
11 #include "chrome/browser/ui/views/tab_icon_view.h" 11 #include "chrome/browser/ui/views/tab_icon_view.h"
12 #include "views/controls/button/button.h" 12 #include "views/controls/button/button.h"
13 #include "views/window/non_client_view.h" 13 #include "views/window/non_client_view.h"
14 14
15 class BrowserView; 15 class BrowserView;
16 class TabContents;
17 namespace gfx { 16 namespace gfx {
18 class Font; 17 class Font;
19 } 18 }
20 namespace views { 19 namespace views {
21 class ImageButton; 20 class ImageButton;
22 class ImageView;
23 } 21 }
24 // The frame view which is used for Application Panels. 22 // The frame view which is used for Application Panels.
25 // TODO(rafaelw): Refactor. This shares much duplicated code with 23 // TODO(rafaelw): Refactor. This shares much duplicated code with
26 // OpaqueBrowserFrameView. 24 // OpaqueBrowserFrameView.
27 class AppPanelBrowserFrameView : public BrowserNonClientFrameView, 25 class AppPanelBrowserFrameView : public BrowserNonClientFrameView,
28 public views::ButtonListener, 26 public views::ButtonListener,
29 public TabIconView::TabIconViewModel { 27 public TabIconView::TabIconViewModel {
30 public: 28 public:
31 // Constructs a non-client view for an BrowserFrame. 29 // Constructs a non-client view for an BrowserFrame.
32 AppPanelBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 30 AppPanelBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // The accessible name of this view. 113 // The accessible name of this view.
116 std::wstring accessible_name_; 114 std::wstring accessible_name_;
117 115
118 static void InitAppWindowResources(); 116 static void InitAppWindowResources();
119 static gfx::Font* title_font_; 117 static gfx::Font* title_font_;
120 118
121 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView); 119 DISALLOW_COPY_AND_ASSIGN(AppPanelBrowserFrameView);
122 }; 120 };
123 121
124 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_ 122 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_APP_PANEL_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.h ('k') | chrome/browser/ui/views/frame/browser_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698