OLD | NEW |
---|---|
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 // children, to print. Otherwise, the main frame and its children | 122 // children, to print. Otherwise, the main frame and its children |
123 // should be printed. | 123 // should be printed. |
124 virtual void printPage(WebLocalFrame*) { } | 124 virtual void printPage(WebLocalFrame*) { } |
125 | 125 |
126 // This method enumerates all the files in the path. It returns immediately | 126 // This method enumerates all the files in the path. It returns immediately |
127 // and asynchronously invokes the WebFileChooserCompletion with all the | 127 // and asynchronously invokes the WebFileChooserCompletion with all the |
128 // files in the directory. Returns false if the WebFileChooserCompletion | 128 // files in the directory. Returns false if the WebFileChooserCompletion |
129 // will never be called. | 129 // will never be called. |
130 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; } | 130 virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserC ompletion*) { return false; } |
131 | 131 |
132 // Whether to use less-restrictive criteria for identifying pages that are | |
133 // candidates for GPU rasterization. | |
134 virtual bool useExpandedHeuristicsForGpuRasterization() { return false; } | |
abarth-chromium
2014/06/04 02:23:43
This should be a WebSetting.
ajuma
2014/06/04 14:48:00
Done.
| |
132 | 135 |
abarth-chromium
2014/06/04 02:23:43
Two spaces between sections.
| |
133 // Editing ------------------------------------------------------------- | 136 // Editing ------------------------------------------------------------- |
134 | 137 |
135 // These methods allow the client to intercept and overrule editing | 138 // These methods allow the client to intercept and overrule editing |
136 // operations. | 139 // operations. |
137 virtual void didCancelCompositionOnSelectionChange() { } | 140 virtual void didCancelCompositionOnSelectionChange() { } |
138 virtual void didChangeContents() { } | 141 virtual void didChangeContents() { } |
139 | 142 |
140 // This method is called in response to WebView's handleInputEvent() | 143 // This method is called in response to WebView's handleInputEvent() |
141 // when the default action for the current keyboard event is not | 144 // when the default action for the current keyboard event is not |
142 // suppressed by the page, to give the embedder a chance to handle | 145 // suppressed by the page, to give the embedder a chance to handle |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
324 // Informs the browser that the draggable regions have been updated. | 327 // Informs the browser that the draggable regions have been updated. |
325 virtual void draggableRegionsChanged() { } | 328 virtual void draggableRegionsChanged() { } |
326 | 329 |
327 protected: | 330 protected: |
328 ~WebViewClient() { } | 331 ~WebViewClient() { } |
329 }; | 332 }; |
330 | 333 |
331 } // namespace blink | 334 } // namespace blink |
332 | 335 |
333 #endif | 336 #endif |
OLD | NEW |