| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef WEBKIT_CLIENT_IMPL_H_ |
| 6 #define WEBKIT_CLIENT_IMPL_H_ | 6 #define WEBKIT_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
| 9 #include "base/timer.h" | 9 #include "base/timer.h" |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebKitClient.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 45 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
| 46 virtual void decrementStatsCounter(const char* name); | 46 virtual void decrementStatsCounter(const char* name); |
| 47 virtual void incrementStatsCounter(const char* name); | 47 virtual void incrementStatsCounter(const char* name); |
| 48 virtual void traceEventBegin(const char* name, void* id, const char* extra); | 48 virtual void traceEventBegin(const char* name, void* id, const char* extra); |
| 49 virtual void traceEventEnd(const char* name, void* id, const char* extra); | 49 virtual void traceEventEnd(const char* name, void* id, const char* extra); |
| 50 virtual WebKit::WebData loadResource(const char* name); | 50 virtual WebKit::WebData loadResource(const char* name); |
| 51 virtual WebKit::WebString queryLocalizedString( | 51 virtual WebKit::WebString queryLocalizedString( |
| 52 WebKit::WebLocalizedString::Name name); | 52 WebKit::WebLocalizedString::Name name); |
| 53 virtual WebKit::WebString queryLocalizedString( | 53 virtual WebKit::WebString queryLocalizedString( |
| 54 WebKit::WebLocalizedString::Name name, int numeric_value); | 54 WebKit::WebLocalizedString::Name name, int numeric_value); |
| 55 virtual WebKit::WebString queryLocalizedString( |
| 56 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); |
| 57 virtual WebKit::WebString queryLocalizedString( |
| 58 WebKit::WebLocalizedString::Name name, |
| 59 const WebKit::WebString& value1, const WebKit::WebString& value2); |
| 55 virtual void suddenTerminationChanged(bool enabled) { } | 60 virtual void suddenTerminationChanged(bool enabled) { } |
| 56 virtual double currentTime(); | 61 virtual double currentTime(); |
| 57 virtual void setSharedTimerFiredFunction(void (*func)()); | 62 virtual void setSharedTimerFiredFunction(void (*func)()); |
| 58 virtual void setSharedTimerFireTime(double fireTime); | 63 virtual void setSharedTimerFireTime(double fireTime); |
| 59 virtual void stopSharedTimer(); | 64 virtual void stopSharedTimer(); |
| 60 virtual void callOnMainThread(void (*func)(void*), void* context); | 65 virtual void callOnMainThread(void (*func)(void*), void* context); |
| 61 | 66 |
| 62 void SuspendSharedTimer(); | 67 void SuspendSharedTimer(); |
| 63 void ResumeSharedTimer(); | 68 void ResumeSharedTimer(); |
| 64 | 69 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 75 int shared_timer_suspended_; // counter | 80 int shared_timer_suspended_; // counter |
| 76 | 81 |
| 77 #if defined(OS_WIN) || defined(OS_LINUX) | 82 #if defined(OS_WIN) || defined(OS_LINUX) |
| 78 WebThemeEngineImpl theme_engine_; | 83 WebThemeEngineImpl theme_engine_; |
| 79 #endif | 84 #endif |
| 80 }; | 85 }; |
| 81 | 86 |
| 82 } // namespace webkit_glue | 87 } // namespace webkit_glue |
| 83 | 88 |
| 84 #endif // WEBKIT_CLIENT_IMPL_H_ | 89 #endif // WEBKIT_CLIENT_IMPL_H_ |
| OLD | NEW |