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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_handler.h

Issue 2023763013: Properly handle dialogClose message in password separated sign in flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/inline_login_handler.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/web_ui_message_handler.h" 10 #include "content/public/browser/web_ui_message_handler.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // work. 47 // work.
48 void HandleCompleteLoginMessage(const base::ListValue* args); 48 void HandleCompleteLoginMessage(const base::ListValue* args);
49 49
50 // JS callback to switch the UI from a constrainted dialog to a full tab. 50 // JS callback to switch the UI from a constrainted dialog to a full tab.
51 void HandleSwitchToFullTabMessage(const base::ListValue* args); 51 void HandleSwitchToFullTabMessage(const base::ListValue* args);
52 52
53 // Handles the web ui message sent when the navigation button is clicked by 53 // Handles the web ui message sent when the navigation button is clicked by
54 // the user, requesting either a back navigation or closing the dialog. 54 // the user, requesting either a back navigation or closing the dialog.
55 void HandleNavigationButtonClicked(const base::ListValue* args); 55 void HandleNavigationButtonClicked(const base::ListValue* args);
56 56
57 // Handles the web ui message sent when the window is closed from javascript.
58 void HandleDialogClose(const base::ListValue* args);
59
57 virtual void SetExtraInitParams(base::DictionaryValue& params) {} 60 virtual void SetExtraInitParams(base::DictionaryValue& params) {}
58 virtual void CompleteLogin(const base::ListValue* args) = 0; 61 virtual void CompleteLogin(const base::ListValue* args) = 0;
59 62
60 base::WeakPtrFactory<InlineLoginHandler> weak_ptr_factory_; 63 base::WeakPtrFactory<InlineLoginHandler> weak_ptr_factory_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandler); 65 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandler);
63 }; 66 };
64 67
65 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_ 68 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/signin/inline_login_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698