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

Side by Side Diff: content/public/renderer/render_view.h

Issue 10544084: Fix crash when displaying system print dialog on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 6 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/renderer/print_web_view_helper.cc ('k') | content/renderer/render_view_impl.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // keeping back/forward history in sync. 57 // keeping back/forward history in sync.
58 // Note that this is NOT updated for every main frame navigation, only for 58 // Note that this is NOT updated for every main frame navigation, only for
59 // "regular" navigations that go into session history. In particular, client 59 // "regular" navigations that go into session history. In particular, client
60 // redirects, like the page cycler uses (document.location.href="foo") do not 60 // redirects, like the page cycler uses (document.location.href="foo") do not
61 // count as regular navigations and do not increment the page id. 61 // count as regular navigations and do not increment the page id.
62 virtual int GetPageId() const = 0; 62 virtual int GetPageId() const = 0;
63 63
64 // Returns the size of the view. 64 // Returns the size of the view.
65 virtual gfx::Size GetSize() const = 0; 65 virtual gfx::Size GetSize() const = 0;
66 66
67 // Returns the window we are embedded within.
68 virtual gfx::NativeViewId GetHostWindow() const = 0;
69
70 // Gets WebKit related preferences associated with this view. 67 // Gets WebKit related preferences associated with this view.
71 virtual webkit_glue::WebPreferences& GetWebkitPreferences() = 0; 68 virtual webkit_glue::WebPreferences& GetWebkitPreferences() = 0;
72 69
73 // Returns the associated WebView. May return NULL when the view is closing. 70 // Returns the associated WebView. May return NULL when the view is closing.
74 virtual WebKit::WebView* GetWebView() = 0; 71 virtual WebKit::WebView* GetWebView() = 0;
75 72
76 // Gets the focused node. If no such node exists then the node will be isNull. 73 // Gets the focused node. If no such node exists then the node will be isNull.
77 virtual WebKit::WebNode GetFocusedNode() const = 0; 74 virtual WebKit::WebNode GetFocusedNode() const = 0;
78 75
79 // Gets the node that the context menu was pressed over. 76 // Gets the node that the context menu was pressed over.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // The client should handle the navigation externally. 125 // The client should handle the navigation externally.
129 virtual void LoadURLExternally( 126 virtual void LoadURLExternally(
130 WebKit::WebFrame* frame, 127 WebKit::WebFrame* frame,
131 const WebKit::WebURLRequest& request, 128 const WebKit::WebURLRequest& request,
132 WebKit::WebNavigationPolicy policy) = 0; 129 WebKit::WebNavigationPolicy policy) = 0;
133 }; 130 };
134 131
135 } // namespace content 132 } // namespace content
136 133
137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ 134 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698