Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: chrome/browser/ui/views/chrome_views_delegate.h

Issue 375843002: MacViews: Initial chrome_browser_ui.gypi support for views on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: #ifdef instead Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 22 matching lines...) Expand all
33 int item_index, 33 int item_index,
34 int item_count, 34 int item_count,
35 bool has_submenu) OVERRIDE; 35 bool has_submenu) OVERRIDE;
36 #if defined(OS_WIN) 36 #if defined(OS_WIN)
37 virtual HICON GetDefaultWindowIcon() const OVERRIDE; 37 virtual HICON GetDefaultWindowIcon() const OVERRIDE;
38 virtual bool IsWindowInMetro(gfx::NativeWindow window) const OVERRIDE; 38 virtual bool IsWindowInMetro(gfx::NativeWindow window) const OVERRIDE;
39 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) 39 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
40 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE; 40 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE;
41 #endif 41 #endif
42 42
43 #if defined(USE_ASH)
43 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( 44 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView(
44 views::Widget* widget) OVERRIDE; 45 views::Widget* widget) OVERRIDE;
46 #endif
45 virtual void AddRef() OVERRIDE; 47 virtual void AddRef() OVERRIDE;
46 virtual void ReleaseRef() OVERRIDE; 48 virtual void ReleaseRef() OVERRIDE;
47 virtual void OnBeforeWidgetInit( 49 virtual void OnBeforeWidgetInit(
48 views::Widget::InitParams* params, 50 views::Widget::InitParams* params,
49 views::internal::NativeWidgetDelegate* delegate) OVERRIDE; 51 views::internal::NativeWidgetDelegate* delegate) OVERRIDE;
50 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 52 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
51 virtual bool WindowManagerProvidesTitleBar(bool maximized) OVERRIDE; 53 virtual bool WindowManagerProvidesTitleBar(bool maximized) OVERRIDE;
52 #endif 54 #endif
53 #if defined(USE_AURA) 55 #if defined(USE_AURA)
54 virtual ui::ContextFactory* GetContextFactory() OVERRIDE; 56 virtual ui::ContextFactory* GetContextFactory() OVERRIDE;
(...skipping 25 matching lines...) Expand all
80 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_; 82 base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_;
81 // If true we're in the process of notifying a callback from 83 // If true we're in the process of notifying a callback from
82 // GetAutohideEdges().start a new query. 84 // GetAutohideEdges().start a new query.
83 bool in_autohide_edges_callback_; 85 bool in_autohide_edges_callback_;
84 #endif 86 #endif
85 87
86 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 88 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
87 }; 89 };
88 90
89 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 91 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698