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

Side by Side Diff: content/test/test_web_contents_view.h

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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(const ContextMenuParams& params) OVERRIDE; 33 virtual void ShowContextMenu(
34 const content::ContextMenuParams& params) OVERRIDE;
34 virtual void ShowPopupMenu(const gfx::Rect& bounds, 35 virtual void ShowPopupMenu(const gfx::Rect& bounds,
35 int item_height, 36 int item_height,
36 double item_font_size, 37 double item_font_size,
37 int selected_item, 38 int selected_item,
38 const std::vector<WebMenuItem>& items, 39 const std::vector<WebMenuItem>& items,
39 bool right_aligned) OVERRIDE; 40 bool right_aligned) OVERRIDE;
40 virtual void StartDragging(const WebDropData& drop_data, 41 virtual void StartDragging(const WebDropData& drop_data,
41 WebKit::WebDragOperationsMask allowed_ops, 42 WebKit::WebDragOperationsMask allowed_ops,
42 const SkBitmap& image, 43 const SkBitmap& image,
43 const gfx::Point& image_offset) OVERRIDE; 44 const gfx::Point& image_offset) OVERRIDE;
(...skipping 26 matching lines...) Expand all
70 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; 71 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE;
71 virtual void RemoveOverlayView() OVERRIDE; 72 virtual void RemoveOverlayView() OVERRIDE;
72 73
73 private: 74 private:
74 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView); 75 DISALLOW_COPY_AND_ASSIGN(TestWebContentsView);
75 }; 76 };
76 77
77 } // namespace content 78 } // namespace content
78 79
79 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_ 80 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698