| 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 12 matching lines...) Expand all Loading... |
| 23 virtual void CreateNewWidget(int route_id, | 23 virtual void CreateNewWidget(int route_id, |
| 24 WebKit::WebPopupType popup_type) OVERRIDE; | 24 WebKit::WebPopupType popup_type) OVERRIDE; |
| 25 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 25 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 26 virtual void ShowCreatedWindow(int route_id, | 26 virtual void ShowCreatedWindow(int route_id, |
| 27 WindowOpenDisposition disposition, | 27 WindowOpenDisposition disposition, |
| 28 const gfx::Rect& initial_pos, | 28 const gfx::Rect& initial_pos, |
| 29 bool user_gesture) OVERRIDE; | 29 bool user_gesture) OVERRIDE; |
| 30 virtual void ShowCreatedWidget(int route_id, | 30 virtual void ShowCreatedWidget(int route_id, |
| 31 const gfx::Rect& initial_pos) OVERRIDE; | 31 const gfx::Rect& initial_pos) OVERRIDE; |
| 32 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 32 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
| 33 virtual void ShowContextMenu( | 33 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; |
| 34 const content::ContextMenuParams& params) OVERRIDE; | |
| 35 virtual void ShowPopupMenu(const gfx::Rect& bounds, | 34 virtual void ShowPopupMenu(const gfx::Rect& bounds, |
| 36 int item_height, | 35 int item_height, |
| 37 double item_font_size, | 36 double item_font_size, |
| 38 int selected_item, | 37 int selected_item, |
| 39 const std::vector<WebMenuItem>& items, | 38 const std::vector<WebMenuItem>& items, |
| 40 bool right_aligned) OVERRIDE; | 39 bool right_aligned) OVERRIDE; |
| 41 virtual void StartDragging(const WebDropData& drop_data, | 40 virtual void StartDragging(const WebDropData& drop_data, |
| 42 WebKit::WebDragOperationsMask allowed_ops, | 41 WebKit::WebDragOperationsMask allowed_ops, |
| 43 const SkBitmap& image, | 42 const SkBitmap& image, |
| 44 const gfx::Point& image_offset) OVERRIDE; | 43 const gfx::Point& image_offset) OVERRIDE; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 69 virtual void CloseTabAfterEventTracking() OVERRIDE; | 68 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 69 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
| 71 | 70 |
| 72 private: | 71 private: |
| 73 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); | 72 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 } // namespace content | 75 } // namespace content |
| 77 | 76 |
| 78 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ | 77 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ |
| OLD | NEW |