| 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 16 matching lines...) Expand all Loading... |
| 27 ui::WindowShowState* show_state) const override; | 27 ui::WindowShowState* show_state) const override; |
| 28 void NotifyAccessibilityEvent(views::View* view, | 28 void NotifyAccessibilityEvent(views::View* view, |
| 29 ui::AXEvent event_type) override; | 29 ui::AXEvent event_type) override; |
| 30 void NotifyMenuItemFocused(const base::string16& menu_name, | 30 void NotifyMenuItemFocused(const base::string16& menu_name, |
| 31 const base::string16& menu_item_name, | 31 const base::string16& menu_item_name, |
| 32 int item_index, | 32 int item_index, |
| 33 int item_count, | 33 int item_count, |
| 34 bool has_submenu) override; | 34 bool has_submenu) override; |
| 35 #if defined(OS_WIN) | 35 #if defined(OS_WIN) |
| 36 virtual HICON GetDefaultWindowIcon() const override; | 36 virtual HICON GetDefaultWindowIcon() const override; |
| 37 virtual HICON GetSmallWindowIcon() const override; |
| 37 virtual bool IsWindowInMetro(gfx::NativeWindow window) const override; | 38 virtual bool IsWindowInMetro(gfx::NativeWindow window) const override; |
| 38 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) | 39 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 39 gfx::ImageSkia* GetDefaultWindowIcon() const override; | 40 gfx::ImageSkia* GetDefaultWindowIcon() const override; |
| 40 #endif | 41 #endif |
| 41 | 42 |
| 42 #if defined(USE_ASH) | 43 #if defined(USE_ASH) |
| 43 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 44 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 44 views::Widget* widget) override; | 45 views::Widget* widget) override; |
| 45 #endif | 46 #endif |
| 46 void AddRef() override; | 47 void AddRef() override; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // GetAutohideEdges().start a new query. | 81 // GetAutohideEdges().start a new query. |
| 81 bool in_autohide_edges_callback_; | 82 bool in_autohide_edges_callback_; |
| 82 | 83 |
| 83 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; | 84 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; |
| 84 #endif | 85 #endif |
| 85 | 86 |
| 86 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 87 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
| OLD | NEW |