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

Side by Side Diff: sky/engine/public/web/WebDocument.h

Issue 678193005: Remove more frame-level scrolling machinery. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 BLINK_EXPORT WebElement documentElement() const; 83 BLINK_EXPORT WebElement documentElement() const;
84 BLINK_EXPORT WebString title() const; 84 BLINK_EXPORT WebString title() const;
85 BLINK_EXPORT WebURL completeURL(const WebString&) const; 85 BLINK_EXPORT WebURL completeURL(const WebString&) const;
86 BLINK_EXPORT WebElement getElementById(const WebString&) const; 86 BLINK_EXPORT WebElement getElementById(const WebString&) const;
87 BLINK_EXPORT WebElement focusedElement() const; 87 BLINK_EXPORT WebElement focusedElement() const;
88 BLINK_EXPORT WebDocumentType doctype() const; 88 BLINK_EXPORT WebDocumentType doctype() const;
89 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); 89 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType);
90 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 90 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
91 BLINK_EXPORT WebElement createElement(const WebString& tagName); 91 BLINK_EXPORT WebElement createElement(const WebString& tagName);
92 // Shorthand of frame()->scrollOffset().
93 BLINK_EXPORT WebSize scrollOffset() const;
94 // Shorthand of frame()->minimumScrollOffset().
95 BLINK_EXPORT WebSize minimumScrollOffset() const;
96 // Shorthand of frame()->maximumScrollOffset().
97 BLINK_EXPORT WebSize maximumScrollOffset() const;
98 92
99 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt ring& name, v8::Handle<v8::Value> options, WebExceptionCode&); 93 BLINK_EXPORT v8::Handle<v8::Value> registerEmbedderCustomElement(const WebSt ring& name, v8::Handle<v8::Value> options, WebExceptionCode&);
100 94
101 #if BLINK_IMPLEMENTATION 95 #if BLINK_IMPLEMENTATION
102 WebDocument(const PassRefPtr<Document>&); 96 WebDocument(const PassRefPtr<Document>&);
103 WebDocument& operator=(const PassRefPtr<Document>&); 97 WebDocument& operator=(const PassRefPtr<Document>&);
104 operator PassRefPtr<Document>() const; 98 operator PassRefPtr<Document>() const;
105 #endif 99 #endif
106 }; 100 };
107 101
108 } // namespace blink 102 } // namespace blink
109 103
110 #endif 104 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | sky/engine/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698