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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 10377098: Merge 135714 - Introduce trivial dependency on libatk. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_gtk.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_gtk.cc (revision 136435)
+++ content/browser/renderer_host/render_widget_host_view_gtk.cc (working copy)
@@ -9,6 +9,7 @@
// badly with net::URLRequestStatus::Status.
#include "content/common/view_messages.h"
+#include <atk/atk.h>
#include <cairo/cairo.h>
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
@@ -561,6 +562,14 @@
compositing_surface_(gfx::kNullPluginWindow),
last_mouse_down_(NULL) {
host_->SetView(this);
+
+ // TODO(dmazzoni): This conditional intentionally never evaluates to true.
+ // Introduce a dependency on libatk with a trivial change so that the
+ // Linux packaging scripts can be updated simultaneously to allow it.
+ // Once this change is in, a real patch to enable ATK support will be
+ // added and these two lines will be removed: http://crbug.com/24585
+ if (!host_)
+ atk_object_set_role(NULL, ATK_ROLE_HTML_CONTAINER);
}
RenderWidgetHostViewGtk::~RenderWidgetHostViewGtk() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698