| 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 27 matching lines...) Expand all Loading... |
| 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 virtual content::WebContents* CreateWebContents( | 45 virtual content::WebContents* CreateWebContents( |
| 46 content::BrowserContext* browser_context, | 46 content::BrowserContext* browser_context, |
| 47 content::SiteInstance* site_instance) OVERRIDE; | 47 content::SiteInstance* site_instance) OVERRIDE; |
| 48 virtual views::NativeWidget* CreateNativeWidget( | 48 virtual void OnWidgetInit( |
| 49 views::Widget::InitParams::Type type, | 49 views::Widget::InitParams* params, |
| 50 views::internal::NativeWidgetDelegate* delegate, | 50 views::internal::NativeWidgetDelegate* delegate) OVERRIDE; |
| 51 gfx::NativeView parent, | |
| 52 gfx::NativeView context) OVERRIDE; | |
| 53 | 51 |
| 54 private: | 52 private: |
| 55 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
| 56 }; | 54 }; |
| 57 | 55 |
| 58 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 56 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
| OLD | NEW |