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

Side by Side Diff: webkit/glue/glue_util.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
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
« no previous file with comments | « webkit/glue/glue_serialize_unittest.cc ('k') | webkit/glue/iframe_redirect_unittest.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // TODO(darin): This file will be deleted once we complete the move to 5 // TODO(darin): This file will be deleted once we complete the move to
6 // webkit/api 6 // third_party/WebKit/WebKit/chromium
7 7
8 // In this file, we pretend to be part of the WebKit implementation. 8 // In this file, we pretend to be part of the WebKit implementation.
9 // This is just a temporary hack while glue is still being moved into 9 // This is just a temporary hack while glue is still being moved into
10 // webkit/api. 10 // third_party/WebKit/WebKit/chromium.
11 #define WEBKIT_IMPLEMENTATION 1 11 #define WEBKIT_IMPLEMENTATION 1
12 12
13 #include "config.h" 13 #include "config.h"
14 #include "webkit/glue/glue_util.h" 14 #include "webkit/glue/glue_util.h"
15 15
16 #include <string> 16 #include <string>
17 17
18 #include "AccessibilityObject.h" 18 #include "AccessibilityObject.h"
19 #include "ChromiumDataObject.h" 19 #include "ChromiumDataObject.h"
20 #include "CString.h" 20 #include "CString.h"
21 #include "HistoryItem.h" 21 #include "HistoryItem.h"
22 #include "HTMLFormElement.h" 22 #include "HTMLFormElement.h"
23 #include "IntPoint.h" 23 #include "IntPoint.h"
24 #include "IntRect.h" 24 #include "IntRect.h"
25 #include "KURL.h" 25 #include "KURL.h"
26 #include "Node.h" 26 #include "Node.h"
27 #include "PlatformString.h" 27 #include "PlatformString.h"
28 #include "Range.h" 28 #include "Range.h"
29 #include "ResourceError.h" 29 #include "ResourceError.h"
30 #include "SecurityOrigin.h" 30 #include "SecurityOrigin.h"
31 31
32 #undef LOG 32 #undef LOG
33 #include "base/compiler_specific.h" 33 #include "base/compiler_specific.h"
34 #include "base/gfx/rect.h" 34 #include "base/gfx/rect.h"
35 #include "base/string_piece.h" 35 #include "base/string_piece.h"
36 #include "base/string_util.h" 36 #include "base/string_util.h"
37 #include "base/sys_string_conversions.h" 37 #include "base/sys_string_conversions.h"
38 #include "googleurl/src/gurl.h" 38 #include "googleurl/src/gurl.h"
39 #include "webkit/api/public/WebAccessibilityObject.h" 39 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h"
40 #include "webkit/api/public/WebCursorInfo.h" 40 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h"
41 #include "webkit/api/public/WebDragData.h" 41 #include "third_party/WebKit/WebKit/chromium/public/WebDragData.h"
42 #include "webkit/api/public/WebFormElement.h" 42 #include "third_party/WebKit/WebKit/chromium/public/WebFormElement.h"
43 #include "webkit/api/public/WebHistoryItem.h" 43 #include "third_party/WebKit/WebKit/chromium/public/WebHistoryItem.h"
44 #include "webkit/api/public/WebNode.h" 44 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h"
45 #include "webkit/api/public/WebPoint.h" 45 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h"
46 #include "webkit/api/public/WebRange.h" 46 #include "third_party/WebKit/WebKit/chromium/public/WebRange.h"
47 #include "webkit/api/public/WebRect.h" 47 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
48 #include "webkit/api/public/WebSecurityOrigin.h" 48 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
49 #include "webkit/api/public/WebSize.h" 49 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h"
50 #include "webkit/api/public/WebString.h" 50 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
51 #include "webkit/api/public/WebURL.h" 51 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
52 #include "webkit/api/public/WebURLError.h" 52 #include "third_party/WebKit/WebKit/chromium/public/WebURLError.h"
53 #include "webkit/api/public/WebURLRequest.h" 53 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h"
54 #include "webkit/api/public/WebURLResponse.h" 54 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
55 55
56 namespace webkit_glue { 56 namespace webkit_glue {
57 57
58 // String conversions ---------------------------------------------------------- 58 // String conversions ----------------------------------------------------------
59 59
60 std::string CStringToStdString(const WebCore::CString& str) { 60 std::string CStringToStdString(const WebCore::CString& str) {
61 const char* chars = str.data(); 61 const char* chars = str.data();
62 return std::string(chars ? chars : "", str.length()); 62 return std::string(chars ? chars : "", str.length());
63 } 63 }
64 64
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 const WTF::PassRefPtr<WebCore::AccessibilityObject>& object) { 350 const WTF::PassRefPtr<WebCore::AccessibilityObject>& object) {
351 return object; 351 return object;
352 } 352 }
353 353
354 WTF::PassRefPtr<WebCore::AccessibilityObject> WebAccessibilityObjectToAccessibil ityObject( 354 WTF::PassRefPtr<WebCore::AccessibilityObject> WebAccessibilityObjectToAccessibil ityObject(
355 const WebKit::WebAccessibilityObject& object) { 355 const WebKit::WebAccessibilityObject& object) {
356 return object; 356 return object;
357 } 357 }
358 358
359 } // namespace webkit_glue 359 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize_unittest.cc ('k') | webkit/glue/iframe_redirect_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698