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

Side by Side Diff: chrome/browser/ui/views/frame/glass_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_GLASS_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/views/frame/browser_frame_win.h" 10 #include "chrome/browser/ui/views/frame/browser_frame_win.h"
11 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 11 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
12 #include "content/public/browser/notification_observer.h" 12 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h" 13 #include "content/public/browser/notification_registrar.h"
14 #include "views/controls/button/button.h" 14 #include "views/controls/button/button.h"
15 #include "views/window/non_client_view.h" 15 #include "views/window/non_client_view.h"
16 16
17 class BrowserView; 17 class BrowserView;
18 class AvatarMenuButton;
19 class SkBitmap;
20 18
21 class GlassBrowserFrameView : public BrowserNonClientFrameView, 19 class GlassBrowserFrameView : public BrowserNonClientFrameView,
22 public content::NotificationObserver { 20 public content::NotificationObserver {
23 public: 21 public:
24 // Constructs a non-client view for an BrowserFrame. 22 // Constructs a non-client view for an BrowserFrame.
25 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 23 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
26 virtual ~GlassBrowserFrameView(); 24 virtual ~GlassBrowserFrameView();
27 25
28 // Overridden from BrowserNonClientFrameView: 26 // Overridden from BrowserNonClientFrameView:
29 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 27 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 content::NotificationRegistrar registrar_; 101 content::NotificationRegistrar registrar_;
104 102
105 static const int kThrobberIconCount = 24; 103 static const int kThrobberIconCount = 24;
106 static HICON throbber_icons_[kThrobberIconCount]; 104 static HICON throbber_icons_[kThrobberIconCount];
107 static void InitThrobberIcons(); 105 static void InitThrobberIcons();
108 106
109 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); 107 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView);
110 }; 108 };
111 109
112 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 110 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/opaque_browser_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698