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

Side by Side Diff: webkit/glue/webview.h

Issue 113591: Fix Acid3 Test 48: LINKTEST, Chromium side.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Made waiting more bearable. Created 11 years, 5 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 WEBKIT_GLUE_WEBVIEW_H_ 5 #ifndef WEBKIT_GLUE_WEBVIEW_H_
6 #define WEBKIT_GLUE_WEBVIEW_H_ 6 #define WEBKIT_GLUE_WEBVIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // certain types should be handled. 44 // certain types should be handled.
45 class WebView : public WebWidget { 45 class WebView : public WebWidget {
46 public: 46 public:
47 WebView() {} 47 WebView() {}
48 virtual ~WebView() {} 48 virtual ~WebView() {}
49 49
50 // This method creates a WebView that is initially sized to an empty rect. 50 // This method creates a WebView that is initially sized to an empty rect.
51 static WebView* Create(WebViewDelegate* delegate, 51 static WebView* Create(WebViewDelegate* delegate,
52 const WebPreferences& prefs); 52 const WebPreferences& prefs);
53 53
54 // Tells all Page instances of this view to update the visited link state for
55 // the specified hash.
56 static void UpdateVisitedLinkState(uint64 link_hash);
57
58 // Tells all Page instances of this view to update visited state for all their
59 // links.
60 static void ResetVisitedLinkState();
61
54 // Returns the delegate for this WebView. This is the pointer that was 62 // Returns the delegate for this WebView. This is the pointer that was
55 // passed to WebView::Create. The caller must check this value before using 63 // passed to WebView::Create. The caller must check this value before using
56 // it, it will be NULL during closing of the view. 64 // it, it will be NULL during closing of the view.
57 virtual WebViewDelegate* GetDelegate() = 0; 65 virtual WebViewDelegate* GetDelegate() = 0;
58 66
59 // Changes the delegate for this WebView. It is valid to set this to NULL. 67 // Changes the delegate for this WebView. It is valid to set this to NULL.
60 virtual void SetDelegate(WebViewDelegate* delegate) = 0; 68 virtual void SetDelegate(WebViewDelegate* delegate) = 0;
61 69
62 // Instructs the EditorClient whether to pass editing notifications on to a 70 // Instructs the EditorClient whether to pass editing notifications on to a
63 // delegate, if one is present. This allows embedders that haven't 71 // delegate, if one is present. This allows embedders that haven't
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Makes the webview transparent. Useful if you want to have some custom 236 // Makes the webview transparent. Useful if you want to have some custom
229 // background behind it. 237 // background behind it.
230 virtual void SetIsTransparent(bool is_transparent) = 0; 238 virtual void SetIsTransparent(bool is_transparent) = 0;
231 virtual bool GetIsTransparent() const = 0; 239 virtual bool GetIsTransparent() const = 0;
232 240
233 private: 241 private:
234 DISALLOW_COPY_AND_ASSIGN(WebView); 242 DISALLOW_COPY_AND_ASSIGN(WebView);
235 }; 243 };
236 244
237 #endif // WEBKIT_GLUE_WEBVIEW_H_ 245 #endif // WEBKIT_GLUE_WEBVIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698