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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "third_party/WebKit/public/platform/WebVector.h" | 42 #include "third_party/WebKit/public/platform/WebVector.h" |
43 #include "third_party/WebKit/public/web/WebFrameClient.h" | 43 #include "third_party/WebKit/public/web/WebFrameClient.h" |
44 #include "third_party/WebKit/public/web/WebInputEvent.h" | 44 #include "third_party/WebKit/public/web/WebInputEvent.h" |
45 #include "third_party/WebKit/public/web/WebScreenInfo.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 #include "webkit/glue/webkit_glue.h" | |
53 | 52 |
54 #if defined(OS_ANDROID) | 53 #if defined(OS_ANDROID) |
55 #include "base/android/sys_utils.h" | 54 #include "base/android/sys_utils.h" |
56 #endif | 55 #endif |
57 | 56 |
58 using blink::WebAudioBus; | 57 using blink::WebAudioBus; |
59 using blink::WebCookie; | 58 using blink::WebCookie; |
60 using blink::WebData; | 59 using blink::WebData; |
61 using blink::WebLocalizedString; | 60 using blink::WebLocalizedString; |
62 using blink::WebPluginListBuilder; | 61 using blink::WebPluginListBuilder; |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 if (--shared_timer_suspended_ == 0 && | 928 if (--shared_timer_suspended_ == 0 && |
930 (!shared_timer_.IsRunning() || | 929 (!shared_timer_.IsRunning() || |
931 shared_timer_fire_time_was_set_while_suspended_)) { | 930 shared_timer_fire_time_was_set_while_suspended_)) { |
932 shared_timer_fire_time_was_set_while_suspended_ = false; | 931 shared_timer_fire_time_was_set_while_suspended_ = false; |
933 setSharedTimerFireInterval( | 932 setSharedTimerFireInterval( |
934 shared_timer_fire_time_ - monotonicallyIncreasingTime()); | 933 shared_timer_fire_time_ - monotonicallyIncreasingTime()); |
935 } | 934 } |
936 } | 935 } |
937 | 936 |
938 } // namespace webkit_glue | 937 } // namespace webkit_glue |
OLD | NEW |