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

Side by Side Diff: chrome/browser/ui/views/tab_contents/tab_contents_view_views.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 CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void CreateNewWidget(int route_id, 83 virtual void CreateNewWidget(int route_id,
84 WebKit::WebPopupType popup_type) OVERRIDE; 84 WebKit::WebPopupType popup_type) OVERRIDE;
85 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; 85 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE;
86 virtual void ShowCreatedWindow(int route_id, 86 virtual void ShowCreatedWindow(int route_id,
87 WindowOpenDisposition disposition, 87 WindowOpenDisposition disposition,
88 const gfx::Rect& initial_pos, 88 const gfx::Rect& initial_pos,
89 bool user_gesture) OVERRIDE; 89 bool user_gesture) OVERRIDE;
90 virtual void ShowCreatedWidget(int route_id, 90 virtual void ShowCreatedWidget(int route_id,
91 const gfx::Rect& initial_pos) OVERRIDE; 91 const gfx::Rect& initial_pos) OVERRIDE;
92 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; 92 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE;
93 virtual void ShowContextMenu(const ContextMenuParams& params) OVERRIDE; 93 virtual void ShowContextMenu(
94 const content::ContextMenuParams& params) OVERRIDE;
94 virtual void ShowPopupMenu(const gfx::Rect& bounds, 95 virtual void ShowPopupMenu(const gfx::Rect& bounds,
95 int item_height, 96 int item_height,
96 double item_font_size, 97 double item_font_size,
97 int selected_item, 98 int selected_item,
98 const std::vector<WebMenuItem>& items, 99 const std::vector<WebMenuItem>& items,
99 bool right_aligned) OVERRIDE; 100 bool right_aligned) OVERRIDE;
100 virtual void StartDragging(const WebDropData& drop_data, 101 virtual void StartDragging(const WebDropData& drop_data,
101 WebKit::WebDragOperationsMask operations, 102 WebKit::WebDragOperationsMask operations,
102 const SkBitmap& image, 103 const SkBitmap& image,
103 const gfx::Point& image_offset) OVERRIDE; 104 const gfx::Point& image_offset) OVERRIDE;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 mutable const views::FocusManager* focus_manager_; 171 mutable const views::FocusManager* focus_manager_;
171 172
172 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a 173 // The overlaid view. Owned by the caller of |InstallOverlayView|; this is a
173 // weak reference. 174 // weak reference.
174 views::Widget* overlaid_view_; 175 views::Widget* overlaid_view_;
175 176
176 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews); 177 DISALLOW_COPY_AND_ASSIGN(TabContentsViewViews);
177 }; 178 };
178 179
179 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_ 180 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_VIEW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698