Index: content/shell/renderer/test_runner/web_test_proxy.h |
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h |
index 12b097f596413ed188aa4ca6797cb5c4bdc444b2..583264e2c315a2b6bc315e4f0d2986b56351e421 100644 |
--- a/content/shell/renderer/test_runner/web_test_proxy.h |
+++ b/content/shell/renderer/test_runner/web_test_proxy.h |
@@ -134,6 +134,8 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback { |
// WebCompositeAndReadbackAsyncCallback implementation. |
virtual void didCompositeAndReadback(const SkBitmap& bitmap); |
+ void SetAcceptLanguages(const std::string& accept_languages); |
+ |
protected: |
WebTestProxyBase(); |
~WebTestProxyBase(); |
@@ -211,6 +213,8 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback { |
blink::WebDOMMessageEvent); |
void ResetInputMethod(); |
+ blink::WebString acceptLanguages(); |
+ |
private: |
template <class, typename, typename> |
friend class WebFrameTestProxy; |
@@ -241,6 +245,8 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback { |
scoped_ptr<blink::WebMIDIClientMock> m_midiClient; |
scoped_ptr<MockWebSpeechRecognizer> m_speechRecognizer; |
+ std::string accept_languages_; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(WebTestProxyBase); |
}; |
@@ -357,6 +363,9 @@ class WebTestProxy : public Base, public WebTestProxyBase { |
virtual void postSpellCheckEvent(const blink::WebString& eventName) { |
WebTestProxyBase::PostSpellCheckEvent(eventName); |
} |
+ virtual blink::WebString acceptLanguages() { |
+ return WebTestProxyBase::acceptLanguages(); |
+ } |
private: |
DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |