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 | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/public/browser/web_contents_view.h" | 10 #include "content/public/browser/web_contents_view.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 virtual void OnTabCrashed(base::TerminationStatus status, | 57 virtual void OnTabCrashed(base::TerminationStatus status, |
58 int error_code) OVERRIDE; | 58 int error_code) OVERRIDE; |
59 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 59 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 60 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
61 virtual void Focus() OVERRIDE; | 61 virtual void Focus() OVERRIDE; |
62 virtual void SetInitialFocus() OVERRIDE; | 62 virtual void SetInitialFocus() OVERRIDE; |
63 virtual void StoreFocus() OVERRIDE; | 63 virtual void StoreFocus() OVERRIDE; |
64 virtual void RestoreFocus() OVERRIDE; | 64 virtual void RestoreFocus() OVERRIDE; |
65 virtual bool IsDoingDrag() const OVERRIDE; | 65 virtual bool IsDoingDrag() const OVERRIDE; |
66 virtual void CancelDragAndCloseTab() OVERRIDE; | 66 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 67 virtual WebDropData* GetDropData() const OVERRIDE; |
67 virtual bool IsEventTracking() const OVERRIDE; | 68 virtual bool IsEventTracking() const OVERRIDE; |
68 virtual void CloseTabAfterEventTracking() OVERRIDE; | 69 virtual void CloseTabAfterEventTracking() OVERRIDE; |
69 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
70 | 71 |
71 private: | 72 private: |
72 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); | 73 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); |
73 }; | 74 }; |
74 | 75 |
75 } // namespace content | 76 } // namespace content |
76 | 77 |
77 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ | 78 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ |
OLD | NEW |