Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Side by Side Diff: webkit/api/public/WebFrame.h

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | webkit/api/public/WebView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebFrame_h 31 #ifndef WebFrame_h
32 #define WebFrame_h 32 #define WebFrame_h
33 33
34 #include "WebCanvas.h" 34 #include "WebCanvas.h"
35 #include "WebURL.h" 35 #include "WebURL.h"
36 36
37 class WebView; // FIXME: Move into the WebKit namespace.
38 struct NPObject; 37 struct NPObject;
39 38
40 #if WEBKIT_USING_V8 39 #if WEBKIT_USING_V8
41 namespace v8 { 40 namespace v8 {
42 class Context; 41 class Context;
43 template <class T> class Local; 42 template <class T> class Local;
44 } 43 }
45 #endif 44 #endif
46 45
47 namespace WebKit { 46 namespace WebKit {
48 class WebData; 47 class WebData;
49 class WebDataSource; 48 class WebDataSource;
50 class WebForm; 49 class WebForm;
51 class WebHistoryItem; 50 class WebHistoryItem;
52 class WebRange; 51 class WebRange;
53 class WebSecurityOrigin; 52 class WebSecurityOrigin;
54 class WebString; 53 class WebString;
55 class WebURL; 54 class WebURL;
56 class WebURLRequest; 55 class WebURLRequest;
56 class WebView;
57 struct WebConsoleMessage; 57 struct WebConsoleMessage;
58 struct WebFindOptions; 58 struct WebFindOptions;
59 struct WebRect; 59 struct WebRect;
60 struct WebScriptSource; 60 struct WebScriptSource;
61 struct WebSize; 61 struct WebSize;
62 template <typename T> class WebVector; 62 template <typename T> class WebVector;
63 63
64 class WebFrame { 64 class WebFrame {
65 public: 65 public:
66 // The two functions below retrieve the WebFrame instances relating the 66 // The two functions below retrieve the WebFrame instances relating the
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // current document. 116 // current document.
117 virtual int contentsPreferredWidth() const = 0; 117 virtual int contentsPreferredWidth() const = 0;
118 118
119 // Returns true if the contents (minus scrollbars) has non-zero area. 119 // Returns true if the contents (minus scrollbars) has non-zero area.
120 virtual bool hasVisibleContent() const = 0; 120 virtual bool hasVisibleContent() const = 0;
121 121
122 122
123 // Hierarchy ---------------------------------------------------------- 123 // Hierarchy ----------------------------------------------------------
124 124
125 // Returns the containing view. 125 // Returns the containing view.
126 virtual ::WebView* view() const = 0; 126 virtual WebView* view() const = 0;
127 127
128 // Returns the frame that opened this frame or 0 if there is none. 128 // Returns the frame that opened this frame or 0 if there is none.
129 virtual WebFrame* opener() const = 0; 129 virtual WebFrame* opener() const = 0;
130 130
131 // Returns the parent frame or 0 if this is a top-most frame. 131 // Returns the parent frame or 0 if this is a top-most frame.
132 virtual WebFrame* parent() const = 0; 132 virtual WebFrame* parent() const = 0;
133 133
134 // Returns the top-most frame in the hierarchy containing this frame. 134 // Returns the top-most frame in the hierarchy containing this frame.
135 virtual WebFrame* top() const = 0; 135 virtual WebFrame* top() const = 0;
136 136
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // from the DOM. 439 // from the DOM.
440 virtual WebString contentAsMarkup() const = 0; 440 virtual WebString contentAsMarkup() const = 0;
441 441
442 protected: 442 protected:
443 ~WebFrame() { } 443 ~WebFrame() { }
444 }; 444 };
445 445
446 } // namespace WebKit 446 } // namespace WebKit
447 447
448 #endif 448 #endif
OLDNEW
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | webkit/api/public/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698