Index: services/native_viewport/platform_viewport.h |
diff --git a/services/native_viewport/platform_viewport.h b/services/native_viewport/platform_viewport.h |
index 69bc4c7b2624f2017df531061a9b8e368eebdb77..04cc7ed2dd8325daf71028f87d8efa24b390bd31 100644 |
--- a/services/native_viewport/platform_viewport.h |
+++ b/services/native_viewport/platform_viewport.h |
@@ -15,6 +15,10 @@ namespace gfx { |
class Rect; |
} |
+namespace mojo { |
+class ApplicationImpl; |
+} |
+ |
namespace native_viewport { |
// Encapsulation of platform-specific Viewport. |
@@ -41,7 +45,8 @@ class PlatformViewport { |
virtual gfx::Size GetSize() = 0; |
virtual void SetBounds(const gfx::Rect& bounds) = 0; |
- static scoped_ptr<PlatformViewport> Create(Delegate* delegate); |
+ static scoped_ptr<PlatformViewport> Create(mojo::ApplicationImpl* application, |
+ Delegate* delegate); |
}; |
} // namespace native_viewport |