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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/extensions/web_auth_flow_window_views.h
===================================================================
--- chrome/browser/ui/views/extensions/web_auth_flow_window_views.h (revision 149528)
+++ chrome/browser/ui/views/extensions/web_auth_flow_window_views.h (working copy)
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_
-#define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_
-
-#include "chrome/browser/ui/extensions/web_auth_flow_window.h"
-#include "ui/gfx/rect.h"
-#include "ui/views/widget/widget_delegate.h"
-
-namespace content {
-class BrowserContext;
-class WebContents;
-}
-
-namespace views {
-class View;
-class WebView;
-class Widget;
-}
-
-class WebAuthFlowWindowViews : public WebAuthFlowWindow,
- public views::WidgetDelegateView {
- public:
- WebAuthFlowWindowViews(
- Delegate* delegate,
- content::BrowserContext* browser_context,
- content::WebContents* contents);
-
- // WidgetDelegate implementation.
- virtual views::View* GetContentsView() OVERRIDE;
- virtual views::View* GetInitiallyFocusedView() OVERRIDE;
- virtual void DeleteDelegate() OVERRIDE;
-
- // WebAuthFlowWindow implementation.
- virtual void Show() OVERRIDE;
-
- private:
- virtual ~WebAuthFlowWindowViews();
-
- views::WebView* web_view_;
- views::Widget* widget_;
-
- DISALLOW_COPY_AND_ASSIGN(WebAuthFlowWindowViews);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_WEB_AUTH_FLOW_WINDOW_VIEWS_H_

Powered by Google App Engine
This is Rietveld 408576698