| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEWS_H
_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEWS_H
_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEWS_H
_ | 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEWS_H
_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/profile_chooser_constants.h" | 9 #include "chrome/browser/ui/profile_chooser_constants.h" |
| 10 #include "chrome/browser/ui/signin_view_controller_delegate.h" | 10 #include "chrome/browser/ui/signin_view_controller_delegate.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ~SigninViewControllerDelegateViews() override; | 70 ~SigninViewControllerDelegateViews() override; |
| 71 | 71 |
| 72 void PerformClose() override; | 72 void PerformClose() override; |
| 73 void ResizeNativeView(int height) override; | 73 void ResizeNativeView(int height) override; |
| 74 | 74 |
| 75 void DisplayModal(); | 75 void DisplayModal(); |
| 76 | 76 |
| 77 views::WebView* content_view_; | 77 views::WebView* content_view_; |
| 78 views::Widget* modal_signin_widget_; // Not owned. | 78 views::Widget* modal_signin_widget_; // Not owned. |
| 79 ui::ModalType dialog_modal_type_; | 79 ui::ModalType dialog_modal_type_; |
| 80 | |
| 81 // wait_for_size_ stores whether the dialog should only be shown after its | |
| 82 // content's size has been laid out and measured so that the constrained | |
| 83 // window is sized to the content. | |
| 84 bool wait_for_size_; | |
| 85 Browser* browser_; | 80 Browser* browser_; |
| 86 | 81 |
| 87 DISALLOW_COPY_AND_ASSIGN(SigninViewControllerDelegateViews); | 82 DISALLOW_COPY_AND_ASSIGN(SigninViewControllerDelegateViews); |
| 88 }; | 83 }; |
| 89 | 84 |
| 90 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEW
S_H_ | 85 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_SIGNIN_VIEW_CONTROLLER_DELEGATE_VIEW
S_H_ |
| OLD | NEW |