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

Side by Side Diff: webkit/glue/webwidget_impl.h

Issue 67018: Chrome side of the WebKit popup changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « webkit/glue/webwidget_delegate.h ('k') | webkit/glue/webwidget_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBWIDGET_IMPL_H__
6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 6 #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 WebKit::WebRect* caret_rect); 58 WebKit::WebRect* caret_rect);
59 virtual void SetTextDirection(WebTextDirection direction); 59 virtual void SetTextDirection(WebTextDirection direction);
60 60
61 // WebWidgetImpl 61 // WebWidgetImpl
62 void Init(WebCore::FramelessScrollView* widget, 62 void Init(WebCore::FramelessScrollView* widget,
63 const WebKit::WebRect& bounds); 63 const WebKit::WebRect& bounds);
64 void InitWithItems(WebCore::FramelessScrollView* widget, 64 void InitWithItems(WebCore::FramelessScrollView* widget,
65 const WebKit::WebRect& bounds, 65 const WebKit::WebRect& bounds,
66 int item_height, 66 int item_height,
67 int selected_index, 67 int selected_index,
68 const std::vector<MenuItem>& items); 68 const std::vector<WebMenuItem>& items);
69 69
70 const WebKit::WebSize& size() const { return size_; } 70 const WebKit::WebSize& size() const { return size_; }
71 71
72 WebWidgetDelegate* delegate() { 72 WebWidgetDelegate* delegate() {
73 return delegate_; 73 return delegate_;
74 } 74 }
75 75
76 void MouseMove(const WebKit::WebMouseEvent& mouse_event); 76 void MouseMove(const WebKit::WebMouseEvent& mouse_event);
77 void MouseLeave(const WebKit::WebMouseEvent& mouse_event); 77 void MouseLeave(const WebKit::WebMouseEvent& mouse_event);
78 void MouseDown(const WebKit::WebMouseEvent& mouse_event); 78 void MouseDown(const WebKit::WebMouseEvent& mouse_event);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // This is a non-owning ref. The popup will notify us via popupClosed() 121 // This is a non-owning ref. The popup will notify us via popupClosed()
122 // before it is destroyed. 122 // before it is destroyed.
123 WebCore::FramelessScrollView* widget_; 123 WebCore::FramelessScrollView* widget_;
124 124
125 private: 125 private:
126 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl); 126 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl);
127 }; 127 };
128 128
129 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 129 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/glue/webwidget_delegate.h ('k') | webkit/glue/webwidget_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698