OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ | 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ |
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ | 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/port/browser/render_view_host_delegate_view.h" | 9 #include "content/port/browser/render_view_host_delegate_view.h" |
11 #include "content/public/browser/web_contents_view.h" | 10 #include "content/public/browser/web_contents_view.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class TestWebContentsView : public WebContentsView, | 14 class TestWebContentsView : public WebContentsView, |
16 public RenderViewHostDelegateView { | 15 public RenderViewHostDelegateView { |
17 public: | 16 public: |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void CloseTabAfterEventTracking() OVERRIDE; | 58 virtual void CloseTabAfterEventTracking() OVERRIDE; |
60 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 59 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
61 | 60 |
62 private: | 61 private: |
63 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); | 62 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); |
64 }; | 63 }; |
65 | 64 |
66 } // namespace content | 65 } // namespace content |
67 | 66 |
68 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ | 67 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ |
OLD | NEW |