OLD | NEW |
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_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 20 matching lines...) Expand all Loading... |
31 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE; | 31 views::View* view, ui::AccessibilityTypes::Event event_type) OVERRIDE; |
32 virtual void NotifyMenuItemFocused(const string16& menu_name, | 32 virtual void NotifyMenuItemFocused(const string16& menu_name, |
33 const string16& menu_item_name, | 33 const string16& menu_item_name, |
34 int item_index, | 34 int item_index, |
35 int item_count, | 35 int item_count, |
36 bool has_submenu) OVERRIDE; | 36 bool has_submenu) OVERRIDE; |
37 | 37 |
38 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
39 virtual HICON GetDefaultWindowIcon() const OVERRIDE; | 39 virtual HICON GetDefaultWindowIcon() const OVERRIDE; |
40 #endif | 40 #endif |
| 41 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 42 views::Widget* widget) OVERRIDE; |
41 virtual void AddRef() OVERRIDE; | 43 virtual void AddRef() OVERRIDE; |
42 virtual void ReleaseRef() OVERRIDE; | 44 virtual void ReleaseRef() OVERRIDE; |
43 | 45 |
44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; | 46 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
45 | 47 |
46 private: | 48 private: |
47 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 49 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
48 }; | 50 }; |
49 | 51 |
50 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 52 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |