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

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

Issue 147246: Linux: middle-click to navigate (Closed)
Patch Set: ... Created 11 years, 6 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
« no previous file with comments | « webkit/glue/webview_impl.cc ('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/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "webkit/api/public/WebPoint.h" 10 #include "webkit/api/public/WebPoint.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const std::vector<WebMenuItem>& items); 66 const std::vector<WebMenuItem>& items);
67 67
68 const WebKit::WebSize& size() const { return size_; } 68 const WebKit::WebSize& size() const { return size_; }
69 69
70 WebWidgetDelegate* delegate() { 70 WebWidgetDelegate* delegate() {
71 return delegate_; 71 return delegate_;
72 } 72 }
73 73
74 void MouseMove(const WebKit::WebMouseEvent& mouse_event); 74 void MouseMove(const WebKit::WebMouseEvent& mouse_event);
75 void MouseLeave(const WebKit::WebMouseEvent& mouse_event); 75 void MouseLeave(const WebKit::WebMouseEvent& mouse_event);
76 void MouseDown(const WebKit::WebMouseEvent& mouse_event); 76 bool MouseDown(const WebKit::WebMouseEvent& mouse_event);
77 void MouseUp(const WebKit::WebMouseEvent& mouse_event); 77 bool MouseUp(const WebKit::WebMouseEvent& mouse_event);
78 void MouseDoubleClick(const WebKit::WebMouseEvent& mouse_event); 78 void MouseDoubleClick(const WebKit::WebMouseEvent& mouse_event);
79 void MouseWheel(const WebKit::WebMouseWheelEvent& wheel_event); 79 void MouseWheel(const WebKit::WebMouseWheelEvent& wheel_event);
80 bool KeyEvent(const WebKit::WebKeyboardEvent& key_event); 80 bool KeyEvent(const WebKit::WebKeyboardEvent& key_event);
81 81
82 protected: 82 protected:
83 friend class WebWidget; // So WebWidget::Create can call our constructor 83 friend class WebWidget; // So WebWidget::Create can call our constructor
84 friend class base::RefCounted<WebWidgetImpl>; 84 friend class base::RefCounted<WebWidgetImpl>;
85 85
86 WebWidgetImpl(WebWidgetDelegate* delegate); 86 WebWidgetImpl(WebWidgetDelegate* delegate);
87 ~WebWidgetImpl(); 87 ~WebWidgetImpl();
(...skipping 22 matching lines...) Expand all
110 110
111 // This is a non-owning ref. The popup will notify us via popupClosed() 111 // This is a non-owning ref. The popup will notify us via popupClosed()
112 // before it is destroyed. 112 // before it is destroyed.
113 WebCore::FramelessScrollView* widget_; 113 WebCore::FramelessScrollView* widget_;
114 114
115 private: 115 private:
116 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl); 116 DISALLOW_COPY_AND_ASSIGN(WebWidgetImpl);
117 }; 117 };
118 118
119 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__ 119 #endif // WEBKIT_GLUE_WEBWIDGET_IMPL_H__
OLDNEW
« no previous file with comments | « webkit/glue/webview_impl.cc ('k') | webkit/glue/webwidget_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698