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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 10441019: Move render_view_host_delegate.h out of content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/renderer_host/render_widget_host_view_gtk.h" 5 #include "content/browser/renderer_host/render_widget_host_view_gtk.h"
6 6
7 // If this gets included after the gtk headers, then a bunch of compiler 7 // If this gets included after the gtk headers, then a bunch of compiler
8 // errors happen because of a "#define Status int" in Xlib.h, which interacts 8 // errors happen because of a "#define Status int" in Xlib.h, which interacts
9 // badly with net::URLRequestStatus::Status. 9 // badly with net::URLRequestStatus::Status.
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 14 matching lines...) Expand all
25 #include "base/metrics/histogram.h" 25 #include "base/metrics/histogram.h"
26 #include "base/string_number_conversions.h" 26 #include "base/string_number_conversions.h"
27 #include "base/time.h" 27 #include "base/time.h"
28 #include "base/utf_offset_string_conversions.h" 28 #include "base/utf_offset_string_conversions.h"
29 #include "base/utf_string_conversions.h" 29 #include "base/utf_string_conversions.h"
30 #include "content/browser/accessibility/browser_accessibility_gtk.h" 30 #include "content/browser/accessibility/browser_accessibility_gtk.h"
31 #include "content/browser/renderer_host/backing_store_gtk.h" 31 #include "content/browser/renderer_host/backing_store_gtk.h"
32 #include "content/browser/renderer_host/gtk_im_context_wrapper.h" 32 #include "content/browser/renderer_host/gtk_im_context_wrapper.h"
33 #include "content/browser/renderer_host/gtk_key_bindings_handler.h" 33 #include "content/browser/renderer_host/gtk_key_bindings_handler.h"
34 #include "content/browser/renderer_host/gtk_window_utils.h" 34 #include "content/browser/renderer_host/gtk_window_utils.h"
35 #include "content/browser/renderer_host/render_view_host_delegate.h"
35 #include "content/browser/renderer_host/render_view_host_impl.h" 36 #include "content/browser/renderer_host/render_view_host_impl.h"
36 #include "content/common/gpu/gpu_messages.h" 37 #include "content/common/gpu/gpu_messages.h"
37 #include "content/public/browser/native_web_keyboard_event.h" 38 #include "content/public/browser/native_web_keyboard_event.h"
38 #include "content/public/browser/render_view_host_delegate.h"
39 #include "content/public/common/content_switches.h" 39 #include "content/public/common/content_switches.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact ory.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact ory.h"
43 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact ory.h" 43 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact ory.h"
44 #include "ui/base/gtk/gtk_compat.h" 44 #include "ui/base/gtk/gtk_compat.h"
45 #include "ui/base/text/text_elider.h" 45 #include "ui/base/text/text_elider.h"
46 #include "ui/base/x/x11_util.h" 46 #include "ui/base/x/x11_util.h"
47 #include "ui/gfx/gtk_native_view_id_manager.h" 47 #include "ui/gfx/gtk_native_view_id_manager.h"
48 #include "ui/gfx/gtk_preserve_window.h" 48 #include "ui/gfx/gtk_preserve_window.h"
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1484 browser_accessibility_manager_.reset( 1484 browser_accessibility_manager_.reset(
1485 BrowserAccessibilityManager::CreateEmptyDocument( 1485 BrowserAccessibilityManager::CreateEmptyDocument(
1486 parent, static_cast<WebAccessibility::State>(0), this)); 1486 parent, static_cast<WebAccessibility::State>(0), this));
1487 } 1487 }
1488 BrowserAccessibilityGtk* root = 1488 BrowserAccessibilityGtk* root =
1489 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk(); 1489 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk();
1490 1490
1491 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER); 1491 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER);
1492 return root->GetAtkObject(); 1492 return root->GetAtkObject();
1493 } 1493 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698