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

Side by Side Diff: Source/WebCore/loader/EmptyClients.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 | « LayoutTests/fast/media/media-svg-crash-expected.txt ('k') | Source/WebCore/page/ChromeClient.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 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 private: 83 private:
84 RefPtr<EmptyPopupMenu> m_popup; 84 RefPtr<EmptyPopupMenu> m_popup;
85 }; 85 };
86 86
87 class EmptyChromeClient : public ChromeClient { 87 class EmptyChromeClient : public ChromeClient {
88 public: 88 public:
89 virtual ~EmptyChromeClient() { } 89 virtual ~EmptyChromeClient() { }
90 virtual void chromeDestroyed() { } 90 virtual void chromeDestroyed() { }
91 91
92 virtual void* webView() const { return 0; }
92 virtual void setWindowRect(const FloatRect&) { } 93 virtual void setWindowRect(const FloatRect&) { }
93 virtual FloatRect windowRect() { return FloatRect(); } 94 virtual FloatRect windowRect() { return FloatRect(); }
94 95
95 virtual FloatRect pageRect() { return FloatRect(); } 96 virtual FloatRect pageRect() { return FloatRect(); }
96 97
97 virtual float scaleFactor() { return 1.f; } 98 virtual float scaleFactor() { return 1.f; }
98 99
99 virtual void focus() { } 100 virtual void focus() { }
100 virtual void unfocus() { } 101 virtual void unfocus() { }
101 102
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 virtual void setController(DeviceOrientationController*) { } 607 virtual void setController(DeviceOrientationController*) { }
607 virtual void startUpdating() { } 608 virtual void startUpdating() { }
608 virtual void stopUpdating() { } 609 virtual void stopUpdating() { }
609 virtual DeviceOrientation* lastOrientation() const { return 0; } 610 virtual DeviceOrientation* lastOrientation() const { return 0; }
610 virtual void deviceOrientationControllerDestroyed() { } 611 virtual void deviceOrientationControllerDestroyed() { }
611 }; 612 };
612 613
613 } 614 }
614 615
615 #endif // EmptyClients_h 616 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/media/media-svg-crash-expected.txt ('k') | Source/WebCore/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698