diff options
-rw-r--r-- | DEPS | 2 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.cc | 7 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 8 | ||||
-rw-r--r-- | chrome/browser/ssl/ssl_manager.cc | 7 | ||||
-rw-r--r-- | chrome/browser/ssl/ssl_manager.h | 8 | ||||
-rw-r--r-- | chrome/browser/ssl/ssl_policy.cc | 11 | ||||
-rw-r--r-- | chrome/common/ipc_message_utils.h | 18 | ||||
-rw-r--r-- | chrome/common/render_messages.h | 40 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 6 | ||||
-rw-r--r-- | chrome/renderer/render_view.cc | 12 | ||||
-rw-r--r-- | chrome/renderer/render_view.h | 5 | ||||
-rw-r--r-- | webkit/build/WebKit/WebKit.vcproj | 4 | ||||
-rw-r--r-- | webkit/glue/console_message_level.h | 15 | ||||
-rw-r--r-- | webkit/glue/glue.vcproj | 1961 | ||||
-rw-r--r-- | webkit/glue/webframe.h | 5 | ||||
-rw-r--r-- | webkit/glue/webframe_impl.cc | 17 | ||||
-rw-r--r-- | webkit/glue/webframe_impl.h | 3 | ||||
-rw-r--r-- | webkit/webkit.gyp | 2 |
18 files changed, 1073 insertions, 1058 deletions
@@ -19,7 +19,7 @@ deps = { "http://googletest.googlecode.com/svn/trunk@214", "src/third_party/WebKit": - "/trunk/deps/third_party/WebKit@12911", + "/trunk/deps/third_party/WebKit@12914", "src/third_party/icu38": "/trunk/deps/third_party/icu38@12390", diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc index 0f0a889..cd08a0c 100644 --- a/chrome/browser/renderer_host/render_view_host.cc +++ b/chrome/browser/renderer_host/render_view_host.cc @@ -34,10 +34,12 @@ #include "chrome/common/thumbnail_score.h" #include "net/base/net_util.h" #include "skia/include/SkBitmap.h" +#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" #include "third_party/WebKit/WebKit/chromium/public/WebFindInPageRequest.h" #include "webkit/glue/autofill_form.h" using base::TimeDelta; +using WebKit::WebConsoleMessage; using WebKit::WebFindInPageRequest; using WebKit::WebInputEvent; @@ -434,9 +436,8 @@ void RenderViewHost::InsertCSSInWebFrame( } void RenderViewHost::AddMessageToConsole( - const std::wstring& frame_xpath, const std::wstring& msg, - ConsoleMessageLevel level) { - Send(new ViewMsg_AddMessageToConsole(routing_id(), frame_xpath, msg, level)); + const std::wstring& frame_xpath, const WebConsoleMessage& message) { + Send(new ViewMsg_AddMessageToConsole(routing_id(), frame_xpath, message)); } void RenderViewHost::DebugCommand(const std::wstring& cmd) { diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 718c585..6cfe2b2 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -18,7 +18,6 @@ #include "chrome/personalization/personalization.h" #endif #include "webkit/glue/autofill_form.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/password_form_dom_manager.h" #include "webkit/glue/window_open_disposition.h" @@ -50,6 +49,10 @@ namespace webkit_glue { struct WebApplicationInfo; } +namespace WebKit { +struct WebConsoleMessage; +} + // // RenderViewHost // @@ -236,8 +239,7 @@ class RenderViewHost : public RenderWidgetHost { // Logs a message to the console of a frame in the page. void AddMessageToConsole(const std::wstring& frame_xpath, - const std::wstring& msg, - ConsoleMessageLevel level); + const WebKit::WebConsoleMessage&); // Send command to the debugger void DebugCommand(const std::wstring& cmd); diff --git a/chrome/browser/ssl/ssl_manager.cc b/chrome/browser/ssl/ssl_manager.cc index 461979d..57ee3f8 100644 --- a/chrome/browser/ssl/ssl_manager.cc +++ b/chrome/browser/ssl/ssl_manager.cc @@ -28,6 +28,7 @@ #include "net/base/cert_status_flags.h" #include "net/base/net_errors.h" #include "net/url_request/url_request.h" +#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" #include "webkit/glue/resource_type.h" #if defined(OS_WIN) @@ -40,6 +41,7 @@ #include "chrome/common/temp_scaffolding_stubs.h" #endif +using WebKit::WebConsoleMessage; class SSLInfoBarDelegate : public ConfirmInfoBarDelegate { public: @@ -177,8 +179,7 @@ bool SSLManager::SetMaxSecurityStyle(SecurityStyle style) { } // Delegate API method. -void SSLManager::AddMessageToConsole(const std::wstring& msg, - ConsoleMessageLevel level) { +void SSLManager::AddMessageToConsole(const WebConsoleMessage& message) { TabContents* tab_contents = controller_->GetTabContents(TAB_CONTENTS_WEB); if (!tab_contents) return; @@ -187,7 +188,7 @@ void SSLManager::AddMessageToConsole(const std::wstring& msg, return; web_contents->render_view_host()->AddMessageToConsole( - std::wstring(), msg, level); + std::wstring(), message); } // Delegate API method. diff --git a/chrome/browser/ssl/ssl_manager.h b/chrome/browser/ssl/ssl_manager.h index b72f1377f..14baf7a 100644 --- a/chrome/browser/ssl/ssl_manager.h +++ b/chrome/browser/ssl/ssl_manager.h @@ -21,7 +21,6 @@ #include "net/base/net_errors.h" #include "net/base/ssl_info.h" #include "net/base/x509_certificate.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/resource_type.h" class AutomationProvider; @@ -38,6 +37,10 @@ class Task; class URLRequest; class WebContents; +namespace WebKit { +struct WebConsoleMessage; +} + // The SSLManager SSLManager controls the SSL UI elements in a TabContents. It // listens for various events that influence when these elements should or // should not be displayed and adjusts them accordingly. @@ -373,8 +376,7 @@ class SSLManager : public NotificationObserver { bool SetMaxSecurityStyle(SecurityStyle style); // Logs a message to the console of the page. - void AddMessageToConsole(const std::wstring& msg, - ConsoleMessageLevel level); + void AddMessageToConsole(const WebKit::WebConsoleMessage&); // Records that |cert| is permitted to be used for |host| in the future. void DenyCertForHost(net::X509Certificate* cert, const std::string& host); diff --git a/chrome/browser/ssl/ssl_policy.cc b/chrome/browser/ssl/ssl_policy.cc index 5221c04..0b2bcfe 100644 --- a/chrome/browser/ssl/ssl_policy.cc +++ b/chrome/browser/ssl/ssl_policy.cc @@ -25,7 +25,7 @@ #include "grit/generated_resources.h" #include "net/base/cert_status_flags.h" #include "net/base/ssl_info.h" -#include "webkit/glue/console_message_level.h" +#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" #include "webkit/glue/resource_type.h" #if defined(OS_WIN) @@ -35,6 +35,8 @@ #include "chrome/common/temp_scaffolding_stubs.h" #endif +using WebKit::WebConsoleMessage; + // Wrap all these helper classes in an anonymous namespace. namespace { @@ -159,11 +161,14 @@ static void InitializeEntryIfNeeded(NavigationEntry* entry) { static void AddMixedContentWarningToConsole( SSLManager::MixedContentHandler* handler) { - const std::wstring& msg = l10n_util::GetStringF( + const std::wstring& text = l10n_util::GetStringF( IDS_MIXED_CONTENT_LOG_MESSAGE, UTF8ToWide(handler->frame_origin()), UTF8ToWide(handler->request_url().spec())); - handler->manager()->AddMessageToConsole(msg, MESSAGE_LEVEL_WARNING); + WebConsoleMessage message; + message.text = WideToUTF16Hack(text); + message.level = WebConsoleMessage::LevelWarning; + handler->manager()->AddMessageToConsole(message); } } // namespace diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h index bfdc54d..ac3cbef 100644 --- a/chrome/common/ipc_message_utils.h +++ b/chrome/common/ipc_message_utils.h @@ -19,7 +19,6 @@ #include "chrome/common/ipc_sync_message.h" #include "chrome/common/thumbnail_score.h" #include "chrome/common/transport_dib.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/webcursor.h" #include "webkit/glue/window_open_disposition.h" @@ -789,23 +788,6 @@ struct ParamTraits<WindowOpenDisposition> { } }; -template <> -struct ParamTraits<ConsoleMessageLevel> { - typedef ConsoleMessageLevel param_type; - static void Write(Message* m, const param_type& p) { - m->WriteInt(p); - } - static bool Read(const Message* m, void** iter, param_type* r) { - int temp; - bool res = m->ReadInt(iter, &temp); - *r = static_cast<ConsoleMessageLevel>(temp); - return res; - } - static void Log(const param_type& p, std::wstring* l) { - l->append(StringPrintf(L"%d", p)); - } -}; - #if defined(OS_WIN) template <> struct ParamTraits<XFORM> { diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 530e311..717303b 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -25,6 +25,7 @@ #include "net/http/http_response_headers.h" #include "net/url_request/url_request_status.h" #include "third_party/WebKit/WebKit/chromium/public/WebCache.h" +#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" #include "third_party/WebKit/WebKit/chromium/public/WebFindInPageRequest.h" #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" #include "webkit/glue/autofill_form.h" @@ -392,6 +393,45 @@ struct ParamTraits<WebKit::WebString> { }; template <> +struct ParamTraits<WebKit::WebConsoleMessage::Level> { + typedef WebKit::WebConsoleMessage::Level param_type; + static void Write(Message* m, const param_type& p) { + WriteParam(m, static_cast<int>(p)); + } + static bool Read(const Message* m, void** iter, param_type* r) { + int value; + if (!ReadParam(m, iter, &value)) + return false; + *r = static_cast<param_type>(value); + return true; + } + static void Log(const param_type& p, std::wstring* l) { + LogParam(static_cast<int>(p), l); + } +}; + +template <> +struct ParamTraits<WebKit::WebConsoleMessage> { + typedef WebKit::WebConsoleMessage param_type; + static void Write(Message* m, const param_type& p) { + WriteParam(m, p.level); + WriteParam(m, p.text); + } + static bool Read(const Message* m, void** iter, param_type* r) { + return + ReadParam(m, iter, &r->level) && + ReadParam(m, iter, &r->text); + } + static void Log(const param_type& p, std::wstring* l) { + l->append(L"("); + LogParam(p.level, l); + l->append(L", "); + LogParam(p.text, l); + l->append(L")"); + } +}; + +template <> struct ParamTraits<ResourceType::Type> { typedef ResourceType::Type param_type; static void Write(Message* m, const param_type& p) { diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 2dda292..ff0217d 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -18,7 +18,6 @@ #include "chrome/common/ipc_message_macros.h" #include "chrome/common/transport_dib.h" #include "skia/include/SkBitmap.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/dom_operations.h" #include "webkit/glue/screen_info.h" #include "webkit/glue/webcursor.h" @@ -228,10 +227,9 @@ IPC_BEGIN_MESSAGES(View) std::string /* css string */) // Log a message to the console of the target frame - IPC_MESSAGE_ROUTED3(ViewMsg_AddMessageToConsole, + IPC_MESSAGE_ROUTED2(ViewMsg_AddMessageToConsole, std::wstring, /* frame_xpath */ - std::wstring, /* msg */ - ConsoleMessageLevel /* level */) + WebKit::WebConsoleMessage /* message */) // Initialize the V8 debugger in the renderer. IPC_MESSAGE_ROUTED0(ViewMsg_DebugAttach) diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 29f6340..d2c052c 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -85,6 +85,7 @@ using base::TimeDelta; using webkit_glue::WebAccessibility; +using WebKit::WebConsoleMessage; using WebKit::WebScriptSource; //----------------------------------------------------------------------------- @@ -465,7 +466,7 @@ void RenderView::PrintPage(const ViewMsg_PrintPage_Params& params, DCHECK(hdc); skia::PlatformDeviceWin::InitializeDC(hdc); // Since WebKit extends the page width depending on the magical shrink - // factor we make sure the canvas covers the worst case scenario + // factor we make sure the canvas covers the worst case scenario // (x2.0 currently). PrintContext will then set the correct clipping region. int size_x = static_cast<int>(canvas_size.width() * params.params.max_shrink); int size_y = static_cast<int>(canvas_size.height() * @@ -2464,13 +2465,10 @@ void RenderView::OnCSSInsertRequest(const std::wstring& frame_xpath, } void RenderView::OnAddMessageToConsole(const std::wstring& frame_xpath, - const std::wstring& msg, - ConsoleMessageLevel level) { + const WebConsoleMessage& message) { WebFrame* web_frame = GetChildFrame(frame_xpath); - if (!web_frame) - return; - - web_frame->AddMessageToConsole(msg, level); + if (web_frame) + web_frame->AddMessageToConsole(message); } #if defined(OS_WIN) diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index a9b4b9a..d6bf327 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -26,7 +26,6 @@ #include "chrome/renderer/render_widget.h" #include "media/audio/audio_output.h" #include "testing/gtest/include/gtest/gtest_prod.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/dom_serializer_delegate.h" #include "webkit/glue/feed.h" #include "webkit/glue/form_data.h" @@ -75,6 +74,7 @@ struct FileUploadData; } namespace WebKit { +struct WebConsoleMessage; struct WebFindInPageRequest; } @@ -519,8 +519,7 @@ class RenderView : public RenderWidget, void OnCSSInsertRequest(const std::wstring& frame_xpath, const std::string& css); void OnAddMessageToConsole(const std::wstring& frame_xpath, - const std::wstring& msg, - ConsoleMessageLevel level); + const WebKit::WebConsoleMessage&); void OnDebugAttach(); void OnReservePageIDRange(int size_of_range); diff --git a/webkit/build/WebKit/WebKit.vcproj b/webkit/build/WebKit/WebKit.vcproj index a61dd47f..ccef31b 100644 --- a/webkit/build/WebKit/WebKit.vcproj +++ b/webkit/build/WebKit/WebKit.vcproj @@ -148,6 +148,10 @@ > </File> <File + RelativePath="..\..\..\third_party\WebKit\WebKit\chromium\public\WebConsoleMessage.h" + > + </File> + <File RelativePath="..\..\..\third_party\WebKit\WebKit\chromium\public\WebCString.h" > </File> diff --git a/webkit/glue/console_message_level.h b/webkit/glue/console_message_level.h deleted file mode 100644 index 82ad3a5..0000000 --- a/webkit/glue/console_message_level.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef WEBKIT_GLUE_CONSOLE_MESSAGE_LEVEL_H__ -#define WEBKIT_GLUE_CONSOLE_MESSAGE_LEVEL_H__ - -enum ConsoleMessageLevel { - MESSAGE_LEVEL_TIP, - MESSAGE_LEVEL_LOG, - MESSAGE_LEVEL_WARNING, - MESSAGE_LEVEL_ERROR -}; - -#endif // WEBKIT_GLUE_CONSOLE_MESSAGE_LEVEL_H__ diff --git a/webkit/glue/glue.vcproj b/webkit/glue/glue.vcproj index 5583de0..a87d223 100644 --- a/webkit/glue/glue.vcproj +++ b/webkit/glue/glue.vcproj @@ -1,981 +1,980 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="8.00" - Name="Glue" - ProjectGUID="{C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09}" - RootNamespace="glue" - Keyword="Win32Proj" - > - <Platforms> - <Platform - Name="Win32" - /> - </Platforms> - <ToolFiles> - <ToolFile - RelativePath=".\devtools\devtools_copy.rules" - /> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - ConfigurationType="4" - InheritedPropertySheets="$(SolutionDir)..\build\debug.vsprops;.\glue.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="devtools file copy" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - ConfigurationType="4" - InheritedPropertySheets="..\..\build\release.vsprops;.\glue.vsprops" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - /> - <Tool - Name="VCCLCompilerTool" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLibrarianTool" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="API" - > - <File - RelativePath=".\autofill_form.cc" - > - </File> - <File - RelativePath=".\autofill_form.h" - > - </File> - <File - RelativePath=".\console_message_level.h" - > - </File> - <File - RelativePath=".\context_menu.h" - > - </File> - <File - RelativePath=".\cpp_bound_class.h" - > - </File> - <File - RelativePath=".\cpp_variant.h" - > - </File> - <File - RelativePath=".\dom_operations.h" - > - </File> - <File - RelativePath=".\form_data.h" - > - </File> - <File - RelativePath=".\image_decoder.h" - > - </File> - <File - RelativePath=".\password_form.h" - > - </File> - <File - RelativePath=".\resource_type.h" - > - </File> - <File - RelativePath=".\screen_info.h" - > - </File> - <File - RelativePath=".\webaccessibility.h" - > - </File> - <File - RelativePath=".\webaccessibilitymanager.h" - > - </File> - <File - RelativePath=".\webdatasource.h" - > - </File> - <File - RelativePath=".\webdevtoolsagent.h" - > - </File> - <File - RelativePath=".\webdevtoolsagent_delegate.h" - > - </File> - <File - RelativePath=".\webdevtoolsclient.h" - > - </File> - <File - RelativePath=".\webdevtoolsclient_delegate.h" - > - </File> - <File - RelativePath=".\weberror.h" - > - </File> - <File - RelativePath=".\webframe.h" - > - </File> - <File - RelativePath=".\webhistoryitem.h" - > - </File> - <File - RelativePath=".\webmediaplayer.h" - > - </File> - <File - RelativePath=".\webmediaplayer_delegate.h" - > - </File> - <File - RelativePath=".\webplugin.h" - > - </File> - <File - RelativePath=".\webplugin_delegate.h" - > - </File> - <File - RelativePath=".\webpreferences.h" - > - </File> - <File - RelativePath=".\webresponse.h" - > - </File> - <File - RelativePath=".\webtextinput.h" - > - </File> - <File - RelativePath=".\weburlrequest.h" - > - </File> - <File - RelativePath=".\webview.h" - > - </File> - <File - RelativePath=".\webview_delegate.h" - > - </File> - <File - RelativePath=".\webwidget.h" - > - </File> - <File - RelativePath=".\webwidget_delegate.h" - > - </File> - <File - RelativePath=".\webworker.h" - > - </File> - <File - RelativePath=".\webworkerclient.h" - > - </File> - <File - RelativePath=".\window_open_disposition.h" - > - </File> - </Filter> - <Filter - Name="Library" - > - <File - RelativePath="..\pending\AccessibleBase.cpp" - > - </File> - <File - RelativePath="..\pending\AccessibleBase.h" - > - </File> - <File - RelativePath="..\pending\AccessibleDocument.cpp" - > - </File> - <File - RelativePath="..\pending\AccessibleDocument.h" - > - </File> - <File - RelativePath=".\alt_404_page_resource_fetcher.cc" - > - </File> - <File - RelativePath=".\alt_404_page_resource_fetcher.h" - > - </File> - <File - RelativePath=".\alt_error_page_resource_fetcher.cc" - > - </File> - <File - RelativePath=".\alt_error_page_resource_fetcher.h" - > - </File> - <File - RelativePath=".\back_forward_list_client_impl.cc" - > - </File> - <File - RelativePath=".\back_forward_list_client_impl.h" - > - </File> - <File - RelativePath=".\chrome_client_impl.cc" - > - </File> - <File - RelativePath=".\chrome_client_impl.h" - > - </File> - <File - RelativePath=".\chromium_bridge_impl.cc" - > - </File> - <File - RelativePath=".\clipboard_conversion.cc" - > - </File> - <File - RelativePath=".\clipboard_conversion.h" - > - </File> - <File - RelativePath=".\context_menu_client_impl.cc" - > - </File> - <File - RelativePath=".\context_menu_client_impl.h" - > - </File> - <File - RelativePath=".\cpp_binding_example.cc" - > - </File> - <File - RelativePath=".\cpp_bound_class.cc" - > - </File> - <File - RelativePath=".\cpp_variant.cc" - > - </File> - <File - RelativePath=".\debugger_bridge.cc" - > - </File> - <File - RelativePath=".\debugger_bridge.h" - > - </File> - <File - RelativePath=".\dom_operations.cc" - > - </File> - <File - RelativePath=".\dom_operations_private.h" - > - </File> - <File - RelativePath=".\dom_serializer.cc" - > - </File> - <File - RelativePath=".\dom_serializer.h" - > - </File> - <File - RelativePath=".\dom_serializer_delegate.h" - > - </File> - <File - RelativePath=".\dragclient_impl.cc" - > - </File> - <File - RelativePath=".\dragclient_impl.h" - > - </File> - <File - RelativePath=".\editor_client_impl.cc" - > - </File> - <File - RelativePath=".\editor_client_impl.h" - > - </File> - <File - RelativePath=".\entity_map.cc" - > - </File> - <File - RelativePath=".\entity_map.h" - > - </File> - <File - RelativePath=".\event_conversion.cc" - > - </File> - <File - RelativePath=".\event_conversion.h" - > - </File> - <File - RelativePath=".\feed_preview.cc" - > - </File> - <File - RelativePath=".\feed_preview.h" - > - </File> - <File - RelativePath=".\glue_accessibility_object.cc" - > - </File> - <File - RelativePath=".\glue_accessibility_object.h" - > - </File> - <File - RelativePath=".\glue_serialize.cc" - > - </File> - <File - RelativePath=".\glue_serialize.h" - > - </File> - <File - RelativePath=".\glue_util.cc" - > - </File> - <File - RelativePath=".\glue_util.h" - > - </File> - <File - RelativePath=".\image_decoder.cc" - > - </File> - <File - RelativePath=".\image_resource_fetcher.cc" - > - </File> - <File - RelativePath=".\image_resource_fetcher.h" - > - </File> - <File - RelativePath=".\inspector_client_impl.cc" - > - </File> - <File - RelativePath=".\inspector_client_impl.h" - > - </File> - <File - RelativePath=".\localized_strings.cc" - > - </File> - <File - RelativePath=".\media_player_private_impl.cc" - > - </File> - <File - RelativePath=".\multipart_response_delegate.cc" - > - </File> - <File - RelativePath=".\multipart_response_delegate.h" - > - </File> - <File - RelativePath=".\npruntime_util.cc" - > - </File> - <File - RelativePath=".\npruntime_util.h" - > - </File> - <File - RelativePath=".\password_autocomplete_listener.cc" - > - </File> - <File - RelativePath=".\password_autocomplete_listener.h" - > - </File> - <File - RelativePath=".\password_form_dom_manager.cc" - > - </File> - <File - RelativePath=".\password_form_dom_manager.h" - > - </File> - <File - RelativePath=".\resource.h" - > - </File> - <File - RelativePath=".\resource_fetcher.cc" - > - </File> - <File - RelativePath=".\resource_fetcher.h" - > - </File> - <File - RelativePath=".\resource_handle_impl.cc" - > - </File> - <File - RelativePath=".\resource_loader_bridge.cc" - > - </File> - <File - RelativePath=".\resource_loader_bridge.h" - > - </File> - <File - RelativePath=".\scoped_clipboard_writer_glue.h" - > - </File> - <File - RelativePath=".\searchable_form_data.cc" - > - </File> - <File - RelativePath=".\searchable_form_data.h" - > - </File> - <File - RelativePath=".\simple_webmimeregistry_impl.cc" - > - </File> - <File - RelativePath=".\simple_webmimeregistry_impl.h" - > - </File> - <File - RelativePath=".\stacking_order_iterator.cc" - > - </File> - <File - RelativePath=".\stacking_order_iterator.h" - > - </File> - <File - RelativePath=".\webaccessibilitymanager_impl.cc" - > - </File> - <File - RelativePath=".\webaccessibilitymanager_impl.h" - > - </File> - <File - RelativePath=".\webclipboard_impl.cc" - > - </File> - <File - RelativePath=".\webclipboard_impl.h" - > - </File> - <File - RelativePath=".\webcursor.cc" - > - </File> - <File - RelativePath=".\webcursor.h" - > - </File> - <File - RelativePath=".\webcursor_win.cc" - > - </File> - <File - RelativePath=".\webdatasource_impl.cc" - > - </File> - <File - RelativePath=".\webdatasource_impl.h" - > - </File> - <File - RelativePath=".\webdevtoolsagent_impl.cc" - > - </File> - <File - RelativePath=".\webdevtoolsagent_impl.h" - > - </File> - <File - RelativePath=".\webdevtoolsclient_impl.cc" - > - </File> - <File - RelativePath=".\webdevtoolsclient_impl.h" - > - </File> - <File - RelativePath=".\webdropdata.cc" - > - </File> - <File - RelativePath=".\webdropdata.h" - > - </File> - <File - RelativePath=".\weberror_impl.cc" - > - </File> - <File - RelativePath=".\weberror_impl.h" - > - </File> - <File - RelativePath=".\webframe_impl.cc" - > - </File> - <File - RelativePath=".\webframe_impl.h" - > - </File> - <File - RelativePath=".\webframeloaderclient_impl.cc" - > - </File> - <File - RelativePath=".\webframeloaderclient_impl.h" - > - </File> - <File - RelativePath=".\webhistoryitem_impl.cc" - > - </File> - <File - RelativePath=".\webhistoryitem_impl.h" - > - </File> - <File - RelativePath=".\webkit_glue.cc" - > - </File> - <File - RelativePath=".\webkit_glue.h" - > - </File> - <File - RelativePath=".\webkit_glue_win.cc" - > - </File> - <File - RelativePath=".\webkitclient_impl.cc" - > - </File> - <File - RelativePath=".\webkitclient_impl.h" - > - </File> - <File - RelativePath=".\webmediaplayer_impl.cc" - > - </File> - <File - RelativePath=".\webmediaplayer_impl.h" - > - </File> - <File - RelativePath=".\webplugin_delegate.cc" - > - </File> - <File - RelativePath=".\webplugin_impl.cc" - > - </File> - <File - RelativePath=".\webplugin_impl.h" - > - </File> - <File - RelativePath=".\webresponse_impl.h" - > - </File> - <File - RelativePath=".\webscriptsource.h" - > - </File> - <File - RelativePath=".\webtextinput_impl.cc" - > - </File> - <File - RelativePath=".\webtextinput_impl.h" - > - </File> - <File - RelativePath=".\webthemeengine_impl_win.cc" - > - </File> - <File - RelativePath=".\webthemeengine_impl_win.h" - > - </File> - <File - RelativePath=".\weburlrequest_impl.cc" - > - </File> - <File - RelativePath=".\weburlrequest_impl.h" - > - </File> - <File - RelativePath=".\webview_delegate.cc" - > - </File> - <File - RelativePath=".\webview_impl.cc" - > - </File> - <File - RelativePath=".\webview_impl.h" - > - </File> - <File - RelativePath=".\webwidget_impl.cc" - > - </File> - <File - RelativePath=".\webwidget_impl.h" - > - </File> - <File - RelativePath=".\webworker_impl.cc" - > - </File> - <File - RelativePath=".\webworker_impl.h" - > - </File> - <File - RelativePath=".\webworkerclient_impl.cc" - > - </File> - <File - RelativePath=".\webworkerclient_impl.h" - > - </File> - </Filter> - <Filter - Name="Plugins" - > - <File - RelativePath=".\plugins\mozilla_extensions.cc" - > - </File> - <File - RelativePath=".\plugins\mozilla_extensions.h" - > - </File> - <File - RelativePath=".\plugins\nphostapi.h" - > - </File> - <File - RelativePath=".\plugins\plugin_constants_win.h" - > - </File> - <File - RelativePath=".\plugins\plugin_host.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_host.h" - > - </File> - <File - RelativePath=".\plugins\plugin_instance.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_instance.h" - > - </File> - <File - RelativePath=".\plugins\plugin_lib.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_lib.h" - > - </File> - <File - RelativePath=".\plugins\plugin_lib_win.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_list.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_list.h" - > - </File> - <File - RelativePath=".\plugins\plugin_list_win.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_stream.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_stream.h" - > - </File> - <File - RelativePath=".\plugins\plugin_stream_url.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_stream_url.h" - > - </File> - <File - RelativePath=".\plugins\plugin_stream_win.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_string_stream.cc" - > - </File> - <File - RelativePath=".\plugins\plugin_string_stream.h" - > - </File> - <File - RelativePath=".\plugins\webplugin_delegate_impl.cc" - > - </File> - <File - RelativePath=".\plugins\webplugin_delegate_impl.h" - > - </File> - </Filter> - <Filter - Name="DevTools" - > - <File - RelativePath=".\devtools\debugger_agent.h" - > - </File> - <File - RelativePath=".\devtools\debugger_agent_impl.cc" - > - </File> - <File - RelativePath=".\devtools\debugger_agent_impl.h" - > - </File> - <File - RelativePath=".\devtools\debugger_agent_manager.cc" - > - </File> - <File - RelativePath=".\devtools\debugger_agent_manager.h" - > - </File> - <File - RelativePath=".\devtools\devtools_rpc.cc" - > - </File> - <File - RelativePath=".\devtools\devtools_rpc.h" - > - </File> - <File - RelativePath=".\devtools\devtools_rpc_js.h" - > - </File> - <File - RelativePath=".\devtools\dom_agent.h" - > - </File> - <File - RelativePath=".\devtools\dom_agent_impl.cc" - > - </File> - <File - RelativePath=".\devtools\dom_agent_impl.h" - > - </File> - <File - RelativePath=".\devtools\net_agent.h" - > - </File> - <File - RelativePath=".\devtools\net_agent_impl.cc" - > - </File> - <File - RelativePath=".\devtools\net_agent_impl.h" - > - </File> - <File - RelativePath=".\devtools\tools_agent.h" - > - </File> - <Filter - Name="js" - > - <File - RelativePath=".\devtools\js\base.js" - > - </File> - <File - RelativePath=".\devtools\js\debugger_agent.js" - > - </File> - <File - RelativePath=".\devtools\js\devtools.html" - > - </File> - <File - RelativePath=".\devtools\js\devtools.js" - > - </File> - <File - RelativePath=".\devtools\js\devtools_callback.js" - > - </File> - <File - RelativePath=".\devtools\js\devtools_host_stub.js" - > - </File> - <File - RelativePath=".\devtools\js\dom_agent.js" - > - </File> - <File - RelativePath=".\devtools\js\inspector_controller.js" - > - </File> - <File - RelativePath=".\devtools\js\inspector_controller_impl.js" - > - </File> - <File - RelativePath=".\devtools\js\json.js" - > - </File> - <File - RelativePath=".\devtools\js\net_agent.js" - > - </File> - </Filter> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="Glue"
+ ProjectGUID="{C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09}"
+ RootNamespace="glue"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ <ToolFile
+ RelativePath=".\devtools\devtools_copy.rules"
+ />
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="$(SolutionDir)..\build\debug.vsprops;.\glue.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="devtools file copy"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ ConfigurationType="4"
+ InheritedPropertySheets="..\..\build\release.vsprops;.\glue.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="devtools file copy"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="API"
+ >
+ <File
+ RelativePath=".\autofill_form.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\autofill_form.h"
+ >
+ </File>
+ <File
+ RelativePath=".\context_menu.h"
+ >
+ </File>
+ <File
+ RelativePath=".\cpp_bound_class.h"
+ >
+ </File>
+ <File
+ RelativePath=".\cpp_variant.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_operations.h"
+ >
+ </File>
+ <File
+ RelativePath=".\form_data.h"
+ >
+ </File>
+ <File
+ RelativePath=".\image_decoder.h"
+ >
+ </File>
+ <File
+ RelativePath=".\password_form.h"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_type.h"
+ >
+ </File>
+ <File
+ RelativePath=".\screen_info.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webaccessibility.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webaccessibilitymanager.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdatasource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsagent.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsagent_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsclient.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsclient_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\weberror.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webframe.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webhistoryitem.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webmediaplayer.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webmediaplayer_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webplugin.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webplugin_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webpreferences.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webresponse.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webtextinput.h"
+ >
+ </File>
+ <File
+ RelativePath=".\weburlrequest.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webview.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webview_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webwidget.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webwidget_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webworker.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webworkerclient.h"
+ >
+ </File>
+ <File
+ RelativePath=".\window_open_disposition.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Library"
+ >
+ <File
+ RelativePath="..\pending\AccessibleBase.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\pending\AccessibleBase.h"
+ >
+ </File>
+ <File
+ RelativePath="..\pending\AccessibleDocument.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\pending\AccessibleDocument.h"
+ >
+ </File>
+ <File
+ RelativePath=".\alt_404_page_resource_fetcher.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\alt_404_page_resource_fetcher.h"
+ >
+ </File>
+ <File
+ RelativePath=".\alt_error_page_resource_fetcher.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\alt_error_page_resource_fetcher.h"
+ >
+ </File>
+ <File
+ RelativePath=".\back_forward_list_client_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\back_forward_list_client_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\chrome_client_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\chrome_client_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\chromium_bridge_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\clipboard_conversion.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\clipboard_conversion.h"
+ >
+ </File>
+ <File
+ RelativePath=".\context_menu_client_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\context_menu_client_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\cpp_binding_example.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\cpp_bound_class.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\cpp_variant.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\debugger_bridge.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\debugger_bridge.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_operations.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_operations_private.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_serializer.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_serializer.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dom_serializer_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dragclient_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\dragclient_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\editor_client_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\editor_client_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\entity_map.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\entity_map.h"
+ >
+ </File>
+ <File
+ RelativePath=".\event_conversion.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\event_conversion.h"
+ >
+ </File>
+ <File
+ RelativePath=".\feed_preview.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\feed_preview.h"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_accessibility_object.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_accessibility_object.h"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_serialize.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_serialize.h"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_util.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\glue_util.h"
+ >
+ </File>
+ <File
+ RelativePath=".\image_decoder.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\image_resource_fetcher.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\image_resource_fetcher.h"
+ >
+ </File>
+ <File
+ RelativePath=".\inspector_client_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\inspector_client_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\localized_strings.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\media_player_private_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\multipart_response_delegate.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\multipart_response_delegate.h"
+ >
+ </File>
+ <File
+ RelativePath=".\npruntime_util.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\npruntime_util.h"
+ >
+ </File>
+ <File
+ RelativePath=".\password_autocomplete_listener.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\password_autocomplete_listener.h"
+ >
+ </File>
+ <File
+ RelativePath=".\password_form_dom_manager.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\password_form_dom_manager.h"
+ >
+ </File>
+ <File
+ RelativePath=".\resource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_fetcher.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_fetcher.h"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_handle_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_loader_bridge.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\resource_loader_bridge.h"
+ >
+ </File>
+ <File
+ RelativePath=".\scoped_clipboard_writer_glue.h"
+ >
+ </File>
+ <File
+ RelativePath=".\searchable_form_data.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\searchable_form_data.h"
+ >
+ </File>
+ <File
+ RelativePath=".\simple_webmimeregistry_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\simple_webmimeregistry_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\stacking_order_iterator.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\stacking_order_iterator.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webaccessibilitymanager_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webaccessibilitymanager_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webclipboard_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webclipboard_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webcursor.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webcursor.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webcursor_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webdatasource_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webdatasource_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsagent_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsagent_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsclient_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webdevtoolsclient_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webdropdata.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webdropdata.h"
+ >
+ </File>
+ <File
+ RelativePath=".\weberror_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\weberror_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webframe_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webframe_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webframeloaderclient_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webframeloaderclient_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webhistoryitem_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webhistoryitem_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webkit_glue.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webkit_glue.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webkit_glue_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webkitclient_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webkitclient_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webmediaplayer_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webmediaplayer_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webplugin_delegate.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webplugin_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webplugin_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webresponse_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webscriptsource.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webtextinput_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webtextinput_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webthemeengine_impl_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webthemeengine_impl_win.h"
+ >
+ </File>
+ <File
+ RelativePath=".\weburlrequest_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\weburlrequest_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webview_delegate.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webview_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webview_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webwidget_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webwidget_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webworker_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webworker_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\webworkerclient_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\webworkerclient_impl.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Plugins"
+ >
+ <File
+ RelativePath=".\plugins\mozilla_extensions.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\mozilla_extensions.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\nphostapi.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_constants_win.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_host.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_host.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_instance.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_instance.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_lib.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_lib.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_lib_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_list.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_list.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_list_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_stream.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_stream.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_stream_url.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_stream_url.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_stream_win.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_string_stream.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\plugin_string_stream.h"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\webplugin_delegate_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\plugins\webplugin_delegate_impl.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="DevTools"
+ >
+ <File
+ RelativePath=".\devtools\debugger_agent.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\debugger_agent_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\debugger_agent_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\debugger_agent_manager.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\debugger_agent_manager.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\devtools_rpc.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\devtools_rpc.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\devtools_rpc_js.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\dom_agent.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\dom_agent_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\dom_agent_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\net_agent.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\net_agent_impl.cc"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\net_agent_impl.h"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\tools_agent.h"
+ >
+ </File>
+ <Filter
+ Name="js"
+ >
+ <File
+ RelativePath=".\devtools\js\base.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\debugger_agent.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\devtools.html"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\devtools.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\devtools_callback.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\devtools_host_stub.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\dom_agent.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\inspector_controller.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\inspector_controller_impl.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\json.js"
+ >
+ </File>
+ <File
+ RelativePath=".\devtools\js\net_agent.js"
+ >
+ </File>
+ </Filter>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h index ddd1b21..7a2c376 100644 --- a/webkit/glue/webframe.h +++ b/webkit/glue/webframe.h @@ -9,7 +9,6 @@ #include "googleurl/src/gurl.h" #include "skia/ext/bitmap_platform_device.h" #include "skia/ext/platform_canvas.h" -#include "webkit/glue/console_message_level.h" #include "webkit/glue/feed.h" class WebDataSource; @@ -25,6 +24,7 @@ class Size; } namespace WebKit { +struct WebConsoleMessage; struct WebFindInPageRequest; struct WebScriptSource; } @@ -346,8 +346,7 @@ class WebFrame { virtual bool IsCoreCommandEnabled(const std::string& name) = 0; // Adds a message to the frame's console. - virtual void AddMessageToConsole(const std::wstring& msg, - ConsoleMessageLevel level) = 0; + virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&) = 0; // Tells the current page to close, running the onunload handler. // TODO(creis): We'd rather use WebView::Close(), but that sets its delegate_ diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc index d33b45f..6a29ded 100644 --- a/webkit/glue/webframe_impl.cc +++ b/webkit/glue/webframe_impl.cc @@ -135,6 +135,7 @@ MSVC_POP_WARNING(); #include "net/base/net_errors.h" #include "skia/ext/bitmap_platform_device.h" #include "skia/ext/platform_canvas.h" +#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" #include "third_party/WebKit/WebKit/chromium/public/WebFindInPageRequest.h" #include "third_party/WebKit/WebKit/chromium/public/WebScriptSource.h" #include "webkit/glue/alt_error_page_resource_fetcher.h" @@ -193,6 +194,7 @@ using WebCore::SubstituteData; using WebCore::TextIterator; using WebCore::VisiblePosition; using WebCore::XPathResult; +using WebKit::WebConsoleMessage; using WebKit::WebFindInPageRequest; using WebKit::WebScriptSource; @@ -1815,22 +1817,21 @@ bool WebFrameImpl::IsCoreCommandEnabled(const std::string& name) { .isEnabled(); } -void WebFrameImpl::AddMessageToConsole(const std::wstring& msg, - ConsoleMessageLevel level) { +void WebFrameImpl::AddMessageToConsole(const WebConsoleMessage& message) { ASSERT(frame()); WebCore::MessageLevel webcore_message_level; - switch (level) { - case MESSAGE_LEVEL_TIP: + switch (message.level) { + case WebConsoleMessage::LevelTip: webcore_message_level = WebCore::TipMessageLevel; break; - case MESSAGE_LEVEL_LOG: + case WebConsoleMessage::LevelLog: webcore_message_level = WebCore::LogMessageLevel; break; - case MESSAGE_LEVEL_WARNING: + case WebConsoleMessage::LevelWarning: webcore_message_level = WebCore::WarningMessageLevel; break; - case MESSAGE_LEVEL_ERROR: + case WebConsoleMessage::LevelError: webcore_message_level = WebCore::ErrorMessageLevel; break; default: @@ -1840,7 +1841,7 @@ void WebFrameImpl::AddMessageToConsole(const std::wstring& msg, frame()->domWindow()->console()->addMessage( WebCore::OtherMessageSource, webcore_message_level, - webkit_glue::StdWStringToString(msg), 1, String()); + webkit_glue::WebStringToString(message.text), 1, String()); } void WebFrameImpl::ClosePage() { diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index ec622c4..8bb334e 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -163,8 +163,7 @@ class WebFrameImpl : public WebFrame, public base::RefCounted<WebFrameImpl> { const std::string& value); virtual bool IsCoreCommandEnabled(const std::string& name); - virtual void AddMessageToConsole(const std::wstring& msg, - ConsoleMessageLevel level); + virtual void AddMessageToConsole(const WebKit::WebConsoleMessage&); virtual void ClosePage(); diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 4b66a3e..692b94d 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -4110,6 +4110,7 @@ '../third_party/WebKit/WebKit/chromium/public/WebCString.h', '../third_party/WebKit/WebKit/chromium/public/WebClipboard.h', '../third_party/WebKit/WebKit/chromium/public/WebCommon.h', + '../third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h', '../third_party/WebKit/WebKit/chromium/public/WebFindInPageRequest.h', '../third_party/WebKit/WebKit/chromium/public/WebImage.h', '../third_party/WebKit/WebKit/chromium/public/WebKit.h', @@ -4291,7 +4292,6 @@ 'glue/chromium_bridge_impl.cc', 'glue/clipboard_conversion.cc', 'glue/clipboard_conversion.h', - 'glue/console_message_level.h', 'glue/context_menu.h', 'glue/context_menu_client_impl.cc', 'glue/context_menu_client_impl.h', |