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

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

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_AURA_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "chrome/browser/ui/views/frame/browser_frame.h"
11 #include "chrome/browser/ui/views/frame/native_browser_frame.h"
12 #include "views/widget/native_widget_aura.h"
13
14 class BrowserView;
15
16 ////////////////////////////////////////////////////////////////////////////////
17 // BrowserFrameAura
18 //
19 // BrowserFrameAura is a NativeWidgetAura subclass that provides the window
20 // frame for the Chrome browser window.
21 //
22 class BrowserFrameAura : public views::NativeWidgetAura,
23 public NativeBrowserFrame {
24 public:
25 BrowserFrameAura(BrowserFrame* browser_frame, BrowserView* browser_view);
26 virtual ~BrowserFrameAura();
27
28 BrowserView* browser_view() const { return browser_view_; }
29
30 protected:
31 // Overridden from views::NativeWidgetAura:
32
33 // Overridden from NativeBrowserFrame:
34 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
35 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
36 virtual int GetMinimizeButtonOffset() const OVERRIDE;
37 virtual void TabStripDisplayModeChanged() OVERRIDE;
38
39 private:
40 // The BrowserView is our ClientView. This is a pointer to it.
41 BrowserView* browser_view_;
42
43 BrowserFrame* browser_frame_;
44
45 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAura);
46 };
47
48 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/find_bar_host_aura.cc ('k') | chrome/browser/ui/views/frame/browser_frame_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698