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

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

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land Created 7 years, 7 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_CONSTRAINED_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace web_modal {
10 class WebContentsModalDialogHost; 11 class WebContentsModalDialogHost;
12 }
11 13
12 namespace content { 14 namespace content {
13 class WebContents; 15 class WebContents;
14 class BrowserContext; 16 class BrowserContext;
15 } 17 }
16 namespace views { 18 namespace views {
17 class NonClientFrameView; 19 class NonClientFrameView;
18 class WidgetDelegate; 20 class WidgetDelegate;
19 class Widget; 21 class Widget;
20 } 22 }
21 23
22 views::Widget* CreateWebContentsModalDialogViews( 24 views::Widget* CreateWebContentsModalDialogViews(
23 views::WidgetDelegate* widget_delegate, 25 views::WidgetDelegate* widget_delegate,
24 gfx::NativeView parent, 26 gfx::NativeView parent,
25 WebContentsModalDialogHost* dialog_host); 27 web_modal::WebContentsModalDialogHost* dialog_host);
26 28
27 views::NonClientFrameView* CreateConstrainedStyleNonClientFrameView( 29 views::NonClientFrameView* CreateConstrainedStyleNonClientFrameView(
28 views::Widget* widget, 30 views::Widget* widget,
29 content::BrowserContext* browser_context); 31 content::BrowserContext* browser_context);
30 32
31 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_ 33 #endif // CHROME_BROWSER_UI_VIEWS_CONSTRAINED_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698