OLD | NEW |
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_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "content/public/browser/render_widget_host_iterator.h" | 65 #include "content/public/browser/render_widget_host_iterator.h" |
66 #include "content/public/browser/user_metrics.h" | 66 #include "content/public/browser/user_metrics.h" |
67 #include "content/public/common/bindings_policy.h" | 67 #include "content/public/common/bindings_policy.h" |
68 #include "content/public/common/content_constants.h" | 68 #include "content/public/common/content_constants.h" |
69 #include "content/public/common/content_switches.h" | 69 #include "content/public/common/content_switches.h" |
70 #include "content/public/common/context_menu_params.h" | 70 #include "content/public/common/context_menu_params.h" |
71 #include "content/public/common/drop_data.h" | 71 #include "content/public/common/drop_data.h" |
72 #include "content/public/common/result_codes.h" | 72 #include "content/public/common/result_codes.h" |
73 #include "content/public/common/url_constants.h" | 73 #include "content/public/common/url_constants.h" |
74 #include "content/public/common/url_utils.h" | 74 #include "content/public/common/url_utils.h" |
| 75 #include "net/base/filename_util.h" |
75 #include "net/base/net_util.h" | 76 #include "net/base/net_util.h" |
76 #include "net/base/network_change_notifier.h" | 77 #include "net/base/network_change_notifier.h" |
77 #include "net/url_request/url_request_context_getter.h" | 78 #include "net/url_request/url_request_context_getter.h" |
78 #include "third_party/skia/include/core/SkBitmap.h" | 79 #include "third_party/skia/include/core/SkBitmap.h" |
79 #include "ui/accessibility/ax_tree.h" | 80 #include "ui/accessibility/ax_tree.h" |
80 #include "ui/base/touch/touch_device.h" | 81 #include "ui/base/touch/touch_device.h" |
81 #include "ui/base/touch/touch_enabled.h" | 82 #include "ui/base/touch/touch_enabled.h" |
82 #include "ui/base/ui_base_switches.h" | 83 #include "ui/base/ui_base_switches.h" |
83 #include "ui/gfx/image/image_skia.h" | 84 #include "ui/gfx/image/image_skia.h" |
84 #include "ui/gfx/native_widget_types.h" | 85 #include "ui/gfx/native_widget_types.h" |
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1788 return true; | 1789 return true; |
1789 } | 1790 } |
1790 | 1791 |
1791 void RenderViewHostImpl::AttachToFrameTree() { | 1792 void RenderViewHostImpl::AttachToFrameTree() { |
1792 FrameTree* frame_tree = delegate_->GetFrameTree(); | 1793 FrameTree* frame_tree = delegate_->GetFrameTree(); |
1793 | 1794 |
1794 frame_tree->ResetForMainFrameSwap(); | 1795 frame_tree->ResetForMainFrameSwap(); |
1795 } | 1796 } |
1796 | 1797 |
1797 } // namespace content | 1798 } // namespace content |
OLD | NEW |