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

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

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Another rebase Created 7 years, 2 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 | « Source/web/WebViewImpl.cpp ('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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // This method enumerates all the files in the path. It returns immediately 143 // This method enumerates all the files in the path. It returns immediately
144 // and asynchronously invokes the WebFileChooserCompletion with all the 144 // and asynchronously invokes the WebFileChooserCompletion with all the
145 // files in the directory. Returns false if the WebFileChooserCompletion 145 // files in the directory. Returns false if the WebFileChooserCompletion
146 // will never be called. 146 // will never be called.
147 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; } 147 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; }
148 148
149 // Creates the main WebFrame for the specified WebHelperPlugin. 149 // Creates the main WebFrame for the specified WebHelperPlugin.
150 // Called by WebHelperPlugin to provide the WebFrameClient interface for the WebFrame. 150 // Called by WebHelperPlugin to provide the WebFrameClient interface for the WebFrame.
151 virtual void initializeHelperPluginWebFrame(WebHelperPlugin*) { } 151 virtual void initializeHelperPluginWebFrame(WebHelperPlugin*) { }
152 152
153
154 // Navigational -------------------------------------------------------- 153 // Navigational --------------------------------------------------------
155 154
156 // These notifications bracket any loading that occurs in the WebView. 155 // These notifications bracket any loading that occurs in the WebView.
157 virtual void didStartLoading() { } 156 virtual void didStartLoading() { }
158 virtual void didStopLoading() { } 157 virtual void didStopLoading() { }
159 158
160 // Notification that some progress was made loading the current page. 159 // Notification that some progress was made loading the current page.
161 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully 160 // loadProgress is a value between 0 (nothing loaded) and 1.0 (frame fully
162 // loaded). 161 // loaded).
163 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { } 162 virtual void didChangeLoadProgress(WebFrame*, double loadProgress) { }
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // Informs the browser that the draggable regions have been updated. 398 // Informs the browser that the draggable regions have been updated.
400 virtual void draggableRegionsChanged() { } 399 virtual void draggableRegionsChanged() { }
401 400
402 protected: 401 protected:
403 ~WebViewClient() { } 402 ~WebViewClient() { }
404 }; 403 };
405 404
406 } // namespace WebKit 405 } // namespace WebKit
407 406
408 #endif 407 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698