Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: webkit/glue/webkitclient_impl.h

Issue 351013: Chrome changes to extract the code from V8Proxy that special-cases... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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 "webkit/api/public/WebKitClient.h" 10 #include "webkit/api/public/WebKitClient.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 WebKit::WebLocalizedString::Name name); 71 WebKit::WebLocalizedString::Name name);
72 virtual WebKit::WebString queryLocalizedString( 72 virtual WebKit::WebString queryLocalizedString(
73 WebKit::WebLocalizedString::Name name, int numeric_value); 73 WebKit::WebLocalizedString::Name name, int numeric_value);
74 virtual void suddenTerminationChanged(bool enabled) { } 74 virtual void suddenTerminationChanged(bool enabled) { }
75 virtual double currentTime(); 75 virtual double currentTime();
76 virtual void setSharedTimerFiredFunction(void (*func)()); 76 virtual void setSharedTimerFiredFunction(void (*func)());
77 virtual void setSharedTimerFireTime(double fireTime); 77 virtual void setSharedTimerFireTime(double fireTime);
78 virtual void stopSharedTimer(); 78 virtual void stopSharedTimer();
79 virtual void callOnMainThread(void (*func)()); 79 virtual void callOnMainThread(void (*func)());
80 80
81 // These are temporary methods that the WebKit layer can use to call to the
82 // Glue layer. Once the Glue layer moves entirely into the WebKit layer,
83 // these methods will be deleted.
84 virtual WebCore::String uiResourceProtocol();
85
86 private: 81 private:
87 void DoTimeout() { 82 void DoTimeout() {
88 if (shared_timer_func_) 83 if (shared_timer_func_)
89 shared_timer_func_(); 84 shared_timer_func_();
90 } 85 }
91 86
92 MessageLoop* main_loop_; 87 MessageLoop* main_loop_;
93 base::OneShotTimer<WebKitClientImpl> shared_timer_; 88 base::OneShotTimer<WebKitClientImpl> shared_timer_;
94 void (*shared_timer_func_)(); 89 void (*shared_timer_func_)();
95 90
96 #if defined(OS_WIN) 91 #if defined(OS_WIN)
97 WebThemeEngineImpl theme_engine_; 92 WebThemeEngineImpl theme_engine_;
98 #endif 93 #endif
99 }; 94 };
100 95
101 } // namespace webkit_glue 96 } // namespace webkit_glue
102 97
103 #endif // WEBKIT_CLIENT_IMPL_H_ 98 #endif // WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.h ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698