| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/devtools/renderer_overrides_handler.h" | 5 #include "content/browser/devtools/renderer_overrides_handler.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/barrier_closure.h" | 10 #include "base/barrier_closure.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "net/base/net_util.h" | 42 #include "net/base/net_util.h" |
| 43 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 43 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
| 44 #include "third_party/WebKit/public/web/WebInputEvent.h" | 44 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 45 #include "ui/gfx/codec/jpeg_codec.h" | 45 #include "ui/gfx/codec/jpeg_codec.h" |
| 46 #include "ui/gfx/codec/png_codec.h" | 46 #include "ui/gfx/codec/png_codec.h" |
| 47 #include "ui/gfx/display.h" | 47 #include "ui/gfx/display.h" |
| 48 #include "ui/gfx/screen.h" | 48 #include "ui/gfx/screen.h" |
| 49 #include "ui/gfx/size_conversions.h" | 49 #include "ui/gfx/size_conversions.h" |
| 50 #include "ui/snapshot/snapshot.h" | 50 #include "ui/snapshot/snapshot.h" |
| 51 #include "url/gurl.h" | 51 #include "url/gurl.h" |
| 52 #include "webkit/browser/quota/quota_manager.h" | 52 #include "storage/browser/quota/quota_manager.h" |
| 53 | 53 |
| 54 using blink::WebGestureEvent; | 54 using blink::WebGestureEvent; |
| 55 using blink::WebInputEvent; | 55 using blink::WebInputEvent; |
| 56 using blink::WebMouseEvent; | 56 using blink::WebMouseEvent; |
| 57 | 57 |
| 58 namespace content { | 58 namespace content { |
| 59 | 59 |
| 60 namespace { | 60 namespace { |
| 61 | 61 |
| 62 static const char kPng[] = "png"; | 62 static const char kPng[] = "png"; |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 host->ForwardMouseEvent(mouse_event); | 961 host->ForwardMouseEvent(mouse_event); |
| 962 return command->SuccessResponse(NULL); | 962 return command->SuccessResponse(NULL); |
| 963 } | 963 } |
| 964 | 964 |
| 965 RenderViewHostImpl* RendererOverridesHandler::GetRenderViewHostImpl() { | 965 RenderViewHostImpl* RendererOverridesHandler::GetRenderViewHostImpl() { |
| 966 return static_cast<RenderViewHostImpl*>( | 966 return static_cast<RenderViewHostImpl*>( |
| 967 agent_->GetWebContents()->GetRenderViewHost()); | 967 agent_->GetWebContents()->GetRenderViewHost()); |
| 968 } | 968 } |
| 969 | 969 |
| 970 } // namespace content | 970 } // namespace content |
| OLD | NEW |