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 "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 5 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
9 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "ppapi/shared_impl/scoped_pp_resource.h" | 41 #include "ppapi/shared_impl/scoped_pp_resource.h" |
42 #include "ppapi/shared_impl/time_conversion.h" | 42 #include "ppapi/shared_impl/time_conversion.h" |
43 #include "ppapi/shared_impl/url_request_info_data.h" | 43 #include "ppapi/shared_impl/url_request_info_data.h" |
44 #include "ppapi/shared_impl/var.h" | 44 #include "ppapi/shared_impl/var.h" |
45 #include "ppapi/thunk/enter.h" | 45 #include "ppapi/thunk/enter.h" |
46 #include "ppapi/thunk/ppb_buffer_api.h" | 46 #include "ppapi/thunk/ppb_buffer_api.h" |
47 #include "printing/metafile.h" | 47 #include "printing/metafile.h" |
48 #include "printing/metafile_skia_wrapper.h" | 48 #include "printing/metafile_skia_wrapper.h" |
49 #include "printing/units.h" | 49 #include "printing/units.h" |
50 #include "skia/ext/platform_device.h" | 50 #include "skia/ext/platform_device.h" |
51 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" | 51 #include "third_party/WebKit/public/platform/WebGamepads.h" |
52 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 52 #include "third_party/WebKit/public/platform/WebString.h" |
53 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 53 #include "third_party/WebKit/public/platform/WebURL.h" |
54 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 54 #include "third_party/WebKit/public/platform/WebURLError.h" |
55 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 55 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
57 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 57 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
58 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 58 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
59 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 59 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
60 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 60 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
61 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 61 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 62 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 63 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h" | 64 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h" |
65 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption
.h" | 65 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintScalingOption
.h" |
(...skipping 2547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2613 screen_size_for_fullscreen_ = gfx::Size(); | 2613 screen_size_for_fullscreen_ = gfx::Size(); |
2614 WebElement element = container_->element(); | 2614 WebElement element = container_->element(); |
2615 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); | 2615 element.setAttribute(WebString::fromUTF8(kWidth), width_before_fullscreen_); |
2616 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); | 2616 element.setAttribute(WebString::fromUTF8(kHeight), height_before_fullscreen_); |
2617 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); | 2617 element.setAttribute(WebString::fromUTF8(kBorder), border_before_fullscreen_); |
2618 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); | 2618 element.setAttribute(WebString::fromUTF8(kStyle), style_before_fullscreen_); |
2619 } | 2619 } |
2620 | 2620 |
2621 } // namespace ppapi | 2621 } // namespace ppapi |
2622 } // namespace webkit | 2622 } // namespace webkit |
OLD | NEW |