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

Side by Side Diff: public/web/WebViewClient.h

Issue 18822004: Extension Error Piping - Blink: WebKit Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « public/testing/WebTestProxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual WebWidget* createPopupMenu(const WebPopupMenuInfo&) { return 0; } 118 virtual WebWidget* createPopupMenu(const WebPopupMenuInfo&) { return 0; }
119 virtual WebExternalPopupMenu* createExternalPopupMenu( 119 virtual WebExternalPopupMenu* createExternalPopupMenu(
120 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } 120 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; }
121 121
122 // Create a session storage namespace object associated with this WebView. 122 // Create a session storage namespace object associated with this WebView.
123 virtual WebStorageNamespace* createSessionStorageNamespace() { return 0; } 123 virtual WebStorageNamespace* createSessionStorageNamespace() { return 0; }
124 124
125 125
126 // Misc ---------------------------------------------------------------- 126 // Misc ----------------------------------------------------------------
127 127
128 // Whether or not we should report a detailed message for the given source.
129 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; }
130
128 // A new message was added to the console. 131 // A new message was added to the console.
129 virtual void didAddMessageToConsole( 132 virtual void didAddMessageToConsole(
130 const WebConsoleMessage&, const WebString& sourceName, unsigned sourceLi ne) { } 133 const WebConsoleMessage&, const WebString& sourceName, unsigned sourceLi ne, const WebString& stackTrace) { }
131 134
132 // Called when script in the page calls window.print(). If frame is 135 // Called when script in the page calls window.print(). If frame is
133 // non-null, then it selects a particular frame, including its 136 // non-null, then it selects a particular frame, including its
134 // children, to print. Otherwise, the main frame and its children 137 // children, to print. Otherwise, the main frame and its children
135 // should be printed. 138 // should be printed.
136 virtual void printPage(WebFrame*) { } 139 virtual void printPage(WebFrame*) { }
137 140
138 // Called to retrieve the provider of desktop notifications. 141 // Called to retrieve the provider of desktop notifications.
139 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 142 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
140 143
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Informs the browser that the draggable regions have been updated. 395 // Informs the browser that the draggable regions have been updated.
393 virtual void draggableRegionsChanged() { } 396 virtual void draggableRegionsChanged() { }
394 397
395 protected: 398 protected:
396 ~WebViewClient() { } 399 ~WebViewClient() { }
397 }; 400 };
398 401
399 } // namespace WebKit 402 } // namespace WebKit
400 403
401 #endif 404 #endif
OLDNEW
« no previous file with comments | « public/testing/WebTestProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698