OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 const WebKit::WebString& path, | 365 const WebKit::WebString& path, |
366 WebKit::WebFileChooserCompletion* chooser_completion); | 366 WebKit::WebFileChooserCompletion* chooser_completion); |
367 virtual void didStartLoading(); | 367 virtual void didStartLoading(); |
368 virtual void didStopLoading(); | 368 virtual void didStopLoading(); |
369 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 369 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
370 double load_progress); | 370 double load_progress); |
371 virtual bool isSmartInsertDeleteEnabled(); | 371 virtual bool isSmartInsertDeleteEnabled(); |
372 virtual bool isSelectTrailingWhitespaceEnabled(); | 372 virtual bool isSelectTrailingWhitespaceEnabled(); |
373 virtual void didChangeSelection(bool is_selection_empty); | 373 virtual void didChangeSelection(bool is_selection_empty); |
374 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 374 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
| 375 virtual bool canTriggerClipboardRead(const WebKit::WebURL& url); |
| 376 virtual bool canTriggerClipboardWrite(const WebKit::WebURL& url); |
375 virtual bool handleCurrentKeyboardEvent(); | 377 virtual bool handleCurrentKeyboardEvent(); |
376 virtual bool runFileChooser( | 378 virtual bool runFileChooser( |
377 const WebKit::WebFileChooserParams& params, | 379 const WebKit::WebFileChooserParams& params, |
378 WebKit::WebFileChooserCompletion* chooser_completion); | 380 WebKit::WebFileChooserCompletion* chooser_completion); |
379 virtual void runModalAlertDialog(WebKit::WebFrame* frame, | 381 virtual void runModalAlertDialog(WebKit::WebFrame* frame, |
380 const WebKit::WebString& message); | 382 const WebKit::WebString& message); |
381 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, | 383 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, |
382 const WebKit::WebString& message); | 384 const WebKit::WebString& message); |
383 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 385 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
384 const WebKit::WebString& message, | 386 const WebKit::WebString& message, |
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 // bunch of stuff, you should probably create a helper class and put your | 1168 // bunch of stuff, you should probably create a helper class and put your |
1167 // data and methods on that to avoid bloating RenderView more. You can use | 1169 // data and methods on that to avoid bloating RenderView more. You can use |
1168 // the Observer interface to filter IPC messages and receive frame change | 1170 // the Observer interface to filter IPC messages and receive frame change |
1169 // notifications. | 1171 // notifications. |
1170 // --------------------------------------------------------------------------- | 1172 // --------------------------------------------------------------------------- |
1171 | 1173 |
1172 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1174 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1173 }; | 1175 }; |
1174 | 1176 |
1175 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1177 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |