OLD | NEW |
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_CHROME_VIEWS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 virtual HICON GetDefaultWindowIcon() const OVERRIDE; | 37 virtual HICON GetDefaultWindowIcon() const OVERRIDE; |
38 #endif | 38 #endif |
39 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( | 39 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( |
40 views::Widget* widget) OVERRIDE; | 40 views::Widget* widget) OVERRIDE; |
41 virtual bool UseTransparentWindows() const OVERRIDE; | 41 virtual bool UseTransparentWindows() const OVERRIDE; |
42 virtual void AddRef() OVERRIDE; | 42 virtual void AddRef() OVERRIDE; |
43 virtual void ReleaseRef() OVERRIDE; | 43 virtual void ReleaseRef() OVERRIDE; |
44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; | 44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
45 #if defined(USE_AURA) | 45 #if defined(USE_AURA) |
46 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( | 46 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( |
47 views::NativeWidgetAura* native_widget) OVERRIDE; | 47 views::NativeWidgetAura* native_widget, gfx::NativeView parent) OVERRIDE; |
48 #endif | 48 #endif |
49 virtual content::WebContents* CreateWebContents( | 49 virtual content::WebContents* CreateWebContents( |
50 content::BrowserContext* browser_context, | 50 content::BrowserContext* browser_context, |
51 content::SiteInstance* site_instance) OVERRIDE; | 51 content::SiteInstance* site_instance) OVERRIDE; |
52 virtual views::NativeWidget* CreateNativeWidget( | 52 virtual views::NativeWidget* CreateNativeWidget( |
53 views::internal::NativeWidgetDelegate* delegate, | 53 views::internal::NativeWidgetDelegate* delegate, |
54 gfx::NativeView parent) OVERRIDE; | 54 gfx::NativeView parent) OVERRIDE; |
55 | 55 |
56 private: | 56 private: |
57 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 57 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
58 }; | 58 }; |
59 | 59 |
60 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 60 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |