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

Side by Side Diff: chrome/browser/ui/views/extensions/web_auth_flow_window_views.h

Issue 10823149: Remove WebAuthFlowWindow and its implementation on all platforms. We don't need it anymore since we… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_
7
8 #include "chrome/browser/ui/extensions/web_auth_flow_window.h"
9 #include "ui/gfx/rect.h"
10 #include "ui/views/widget/widget_delegate.h"
11
12 namespace content {
13 class BrowserContext;
14 class WebContents;
15 }
16
17 namespace views {
18 class View;
19 class WebView;
20 class Widget;
21 }
22
23 class WebAuthFlowWindowViews : public WebAuthFlowWindow,
24 public views::WidgetDelegateView {
25 public:
26 WebAuthFlowWindowViews(
27 Delegate* delegate,
28 content::BrowserContext* browser_context,
29 content::WebContents* contents);
30
31 // WidgetDelegate implementation.
32 virtual views::View* GetContentsView() OVERRIDE;
33 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
34 virtual void DeleteDelegate() OVERRIDE;
35
36 // WebAuthFlowWindow implementation.
37 virtual void Show() OVERRIDE;
38
39 private:
40 virtual ~WebAuthFlowWindowViews();
41
42 views::WebView* web_view_;
43 views::Widget* widget_;
44
45 DISALLOW_COPY_AND_ASSIGN(WebAuthFlowWindowViews);
46 };
47
48 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698