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

Side by Side Diff: content/browser/web_contents/web_contents_view_guest.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Backend implementation of RenderViewHostDelegateView. 77 // Backend implementation of RenderViewHostDelegateView.
78 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; 78 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE;
79 virtual void ShowPopupMenu(const gfx::Rect& bounds, 79 virtual void ShowPopupMenu(const gfx::Rect& bounds,
80 int item_height, 80 int item_height,
81 double item_font_size, 81 double item_font_size,
82 int selected_item, 82 int selected_item,
83 const std::vector<MenuItem>& items, 83 const std::vector<MenuItem>& items,
84 bool right_aligned, 84 bool right_aligned,
85 bool allow_multiple_selection) OVERRIDE; 85 bool allow_multiple_selection) OVERRIDE;
86 virtual void StartDragging(const DropData& drop_data, 86 virtual void StartDragging(const DropData& drop_data,
87 WebKit::WebDragOperationsMask allowed_ops, 87 blink::WebDragOperationsMask allowed_ops,
88 const gfx::ImageSkia& image, 88 const gfx::ImageSkia& image,
89 const gfx::Vector2d& image_offset, 89 const gfx::Vector2d& image_offset,
90 const DragEventSourceInfo& event_info) OVERRIDE; 90 const DragEventSourceInfo& event_info) OVERRIDE;
91 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) OVERRIDE; 91 virtual void UpdateDragCursor(blink::WebDragOperation operation) OVERRIDE;
92 virtual void GotFocus() OVERRIDE; 92 virtual void GotFocus() OVERRIDE;
93 virtual void TakeFocus(bool reverse) OVERRIDE; 93 virtual void TakeFocus(bool reverse) OVERRIDE;
94 94
95 private: 95 private:
96 // The WebContentsImpl whose contents we display. 96 // The WebContentsImpl whose contents we display.
97 WebContentsImpl* web_contents_; 97 WebContentsImpl* web_contents_;
98 BrowserPluginGuest* guest_; 98 BrowserPluginGuest* guest_;
99 // The platform dependent view backing this WebContentsView. 99 // The platform dependent view backing this WebContentsView.
100 // Calls to this WebContentsViewGuest are forwarded to |platform_view_|. 100 // Calls to this WebContentsViewGuest are forwarded to |platform_view_|.
101 scoped_ptr<WebContentsViewPort> platform_view_; 101 scoped_ptr<WebContentsViewPort> platform_view_;
102 gfx::Size size_; 102 gfx::Size size_;
103 103
104 // Delegate view for guest's platform view. 104 // Delegate view for guest's platform view.
105 RenderViewHostDelegateView* platform_view_delegate_view_; 105 RenderViewHostDelegateView* platform_view_delegate_view_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest); 107 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGuest);
108 }; 108 };
109 109
110 } // namespace content 110 } // namespace content
111 111
112 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_ 112 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.cc ('k') | content/browser/web_contents/web_contents_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698