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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
« no previous file with comments | « content/test/test_navigation_observer.cc ('k') | content/test/test_web_contents_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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( 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
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_
OLDNEW
« no previous file with comments | « content/test/test_navigation_observer.cc ('k') | content/test/test_web_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698