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

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

Issue 11758002: Desktop aura: Expand what the ViewsDelegate can do to new windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't clobber native_widget Created 7 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_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 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 27 matching lines...) Expand all
38 #endif 38 #endif
39 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView( 39 virtual views::NonClientFrameView* CreateDefaultNonClientFrameView(
40 views::Widget* widget) OVERRIDE; 40 views::Widget* widget) OVERRIDE;
41 virtual bool UseTransparentWindows() const OVERRIDE; 41 virtual bool UseTransparentWindows() const OVERRIDE;
42 virtual void AddRef() OVERRIDE; 42 virtual void AddRef() OVERRIDE;
43 virtual void ReleaseRef() OVERRIDE; 43 virtual void ReleaseRef() OVERRIDE;
44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; 44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE;
45 virtual content::WebContents* CreateWebContents( 45 virtual content::WebContents* CreateWebContents(
46 content::BrowserContext* browser_context, 46 content::BrowserContext* browser_context,
47 content::SiteInstance* site_instance) OVERRIDE; 47 content::SiteInstance* site_instance) OVERRIDE;
48 virtual views::NativeWidget* CreateNativeWidget( 48 virtual void OnBeforeWidgetInit(
49 views::Widget::InitParams::Type type, 49 views::Widget::InitParams* params,
50 views::internal::NativeWidgetDelegate* delegate, 50 views::internal::NativeWidgetDelegate* delegate) OVERRIDE;
51 gfx::NativeView parent,
52 gfx::NativeView context) OVERRIDE;
53 51
54 private: 52 private:
55 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 53 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
56 }; 54 };
57 55
58 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ 56 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698