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

Side by Side 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 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/lifetime/browser_close_manager.h" 10 #include "chrome/browser/lifetime/browser_close_manager.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 namespace extensions { 50 namespace extensions {
51 class Command; 51 class Command;
52 class Extension; 52 class Extension;
53 } 53 }
54 54
55 namespace gfx { 55 namespace gfx {
56 class Rect; 56 class Rect;
57 class Size; 57 class Size;
58 } 58 }
59 59
60 namespace payments {
61 class PaymentRequestImpl;
62 }
63
60 namespace security_state { 64 namespace security_state {
61 struct SecurityInfo; 65 struct SecurityInfo;
62 } // namespace security_state 66 } // namespace security_state
63 67
64 namespace signin_metrics { 68 namespace signin_metrics {
65 enum class AccessPoint; 69 enum class AccessPoint;
66 } 70 }
67 71
68 namespace web_modal { 72 namespace web_modal {
69 class WebContentsModalDialogHost; 73 class WebContentsModalDialogHost;
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 virtual void ShowImeWarningBubble( 392 virtual void ShowImeWarningBubble(
389 const extensions::Extension* extension, 393 const extensions::Extension* extension,
390 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& 394 const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
391 callback) = 0; 395 callback) = 0;
392 396
393 // Returns the platform-specific ID of the workspace the browser window 397 // Returns the platform-specific ID of the workspace the browser window
394 // currently resides in. 398 // currently resides in.
395 virtual std::string GetWorkspace() const = 0; 399 virtual std::string GetWorkspace() const = 0;
396 virtual bool IsVisibleOnAllWorkspaces() const = 0; 400 virtual bool IsVisibleOnAllWorkspaces() const = 0;
397 401
402 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.
403
398 protected: 404 protected:
399 friend class BrowserCloseManager; 405 friend class BrowserCloseManager;
400 friend class BrowserView; 406 friend class BrowserView;
401 virtual void DestroyBrowser() = 0; 407 virtual void DestroyBrowser() = 0;
402 }; 408 };
403 409
404 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 410 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698