| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/id_map.h" | 16 #include "base/id_map.h" |
| 17 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
| 20 #include "base/process/process.h" | 20 #include "base/process/process.h" |
| 21 #include "base/strings/string16.h" |
| 21 #include "base/timer/timer.h" | 22 #include "base/timer/timer.h" |
| 22 #include "build/build_config.h" | 23 #include "build/build_config.h" |
| 23 #include "cc/input/top_controls_state.h" | 24 #include "cc/input/top_controls_state.h" |
| 24 #include "content/common/content_export.h" | 25 #include "content/common/content_export.h" |
| 25 #include "content/common/drag_event_source_info.h" | 26 #include "content/common/drag_event_source_info.h" |
| 26 #include "content/common/edit_command.h" | 27 #include "content/common/edit_command.h" |
| 27 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 28 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| 28 #include "content/common/navigation_gesture.h" | 29 #include "content/common/navigation_gesture.h" |
| 29 #include "content/common/view_message_enums.h" | 30 #include "content/common/view_message_enums.h" |
| 30 #include "content/public/common/javascript_message_type.h" | 31 #include "content/public/common/javascript_message_type.h" |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 WebKit::WebFrame* creator, | 440 WebKit::WebFrame* creator, |
| 440 const WebKit::WebURLRequest& request, | 441 const WebKit::WebURLRequest& request, |
| 441 const WebKit::WebWindowFeatures& features, | 442 const WebKit::WebWindowFeatures& features, |
| 442 const WebKit::WebString& frame_name, | 443 const WebKit::WebString& frame_name, |
| 443 WebKit::WebNavigationPolicy policy); | 444 WebKit::WebNavigationPolicy policy); |
| 444 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); | 445 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); |
| 445 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( | 446 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( |
| 446 const WebKit::WebPopupMenuInfo& popup_menu_info, | 447 const WebKit::WebPopupMenuInfo& popup_menu_info, |
| 447 WebKit::WebExternalPopupMenuClient* popup_menu_client); | 448 WebKit::WebExternalPopupMenuClient* popup_menu_client); |
| 448 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); | 449 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); |
| 450 virtual bool shouldReportDetailedMessageForSource( |
| 451 const WebKit::WebString& source); |
| 452 // TODO(rdevlin.cronin): Remove this version once |
| 453 // https://codereview.chromium.org/18822004/ lands. |
| 449 virtual void didAddMessageToConsole( | 454 virtual void didAddMessageToConsole( |
| 450 const WebKit::WebConsoleMessage& message, | 455 const WebKit::WebConsoleMessage& message, |
| 451 const WebKit::WebString& source_name, | 456 const WebKit::WebString& source_name, |
| 452 unsigned source_line); | 457 unsigned source_line); |
| 458 virtual void didAddMessageToConsole( |
| 459 const WebKit::WebConsoleMessage& message, |
| 460 const WebKit::WebString& source_name, |
| 461 unsigned source_line, const WebKit::WebString& stack_trace); |
| 453 virtual void printPage(WebKit::WebFrame* frame); | 462 virtual void printPage(WebKit::WebFrame* frame); |
| 454 virtual WebKit::WebNotificationPresenter* notificationPresenter(); | 463 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
| 455 virtual bool enumerateChosenDirectory( | 464 virtual bool enumerateChosenDirectory( |
| 456 const WebKit::WebString& path, | 465 const WebKit::WebString& path, |
| 457 WebKit::WebFileChooserCompletion* chooser_completion); | 466 WebKit::WebFileChooserCompletion* chooser_completion); |
| 458 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); | 467 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); |
| 459 virtual void didStartLoading(); | 468 virtual void didStartLoading(); |
| 460 virtual void didStopLoading(); | 469 virtual void didStopLoading(); |
| 461 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 470 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
| 462 double load_progress); | 471 double load_progress); |
| (...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 // use the Observer interface to filter IPC messages and receive frame change | 1584 // use the Observer interface to filter IPC messages and receive frame change |
| 1576 // notifications. | 1585 // notifications. |
| 1577 // --------------------------------------------------------------------------- | 1586 // --------------------------------------------------------------------------- |
| 1578 | 1587 |
| 1579 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1588 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1580 }; | 1589 }; |
| 1581 | 1590 |
| 1582 } // namespace content | 1591 } // namespace content |
| 1583 | 1592 |
| 1584 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1593 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |