Chromium Code Reviews| Index: content/renderer/render_view_impl.h |
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
| index e08d17d492a8afe413021b8129f1be349f795237..dceb0353cda2224abbded917fe888e7332363404 100644 |
| --- a/content/renderer/render_view_impl.h |
| +++ b/content/renderer/render_view_impl.h |
| @@ -28,7 +28,6 @@ |
| #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| #include "content/common/navigation_gesture.h" |
| #include "content/common/view_message_enums.h" |
| -#include "content/public/common/javascript_message_type.h" |
| #include "content/public/common/page_zoom.h" |
| #include "content/public/common/referrer.h" |
| #include "content/public/common/renderer_preferences.h" |
| @@ -449,8 +448,16 @@ class CONTENT_EXPORT RenderViewImpl |
| const blink::WebString& default_value, |
| blink::WebString* actual_value); |
| virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| - bool is_reload, |
| const blink::WebString& message); |
| + // -- Stub implementations -- |
| + virtual void runModalAlertDialog(const blink::WebString& message); |
| + virtual bool runModalConfirmDialog(const blink::WebString& message); |
| + virtual bool runModalPromptDialog(const blink::WebString& message, |
| + const blink::WebString& default_value, |
| + blink::WebString* actual_value); |
| + virtual bool runModalBeforeUnloadDialog(bool is_reload, |
| + const blink::WebString& message); |
| + // -- Stub implementations -- |
|
nasko
2014/04/08 14:05:04
nit: Are the following methods also stubs? If it i
Avi (use Gerrit)
2014/04/08 15:09:22
Done.
|
| virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, |
| const blink::WebString& main_text, |
| const blink::WebString& sub_text, |
| @@ -458,10 +465,6 @@ class CONTENT_EXPORT RenderViewImpl |
| virtual void hideValidationMessage() OVERRIDE; |
| virtual void moveValidationMessage( |
| const blink::WebRect& anchor_in_root_view) OVERRIDE; |
| - |
| - // DEPRECATED |
| - virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, |
| - const blink::WebString& message); |
| virtual void setStatusText(const blink::WebString& text); |
| virtual void setMouseOverURL(const blink::WebURL& url); |
| virtual void setKeyboardFocusURL(const blink::WebURL& url); |
| @@ -634,8 +637,6 @@ class CONTENT_EXPORT RenderViewImpl |
| virtual bool GetContentStateImmediately() const OVERRIDE; |
| virtual float GetFilteredTimePerFrame() const OVERRIDE; |
| virtual blink::WebPageVisibilityState GetVisibilityState() const OVERRIDE; |
| - virtual void RunModalAlertDialog(blink::WebLocalFrame* frame, |
| - const blink::WebString& message) OVERRIDE; |
| virtual void DidStartLoading() OVERRIDE; |
| virtual void DidStopLoading() OVERRIDE; |
| virtual void Repaint(const gfx::Size& size) OVERRIDE; |
| @@ -823,12 +824,6 @@ class CONTENT_EXPORT RenderViewImpl |
| void UpdateEncoding(blink::WebFrame* frame, |
| const std::string& encoding_name); |
| - bool RunJavaScriptMessage(JavaScriptMessageType type, |
| - const base::string16& message, |
| - const base::string16& default_value, |
| - const GURL& frame_url, |
| - base::string16* result); |
| - |
| // Sends a message and runs a nested message loop. |
| bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); |