OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/protocol/page_handler.h" | 5 #include "content/browser/devtools/protocol/page_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "content/public/browser/storage_partition.h" | 26 #include "content/public/browser/storage_partition.h" |
27 #include "content/public/browser/web_contents_delegate.h" | 27 #include "content/public/browser/web_contents_delegate.h" |
28 #include "content/public/common/referrer.h" | 28 #include "content/public/common/referrer.h" |
29 #include "content/public/common/url_constants.h" | 29 #include "content/public/common/url_constants.h" |
30 #include "storage/browser/quota/quota_manager.h" | 30 #include "storage/browser/quota/quota_manager.h" |
31 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 31 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
33 #include "ui/base/page_transition_types.h" | 33 #include "ui/base/page_transition_types.h" |
34 #include "ui/gfx/codec/jpeg_codec.h" | 34 #include "ui/gfx/codec/jpeg_codec.h" |
35 #include "ui/gfx/codec/png_codec.h" | 35 #include "ui/gfx/codec/png_codec.h" |
36 #include "ui/gfx/size_conversions.h" | 36 #include "ui/gfx/geometry/size_conversions.h" |
37 #include "ui/snapshot/snapshot.h" | 37 #include "ui/snapshot/snapshot.h" |
38 #include "url/gurl.h" | 38 #include "url/gurl.h" |
39 | 39 |
40 namespace content { | 40 namespace content { |
41 namespace devtools { | 41 namespace devtools { |
42 namespace page { | 42 namespace page { |
43 | 43 |
44 namespace { | 44 namespace { |
45 | 45 |
46 static const char kPng[] = "png"; | 46 static const char kPng[] = "png"; |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 void PageHandler::QueryUsageAndQuotaCompleted( | 623 void PageHandler::QueryUsageAndQuotaCompleted( |
624 DevToolsCommandId command_id, | 624 DevToolsCommandId command_id, |
625 scoped_refptr<QueryUsageAndQuotaResponse> response_data) { | 625 scoped_refptr<QueryUsageAndQuotaResponse> response_data) { |
626 client_->SendQueryUsageAndQuotaResponse(command_id, response_data); | 626 client_->SendQueryUsageAndQuotaResponse(command_id, response_data); |
627 } | 627 } |
628 | 628 |
629 } // namespace page | 629 } // namespace page |
630 } // namespace devtools | 630 } // namespace devtools |
631 } // namespace content | 631 } // namespace content |
OLD | NEW |