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

Side by Side Diff: webkit/mocks/mock_webhyphenator.h

Issue 15937016: Update refernces to Blink's Platform API (webkit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « webkit/media/webmediasourceclient_impl.cc ('k') | webkit/mocks/mock_weburlloader.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_MOCKS_MOCK_WEBHYPHENATOR_H_ 5 #ifndef WEBKIT_MOCKS_MOCK_WEBHYPHENATOR_H_
6 #define WEBKIT_MOCKS_MOCK_WEBHYPHENATOR_H_ 6 #define WEBKIT_MOCKS_MOCK_WEBHYPHENATOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebHyphenator.h" 11 #include "third_party/WebKit/public/platform/WebHyphenator.h"
12 12
13 typedef struct _HyphenDict HyphenDict; 13 typedef struct _HyphenDict HyphenDict;
14 14
15 namespace webkit_glue { 15 namespace webkit_glue {
16 16
17 // Implements a simple WebHyphenator that only supports en-US. It is used for 17 // Implements a simple WebHyphenator that only supports en-US. It is used for
18 // layout tests that expect that hyphenator to be available synchronously. 18 // layout tests that expect that hyphenator to be available synchronously.
19 // Therefore, this class supports synchronous loading of the dictionary as well. 19 // Therefore, this class supports synchronous loading of the dictionary as well.
20 class MockWebHyphenator : public WebKit::WebHyphenator { 20 class MockWebHyphenator : public WebKit::WebHyphenator {
21 public: 21 public:
(...skipping 14 matching lines...) Expand all
36 36
37 private: 37 private:
38 HyphenDict* hyphen_dictionary_; 38 HyphenDict* hyphen_dictionary_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(MockWebHyphenator); 40 DISALLOW_COPY_AND_ASSIGN(MockWebHyphenator);
41 }; 41 };
42 42
43 } // namespace webkit_glue 43 } // namespace webkit_glue
44 44
45 #endif // WEBKIT_MOCKS_MOCK_WEBHYPHENATOR_H_ 45 #endif // WEBKIT_MOCKS_MOCK_WEBHYPHENATOR_H_
OLDNEW
« no previous file with comments | « webkit/media/webmediasourceclient_impl.cc ('k') | webkit/mocks/mock_weburlloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698