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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual void AddRef() OVERRIDE; | 44 virtual void AddRef() OVERRIDE; |
45 virtual void ReleaseRef() OVERRIDE; | 45 virtual void ReleaseRef() OVERRIDE; |
46 | 46 |
47 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; | 47 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
48 | 48 |
49 #if defined(USE_AURA) | 49 #if defined(USE_AURA) |
50 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( | 50 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( |
51 views::NativeWidgetAura* native_widget) OVERRIDE; | 51 views::NativeWidgetAura* native_widget) OVERRIDE; |
52 #endif | 52 #endif |
53 | 53 |
| 54 virtual content::WebContents* CreateWebContents( |
| 55 content::BrowserContext* browser_context, |
| 56 content::SiteInstance* site_instance) OVERRIDE; |
| 57 |
54 private: | 58 private: |
55 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 59 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
56 }; | 60 }; |
57 | 61 |
58 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 62 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |