OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 320 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
321 virtual void runModalAlertDialog(const blink::WebString& message); | 321 virtual void runModalAlertDialog(const blink::WebString& message); |
322 virtual bool runModalConfirmDialog(const blink::WebString& message); | 322 virtual bool runModalConfirmDialog(const blink::WebString& message); |
323 virtual bool runModalPromptDialog(const blink::WebString& message, | 323 virtual bool runModalPromptDialog(const blink::WebString& message, |
324 const blink::WebString& default_value, | 324 const blink::WebString& default_value, |
325 blink::WebString* actual_value); | 325 blink::WebString* actual_value); |
326 virtual bool runModalBeforeUnloadDialog(bool is_reload, | 326 virtual bool runModalBeforeUnloadDialog(bool is_reload, |
327 const blink::WebString& message); | 327 const blink::WebString& message); |
328 virtual void showContextMenu(const blink::WebContextMenuData& data); | 328 virtual void showContextMenu(const blink::WebContextMenuData& data); |
329 virtual void clearContextMenu(); | 329 virtual void clearContextMenu(); |
330 virtual void willRequestAfterPreconnect(blink::WebLocalFrame* frame, | |
331 blink::WebURLRequest& request); | |
332 virtual void willSendRequest(blink::WebLocalFrame* frame, | 330 virtual void willSendRequest(blink::WebLocalFrame* frame, |
333 unsigned identifier, | 331 unsigned identifier, |
334 blink::WebURLRequest& request, | 332 blink::WebURLRequest& request, |
335 const blink::WebURLResponse& redirect_response); | 333 const blink::WebURLResponse& redirect_response); |
336 virtual void didReceiveResponse(blink::WebLocalFrame* frame, | 334 virtual void didReceiveResponse(blink::WebLocalFrame* frame, |
337 unsigned identifier, | 335 unsigned identifier, |
338 const blink::WebURLResponse& response); | 336 const blink::WebURLResponse& response); |
339 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, | 337 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
340 unsigned identifier); | 338 unsigned identifier); |
341 virtual void didLoadResourceFromMemoryCache( | 339 virtual void didLoadResourceFromMemoryCache( |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 655 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
658 | 656 |
659 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 657 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
660 | 658 |
661 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 659 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
662 }; | 660 }; |
663 | 661 |
664 } // namespace content | 662 } // namespace content |
665 | 663 |
666 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 664 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |