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

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

Issue 147246: Linux: middle-click to navigate (Closed)
Patch Set: ... Created 11 years, 5 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 | « chrome/browser/views/tab_contents/tab_contents_view_gtk.h ('k') | webkit/glue/webview_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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_WEBVIEW_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H_
6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_ 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 164 }
165 165
166 // History related methods: 166 // History related methods:
167 void SetCurrentHistoryItem(WebCore::HistoryItem* item); 167 void SetCurrentHistoryItem(WebCore::HistoryItem* item);
168 WebCore::HistoryItem* GetPreviousHistoryItem(); 168 WebCore::HistoryItem* GetPreviousHistoryItem();
169 void ObserveNewNavigation(); 169 void ObserveNewNavigation();
170 170
171 // Event related methods: 171 // Event related methods:
172 void MouseMove(const WebKit::WebMouseEvent& mouse_event); 172 void MouseMove(const WebKit::WebMouseEvent& mouse_event);
173 void MouseLeave(const WebKit::WebMouseEvent& mouse_event); 173 void MouseLeave(const WebKit::WebMouseEvent& mouse_event);
174 void MouseDown(const WebKit::WebMouseEvent& mouse_event); 174 bool MouseDown(const WebKit::WebMouseEvent& mouse_event);
175 void MouseUp(const WebKit::WebMouseEvent& mouse_event); 175 bool MouseUp(const WebKit::WebMouseEvent& mouse_event);
176 void MouseContextMenu(const WebKit::WebMouseEvent& mouse_event); 176 void MouseContextMenu(const WebKit::WebMouseEvent& mouse_event);
177 void MouseDoubleClick(const WebKit::WebMouseEvent& mouse_event); 177 void MouseDoubleClick(const WebKit::WebMouseEvent& mouse_event);
178 void MouseWheel(const WebKit::WebMouseWheelEvent& wheel_event); 178 void MouseWheel(const WebKit::WebMouseWheelEvent& wheel_event);
179 bool KeyEvent(const WebKit::WebKeyboardEvent& key_event); 179 bool KeyEvent(const WebKit::WebKeyboardEvent& key_event);
180 bool CharEvent(const WebKit::WebKeyboardEvent& key_event); 180 bool CharEvent(const WebKit::WebKeyboardEvent& key_event);
181 181
182 // Handles context menu events orignated via the the keyboard. These 182 // Handles context menu events orignated via the the keyboard. These
183 // include the VK_APPS virtual key and the Shift+F10 combine. 183 // include the VK_APPS virtual key and the Shift+F10 combine.
184 // Code is based on the Webkit function 184 // Code is based on the Webkit function
185 // bool WebView::handleContextMenuEvent(WPARAM wParam, LPARAM lParam) in 185 // bool WebView::handleContextMenuEvent(WPARAM wParam, LPARAM lParam) in
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 static const WebKit::WebInputEvent* current_input_event() { 363 static const WebKit::WebInputEvent* current_input_event() {
364 return g_current_input_event; 364 return g_current_input_event;
365 } 365 }
366 private: 366 private:
367 static const WebKit::WebInputEvent* g_current_input_event; 367 static const WebKit::WebInputEvent* g_current_input_event;
368 368
369 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); 369 DISALLOW_COPY_AND_ASSIGN(WebViewImpl);
370 }; 370 };
371 371
372 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ 372 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_contents/tab_contents_view_gtk.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698