OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/renderer/render_view.h" | 5 #include "chrome/renderer/render_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 #include "chrome/renderer/webworker_proxy.h" | 105 #include "chrome/renderer/webworker_proxy.h" |
106 #include "grit/generated_resources.h" | 106 #include "grit/generated_resources.h" |
107 #include "grit/renderer_resources.h" | 107 #include "grit/renderer_resources.h" |
108 #include "media/base/filter_collection.h" | 108 #include "media/base/filter_collection.h" |
109 #include "media/base/media_switches.h" | 109 #include "media/base/media_switches.h" |
110 #include "media/base/message_loop_factory_impl.h" | 110 #include "media/base/message_loop_factory_impl.h" |
111 #include "net/base/data_url.h" | 111 #include "net/base/data_url.h" |
112 #include "net/base/escape.h" | 112 #include "net/base/escape.h" |
113 #include "net/base/net_errors.h" | 113 #include "net/base/net_errors.h" |
114 #include "net/http/http_util.h" | 114 #include "net/http/http_util.h" |
115 #include "ppapi/c/private/ppb_flash.h" | 115 #include "ppapi/c/private/ppb_flash_net_connector.h" |
116 #include "skia/ext/bitmap_platform_device.h" | 116 #include "skia/ext/bitmap_platform_device.h" |
117 #include "skia/ext/image_operations.h" | 117 #include "skia/ext/image_operations.h" |
118 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityCache
.h" | 118 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityCache
.h" |
119 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" | 119 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" |
120 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" | 120 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" |
121 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 121 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
122 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 122 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
123 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 123 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
124 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" | 124 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragData.h" |
125 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 125 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
(...skipping 5600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5726 } | 5726 } |
5727 } | 5727 } |
5728 | 5728 |
5729 void RenderView::OnContextMenuClosed( | 5729 void RenderView::OnContextMenuClosed( |
5730 const webkit_glue::CustomContextMenuContext& custom_context) { | 5730 const webkit_glue::CustomContextMenuContext& custom_context) { |
5731 if (custom_context.is_pepper_menu) | 5731 if (custom_context.is_pepper_menu) |
5732 pepper_delegate_.OnContextMenuClosed(custom_context); | 5732 pepper_delegate_.OnContextMenuClosed(custom_context); |
5733 else | 5733 else |
5734 context_menu_node_.reset(); | 5734 context_menu_node_.reset(); |
5735 } | 5735 } |
OLD | NEW |