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

Side by Side Diff: Source/WebKit2/WebProcess/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/win/WebCoreSupport/WebChromeClient.h ('k') | no next file » | 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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 public: 40 public:
41 WebChromeClient(WebPage* page) 41 WebChromeClient(WebPage* page)
42 : m_cachedMainFrameHasHorizontalScrollbar(false) 42 : m_cachedMainFrameHasHorizontalScrollbar(false)
43 , m_cachedMainFrameHasVerticalScrollbar(false) 43 , m_cachedMainFrameHasVerticalScrollbar(false)
44 , m_page(page) 44 , m_page(page)
45 { 45 {
46 } 46 }
47 47
48 WebPage* page() const { return m_page; } 48 WebPage* page() const { return m_page; }
49 49
50 virtual void* webView() const { return 0; }
51
50 private: 52 private:
51 virtual void chromeDestroyed(); 53 virtual void chromeDestroyed();
52 54
53 virtual void setWindowRect(const WebCore::FloatRect&); 55 virtual void setWindowRect(const WebCore::FloatRect&);
54 virtual WebCore::FloatRect windowRect(); 56 virtual WebCore::FloatRect windowRect();
55 57
56 virtual WebCore::FloatRect pageRect(); 58 virtual WebCore::FloatRect pageRect();
57 59
58 virtual float scaleFactor(); 60 virtual float scaleFactor();
59 61
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame; 222 mutable RefPtr<WebFrame> m_cachedFrameSetLargestFrame;
221 mutable bool m_cachedMainFrameHasHorizontalScrollbar; 223 mutable bool m_cachedMainFrameHasHorizontalScrollbar;
222 mutable bool m_cachedMainFrameHasVerticalScrollbar; 224 mutable bool m_cachedMainFrameHasVerticalScrollbar;
223 225
224 WebPage* m_page; 226 WebPage* m_page;
225 }; 227 };
226 228
227 } // namespace WebKit 229 } // namespace WebKit
228 230
229 #endif // WebChromeClient_h 231 #endif // WebChromeClient_h
OLDNEW
« no previous file with comments | « Source/WebKit/win/WebCoreSupport/WebChromeClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698