Chromium Code Reviews| 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_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h" | 9 #include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h" |
| 10 #include "ui/views/controls/button/vector_icon_button_delegate.h" | 10 #include "ui/views/controls/button/vector_icon_button_delegate.h" |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 | 26 |
| 27 // PaymentRequestSheetController: | 27 // PaymentRequestSheetController: |
| 28 std::unique_ptr<views::View> CreateView() override; | 28 std::unique_ptr<views::View> CreateView() override; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 // views::VectorIconButtonDelegate: | 31 // views::VectorIconButtonDelegate: |
| 32 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 32 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 33 | 33 |
| 34 std::unique_ptr<views::View> CreateOrderSummarySectionContent(); | 34 std::unique_ptr<views::View> CreateOrderSummarySectionContent(); |
| 35 std::unique_ptr<views::Button> CreatePaymentSheetSummaryRow(); | 35 std::unique_ptr<views::Button> CreatePaymentSheetSummaryRow(); |
| 36 std::unique_ptr<views::Button> CreatePaymentMethodRow(); | |
| 37 | |
| 38 void InitWidestNameColumnViewWidth(); | |
|
please use gerrit instead
2017/01/12 19:34:02
newline between methods and member variables.
anthonyvd
2017/01/13 16:09:19
Done.
| |
| 39 int widest_name_column_view_width_; | |
| 36 | 40 |
| 37 DISALLOW_COPY_AND_ASSIGN(PaymentSheetViewController); | 41 DISALLOW_COPY_AND_ASSIGN(PaymentSheetViewController); |
| 38 }; | 42 }; |
| 39 | 43 |
| 40 } // namespace payments | 44 } // namespace payments |
| 41 | 45 |
| 42 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ | 46 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_ |
| OLD | NEW |