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

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

Issue 13219005: Replace string16 with base::string16 in src/webkit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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
OLDNEW
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 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 5 #ifndef WEBKIT_PLATFORM_SUPPORT_IMPL_H_
6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 6 #define WEBKIT_PLATFORM_SUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 virtual WebKit::WebCompositorSupport* compositorSupport(); 127 virtual WebKit::WebCompositorSupport* compositorSupport();
128 virtual WebKit::WebDiscardableMemory* allocateAndLockDiscardableMemory( 128 virtual WebKit::WebDiscardableMemory* allocateAndLockDiscardableMemory(
129 size_t bytes); 129 size_t bytes);
130 130
131 131
132 // Embedder functions. The following are not implemented by the glue layer and 132 // Embedder functions. The following are not implemented by the glue layer and
133 // need to be specialized by the embedder. 133 // need to be specialized by the embedder.
134 134
135 // Gets a localized string given a message id. Returns an empty string if the 135 // Gets a localized string given a message id. Returns an empty string if the
136 // message id is not found. 136 // message id is not found.
137 virtual string16 GetLocalizedString(int message_id) = 0; 137 virtual base::string16 GetLocalizedString(int message_id) = 0;
138 138
139 // Returns the raw data for a resource. This resource must have been 139 // Returns the raw data for a resource. This resource must have been
140 // specified as BINDATA in the relevant .rc file. 140 // specified as BINDATA in the relevant .rc file.
141 virtual base::StringPiece GetDataResource(int resource_id, 141 virtual base::StringPiece GetDataResource(int resource_id,
142 ui::ScaleFactor scale_factor) = 0; 142 ui::ScaleFactor scale_factor) = 0;
143 143
144 // Returns the list of plugins. 144 // Returns the list of plugins.
145 virtual void GetPlugins(bool refresh, 145 virtual void GetPlugins(bool refresh,
146 std::vector<webkit::WebPluginInfo>* plugins) = 0; 146 std::vector<webkit::WebPluginInfo>* plugins) = 0;
147 // Creates a ResourceLoaderBridge. 147 // Creates a ResourceLoaderBridge.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 int shared_timer_suspended_; // counter 185 int shared_timer_suspended_; // counter
186 WebThemeEngineImpl theme_engine_; 186 WebThemeEngineImpl theme_engine_;
187 base::ThreadLocalStorage::Slot current_thread_slot_; 187 base::ThreadLocalStorage::Slot current_thread_slot_;
188 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_; 188 scoped_ptr<webkit::WebCompositorSupportImpl> compositor_support_;
189 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; 189 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
190 }; 190 };
191 191
192 } // namespace webkit_glue 192 } // namespace webkit_glue
193 193
194 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_ 194 #endif // WEBKIT_PLATFORM_SUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698