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

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

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some new gfx::Screen additions Created 8 years, 2 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 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 #endif 52 #endif
53 virtual NonClientFrameView* CreateDefaultNonClientFrameView( 53 virtual NonClientFrameView* CreateDefaultNonClientFrameView(
54 Widget* widget) OVERRIDE; 54 Widget* widget) OVERRIDE;
55 virtual bool UseTransparentWindows() const OVERRIDE; 55 virtual bool UseTransparentWindows() const OVERRIDE;
56 virtual void AddRef() OVERRIDE {} 56 virtual void AddRef() OVERRIDE {}
57 virtual void ReleaseRef() OVERRIDE {} 57 virtual void ReleaseRef() OVERRIDE {}
58 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; 58 virtual int GetDispositionForEvent(int event_flags) OVERRIDE;
59 #if defined(USE_AURA) 59 #if defined(USE_AURA)
60 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper( 60 virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper(
61 views::NativeWidgetAura* native_widget) OVERRIDE; 61 views::NativeWidgetAura* native_widget, gfx::NativeView parent) OVERRIDE;
62 #endif 62 #endif
63 virtual content::WebContents* CreateWebContents( 63 virtual content::WebContents* CreateWebContents(
64 content::BrowserContext* browser_context, 64 content::BrowserContext* browser_context,
65 content::SiteInstance* site_instance) OVERRIDE; 65 content::SiteInstance* site_instance) OVERRIDE;
66 virtual NativeWidget* CreateNativeWidget( 66 virtual NativeWidget* CreateNativeWidget(
67 Widget::InitParams::Type type, 67 Widget::InitParams::Type type,
68 internal::NativeWidgetDelegate* delegate, 68 internal::NativeWidgetDelegate* delegate,
69 gfx::NativeView parent) OVERRIDE; 69 gfx::NativeView parent) OVERRIDE;
70 70
71 private: 71 private:
72 bool use_transparent_windows_; 72 bool use_transparent_windows_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate); 74 DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
75 }; 75 };
76 76
77 } // namespace views 77 } // namespace views
78 78
79 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_ 79 #endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698