diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-07 20:44:33 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-07 20:44:33 +0000 |
commit | dec284a65b9ccd8ab276f846fe77a629eec6815d (patch) | |
tree | 505b0605b3b3f38637ad5a0d05b5a56e37ce836d /content | |
parent | befd38c4ed911e912d65ab5f85d1d43720a0a359 (diff) | |
download | chromium_src-dec284a65b9ccd8ab276f846fe77a629eec6815d.zip chromium_src-dec284a65b9ccd8ab276f846fe77a629eec6815d.tar.gz chromium_src-dec284a65b9ccd8ab276f846fe77a629eec6815d.tar.bz2 |
Introduce trivial dependency on libatk.
This change adds a call to a libatk function that never gets executed, so
the Linux packaging scripts can be updated to allow a libatk dependency.
This will be followed by a subsequent change that actually implements the
libatk dependency.
BUG=24585
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10380030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_gtk.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.cc b/content/browser/renderer_host/render_widget_host_view_gtk.cc index 15a0073..1e6e1ec 100644 --- a/content/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/content/browser/renderer_host/render_widget_host_view_gtk.cc @@ -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 @@ RenderWidgetHostViewGtk::RenderWidgetHostViewGtk( 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() { |