| 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/child/webkitplatformsupport_impl.h" | 5 #include "webkit/child/webkitplatformsupport_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "grit/webkit_resources.h" | 30 #include "grit/webkit_resources.h" |
| 31 #include "grit/webkit_strings.h" | 31 #include "grit/webkit_strings.h" |
| 32 #include "net/base/data_url.h" | 32 #include "net/base/data_url.h" |
| 33 #include "net/base/mime_util.h" | 33 #include "net/base/mime_util.h" |
| 34 #include "net/base/net_errors.h" | 34 #include "net/base/net_errors.h" |
| 35 #include "third_party/WebKit/public/platform/WebCookie.h" | 35 #include "third_party/WebKit/public/platform/WebCookie.h" |
| 36 #include "third_party/WebKit/public/platform/WebData.h" | 36 #include "third_party/WebKit/public/platform/WebData.h" |
| 37 #include "third_party/WebKit/public/platform/WebDiscardableMemory.h" | 37 #include "third_party/WebKit/public/platform/WebDiscardableMemory.h" |
| 38 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 38 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
| 39 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" | 39 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" |
| 40 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
| 40 #include "third_party/WebKit/public/platform/WebString.h" | 41 #include "third_party/WebKit/public/platform/WebString.h" |
| 41 #include "third_party/WebKit/public/platform/WebURL.h" | 42 #include "third_party/WebKit/public/platform/WebURL.h" |
| 42 #include "third_party/WebKit/public/platform/WebVector.h" | 43 #include "third_party/WebKit/public/platform/WebVector.h" |
| 43 #include "third_party/WebKit/public/web/WebFrameClient.h" | 44 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 44 #include "third_party/WebKit/public/web/WebInputEvent.h" | 45 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 45 #include "third_party/WebKit/public/web/WebScreenInfo.h" | |
| 46 #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" | 46 #include "third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h" |
| 47 #include "ui/base/layout.h" | 47 #include "ui/base/layout.h" |
| 48 #include "webkit/child/webkit_child_helpers.h" | 48 #include "webkit/child/webkit_child_helpers.h" |
| 49 #include "webkit/child/websocketstreamhandle_impl.h" | 49 #include "webkit/child/websocketstreamhandle_impl.h" |
| 50 #include "webkit/child/weburlloader_impl.h" | 50 #include "webkit/child/weburlloader_impl.h" |
| 51 #include "webkit/common/user_agent/user_agent.h" | 51 #include "webkit/common/user_agent/user_agent.h" |
| 52 | 52 |
| 53 #if defined(OS_ANDROID) | 53 #if defined(OS_ANDROID) |
| 54 #include "base/android/sys_utils.h" | 54 #include "base/android/sys_utils.h" |
| 55 #endif | 55 #endif |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 928 if (--shared_timer_suspended_ == 0 && | 928 if (--shared_timer_suspended_ == 0 && |
| 929 (!shared_timer_.IsRunning() || | 929 (!shared_timer_.IsRunning() || |
| 930 shared_timer_fire_time_was_set_while_suspended_)) { | 930 shared_timer_fire_time_was_set_while_suspended_)) { |
| 931 shared_timer_fire_time_was_set_while_suspended_ = false; | 931 shared_timer_fire_time_was_set_while_suspended_ = false; |
| 932 setSharedTimerFireInterval( | 932 setSharedTimerFireInterval( |
| 933 shared_timer_fire_time_ - monotonicallyIncreasingTime()); | 933 shared_timer_fire_time_ - monotonicallyIncreasingTime()); |
| 934 } | 934 } |
| 935 } | 935 } |
| 936 | 936 |
| 937 } // namespace webkit_glue | 937 } // namespace webkit_glue |
| OLD | NEW |