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

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

Issue 149575: Roll WebKit DEPS from 45738 to 45840. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/glue/chrome_client_impl.h ('k') | webkit/glue/webframe_impl.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 #include "config.h" 5 #include "config.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "AccessibilityObject.h" 10 #include "AccessibilityObject.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 bool ChromeClientImpl::menubarVisible() { 306 bool ChromeClientImpl::menubarVisible() {
307 return menubar_visible_; 307 return menubar_visible_;
308 } 308 }
309 309
310 void ChromeClientImpl::setResizable(bool value) { 310 void ChromeClientImpl::setResizable(bool value) {
311 resizable_ = value; 311 resizable_ = value;
312 } 312 }
313 313
314 void ChromeClientImpl::addMessageToConsole(WebCore::MessageSource source, 314 void ChromeClientImpl::addMessageToConsole(WebCore::MessageSource source,
315 WebCore::MessageType type,
315 WebCore::MessageLevel level, 316 WebCore::MessageLevel level,
316 const WebCore::String& message, 317 const WebCore::String& message,
317 unsigned int line_no, 318 unsigned int line_no,
318 const WebCore::String& source_id) { 319 const WebCore::String& source_id) {
319 WebViewDelegate* delegate = webview_->delegate(); 320 WebViewDelegate* delegate = webview_->delegate();
320 if (delegate) { 321 if (delegate) {
321 std::wstring wstr_message = webkit_glue::StringToStdWString(message); 322 std::wstring wstr_message = webkit_glue::StringToStdWString(message);
322 std::wstring wstr_source_id = webkit_glue::StringToStdWString(source_id); 323 std::wstring wstr_source_id = webkit_glue::StringToStdWString(source_id);
323 delegate->AddMessageToConsole(webview_, wstr_message, 324 delegate->AddMessageToConsole(webview_, wstr_message,
324 line_no, wstr_source_id); 325 line_no, wstr_source_id);
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 // EventHandler.cpp and since we don't want that we set a flag indicating 622 // EventHandler.cpp and since we don't want that we set a flag indicating
622 // that the next SetCursor call is to be ignored. 623 // that the next SetCursor call is to be ignored.
623 ignore_next_set_cursor_ = true; 624 ignore_next_set_cursor_ = true;
624 } 625 }
625 626
626 void ChromeClientImpl::formStateDidChange(const WebCore::Node*) { 627 void ChromeClientImpl::formStateDidChange(const WebCore::Node*) {
627 WebViewDelegate* delegate = webview_->delegate(); 628 WebViewDelegate* delegate = webview_->delegate();
628 if (delegate) 629 if (delegate)
629 delegate->OnNavStateChanged(webview_); 630 delegate->OnNavStateChanged(webview_);
630 } 631 }
OLDNEW
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698