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

Side by Side Diff: Source/core/loader/EmptyClients.h

Issue 1167653007: Cleanup: Rename ChromeClient::setWindowRect and setWindowRectInternal. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/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, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 namespace blink { 64 namespace blink {
65 65
66 class CORE_EXPORT EmptyChromeClient : public ChromeClient { 66 class CORE_EXPORT EmptyChromeClient : public ChromeClient {
67 WTF_MAKE_FAST_ALLOCATED(EmptyChromeClient); 67 WTF_MAKE_FAST_ALLOCATED(EmptyChromeClient);
68 public: 68 public:
69 virtual ~EmptyChromeClient() { } 69 virtual ~EmptyChromeClient() { }
70 virtual void chromeDestroyed() override { } 70 virtual void chromeDestroyed() override { }
71 71
72 virtual void* webView() const override { return 0; } 72 virtual void* webView() const override { return 0; }
73 virtual void setWindowRectInternal(const IntRect&) override { } 73 virtual void setWindowRect(const IntRect&) override { }
74 virtual IntRect windowRect() override { return IntRect(); } 74 virtual IntRect windowRect() override { return IntRect(); }
75 75
76 virtual IntRect pageRect() override { return IntRect(); } 76 virtual IntRect pageRect() override { return IntRect(); }
77 77
78 virtual void focus() override { } 78 virtual void focus() override { }
79 79
80 virtual bool canTakeFocus(WebFocusType) override { return false; } 80 virtual bool canTakeFocus(WebFocusType) override { return false; }
81 virtual void takeFocus(WebFocusType) override { } 81 virtual void takeFocus(WebFocusType) override { }
82 82
83 virtual void focusedNodeChanged(Node*, Node*) override { } 83 virtual void focusedNodeChanged(Node*, Node*) override { }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 virtual ~EmptyDragClient() {} 309 virtual ~EmptyDragClient() {}
310 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 310 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
311 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 311 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
312 }; 312 };
313 313
314 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 314 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
315 315
316 } // namespace blink 316 } // namespace blink
317 317
318 #endif // EmptyClients_h 318 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698