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

Unified Diff: ui/platform_window/stub/stub_window.cc

Issue 2823853006: Adds bounds to parameters of StubWindow constrctor (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/platform_window/stub/stub_window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/stub/stub_window.cc
diff --git a/ui/platform_window/stub/stub_window.cc b/ui/platform_window/stub/stub_window.cc
index b54ada3ce601407aa5376f71e5be931c4dbea566..7e28c11a5247701293d9de7b272612e2cd83ad29 100644
--- a/ui/platform_window/stub/stub_window.cc
+++ b/ui/platform_window/stub/stub_window.cc
@@ -10,8 +10,9 @@
namespace ui {
StubWindow::StubWindow(PlatformWindowDelegate* delegate,
- bool use_default_accelerated_widget)
- : delegate_(delegate) {
+ bool use_default_accelerated_widget,
+ const gfx::Rect& bounds)
+ : delegate_(delegate), bounds_(bounds) {
DCHECK(delegate);
if (use_default_accelerated_widget)
delegate_->OnAcceleratedWidgetAvailable(gfx::kNullAcceleratedWidget, 1.f);
« no previous file with comments | « ui/platform_window/stub/stub_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698