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

Side by Side Diff: Source/WebKit/mac/WebCoreSupport/WebChromeClient.h

Issue 6955016: Merge 85823 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 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 | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | Source/WebKit/mac/WebView/WebFrame.mm » ('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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 */ 28 */
29 29
30 #import <WebCore/ChromeClient.h> 30 #import <WebCore/ChromeClient.h>
31 #import <WebCore/FocusDirection.h> 31 #import <WebCore/FocusDirection.h>
32 #import <wtf/Forward.h> 32 #import <wtf/Forward.h>
33 33
34 @class WebView; 34 @class WebView;
35 35
36 class WebChromeClient : public WebCore::ChromeClient { 36 class WebChromeClient : public WebCore::ChromeClient {
37 public: 37 public:
38 WebChromeClient(WebView *webView); 38 WebChromeClient(WebView*);
39 WebView *webView() const { return m_webView; } 39 virtual void* webView() const { return static_cast<void*>(m_webView); }
40 40
41 virtual void chromeDestroyed(); 41 virtual void chromeDestroyed();
42 42
43 virtual void setWindowRect(const WebCore::FloatRect&); 43 virtual void setWindowRect(const WebCore::FloatRect&);
44 virtual WebCore::FloatRect windowRect(); 44 virtual WebCore::FloatRect windowRect();
45 45
46 virtual WebCore::FloatRect pageRect(); 46 virtual WebCore::FloatRect pageRect();
47 47
48 virtual float scaleFactor(); 48 virtual float scaleFactor();
49 49
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 virtual bool selectItemAlignmentFollowsMenuWritingDirection(); 178 virtual bool selectItemAlignmentFollowsMenuWritingDirection();
179 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuCli ent*) const; 179 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuCli ent*) const;
180 virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore:: PopupMenuClient*) const; 180 virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore:: PopupMenuClient*) const;
181 181
182 #if ENABLE(CONTEXT_MENUS) 182 #if ENABLE(CONTEXT_MENUS)
183 virtual void showContextMenu(); 183 virtual void showContextMenu();
184 #endif 184 #endif
185 private: 185 private:
186 WebView *m_webView; 186 WebView *m_webView;
187 }; 187 };
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | Source/WebKit/mac/WebView/WebFrame.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698