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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 virtual void didFinishResourceLoad(WebKit::WebFrame* frame, | 608 virtual void didFinishResourceLoad(WebKit::WebFrame* frame, |
609 unsigned identifier); | 609 unsigned identifier); |
610 virtual void didFailResourceLoad(WebKit::WebFrame* frame, | 610 virtual void didFailResourceLoad(WebKit::WebFrame* frame, |
611 unsigned identifier, | 611 unsigned identifier, |
612 const WebKit::WebURLError& error); | 612 const WebKit::WebURLError& error); |
613 virtual void didLoadResourceFromMemoryCache( | 613 virtual void didLoadResourceFromMemoryCache( |
614 WebKit::WebFrame* frame, | 614 WebKit::WebFrame* frame, |
615 const WebKit::WebURLRequest& request, | 615 const WebKit::WebURLRequest& request, |
616 const WebKit::WebURLResponse&); | 616 const WebKit::WebURLResponse&); |
617 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); | 617 virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); |
618 virtual void didRunInsecureContent(WebKit::WebFrame* frame, | 618 virtual void didRunInsecureContent( |
619 const WebKit::WebSecurityOrigin& origin); | 619 WebKit::WebFrame* frame, |
| 620 const WebKit::WebSecurityOrigin& origin) OVERRIDE; |
620 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); | 621 virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); |
621 virtual bool allowDatabase(WebKit::WebFrame* frame, | 622 virtual bool allowDatabase(WebKit::WebFrame* frame, |
622 const WebKit::WebString& name, | 623 const WebKit::WebString& name, |
623 const WebKit::WebString& display_name, | 624 const WebKit::WebString& display_name, |
624 unsigned long estimated_size); | 625 unsigned long estimated_size); |
625 virtual void didNotAllowScript(WebKit::WebFrame* frame); | 626 virtual void didNotAllowScript(WebKit::WebFrame* frame); |
626 virtual void didNotAllowPlugins(WebKit::WebFrame* frame); | 627 virtual void didNotAllowPlugins(WebKit::WebFrame* frame); |
627 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 628 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
628 virtual void didCreateScriptContext(WebKit::WebFrame* frame); | 629 virtual void didCreateScriptContext(WebKit::WebFrame* frame); |
629 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); | 630 virtual void didDestroyScriptContext(WebKit::WebFrame* frame); |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1524 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
1524 // sections rather than throwing it randomly at the end. If you're adding a | 1525 // sections rather than throwing it randomly at the end. If you're adding a |
1525 // bunch of stuff, you should probably create a helper class and put your | 1526 // bunch of stuff, you should probably create a helper class and put your |
1526 // data and methods on that to avoid bloating RenderView more. | 1527 // data and methods on that to avoid bloating RenderView more. |
1527 // --------------------------------------------------------------------------- | 1528 // --------------------------------------------------------------------------- |
1528 | 1529 |
1529 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1530 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1530 }; | 1531 }; |
1531 | 1532 |
1532 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1533 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |