mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add initial Linux support (issue #40).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@338 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -227,6 +227,9 @@ class WebWidgetHostGtkWidget {
|
||||
return FALSE; // We do not forward any other buttons to the renderer.
|
||||
if (event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
|
||||
return FALSE;
|
||||
|
||||
gtk_widget_grab_focus(widget);
|
||||
|
||||
host->webwidget()->handleInputEvent(
|
||||
WebInputEventFactory::mouseEvent(event));
|
||||
return FALSE;
|
||||
@@ -346,7 +349,8 @@ WebWidgetHost::~WebWidgetHost() {
|
||||
g_object_set_data(G_OBJECT(view_), kWebWidgetHostKey, NULL);
|
||||
g_signal_handlers_disconnect_matched(view_,
|
||||
G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, this);
|
||||
webwidget_->close();
|
||||
// TODO(port): Figure out why we can't do this without crashing.
|
||||
// webwidget_->close();
|
||||
}
|
||||
|
||||
void WebWidgetHost::Resize(const gfx::Size &newsize) {
|
||||
|
Reference in New Issue
Block a user