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

Side by Side Diff: ui/views/test/test_views_delegate.h

Issue 108193005: Fixing opacity for browser frame window on ASH/Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ChromeOS build changes Created 7 years 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
« no previous file with comments | « content/shell/browser/shell_views.cc ('k') | ui/views/test/test_views_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 5 #ifndef UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
6 #define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 6 #define UI_VIEWS_TEST_TEST_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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 virtual bool IsWindowInMetro(gfx::NativeWindow window) const { 54 virtual bool IsWindowInMetro(gfx::NativeWindow window) const {
55 return false; 55 return false;
56 } 56 }
57 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) 57 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
58 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE; 58 virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE;
59 #endif 59 #endif
60 virtual NonClientFrameView* CreateDefaultNonClientFrameView( 60 virtual NonClientFrameView* CreateDefaultNonClientFrameView(
61 Widget* widget) OVERRIDE; 61 Widget* widget) OVERRIDE;
62 virtual bool UseTransparentWindows() const OVERRIDE;
63 virtual void AddRef() OVERRIDE {} 62 virtual void AddRef() OVERRIDE {}
64 virtual void ReleaseRef() OVERRIDE {} 63 virtual void ReleaseRef() OVERRIDE {}
65 virtual content::WebContents* CreateWebContents( 64 virtual content::WebContents* CreateWebContents(
66 content::BrowserContext* browser_context, 65 content::BrowserContext* browser_context,
67 content::SiteInstance* site_instance) OVERRIDE; 66 content::SiteInstance* site_instance) OVERRIDE;
68 virtual void OnBeforeWidgetInit( 67 virtual void OnBeforeWidgetInit(
69 Widget::InitParams* params, 68 Widget::InitParams* params,
70 internal::NativeWidgetDelegate* delegate) OVERRIDE; 69 internal::NativeWidgetDelegate* delegate) OVERRIDE;
71 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE; 70 virtual base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() OVERRIDE;
72 71
73 private: 72 private:
74 bool use_transparent_windows_; 73 bool use_transparent_windows_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); 75 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
77 }; 76 };
78 77
79 } // namespace views 78 } // namespace views
80 79
81 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 80 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_views.cc ('k') | ui/views/test/test_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698