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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 2529733002: [WebPayments] Move views-specific code to c/b/ui/views/ (Closed)
Patch Set: Implement ShowWebPaymentsDialog in TestBrowserWindow Created 4 years, 1 month 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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index a2eb2485ce0a048df67e24ac2654ca32e36faab1..95a0f9cd426eaeb57946e57f23a29b154e58d6b5 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -57,6 +57,10 @@ class Rect;
class Size;
}
+namespace payments {
+class PaymentRequestImpl;
+}
+
namespace security_state {
struct SecurityInfo;
} // namespace security_state
@@ -395,6 +399,8 @@ class BrowserWindow : public ui::BaseWindow {
virtual std::string GetWorkspace() const = 0;
virtual bool IsVisibleOnAllWorkspaces() const = 0;
+ virtual void ShowWebPaymentsDialog(payments::PaymentRequestImpl* impl) = 0;
Kevin Bailey 2016/11/28 15:53:52 This addition looks very invasive to me. The other
anthonyvd 2016/11/28 16:34:01 Yeah so it's not really that the previous solution
Kevin Bailey 2016/11/28 17:27:06 Saying 'app' near 'ShowAppMenu()' was simply a coi
anthonyvd 2016/11/29 09:08:01 Fair point.
+
protected:
friend class BrowserCloseManager;
friend class BrowserView;

Powered by Google App Engine
This is Rietveld 408576698