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

Side by Side Diff: sky/engine/web/ChromeClientImpl.h

Issue 866733007: Remove more unused code in WebViewImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/ChromeClientImpl.cpp » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual bool canTakeFocus(FocusType) override; 67 virtual bool canTakeFocus(FocusType) override;
68 virtual void takeFocus(FocusType) override; 68 virtual void takeFocus(FocusType) override;
69 virtual void focusedNodeChanged(Node*) override; 69 virtual void focusedNodeChanged(Node*) override;
70 virtual void focusedFrameChanged(LocalFrame*) override; 70 virtual void focusedFrameChanged(LocalFrame*) override;
71 virtual void show(NavigationPolicy) override; 71 virtual void show(NavigationPolicy) override;
72 virtual bool shouldReportDetailedMessageForSource(const WTF::String&) overri de; 72 virtual bool shouldReportDetailedMessageForSource(const WTF::String&) overri de;
73 virtual void addMessageToConsole( 73 virtual void addMessageToConsole(
74 LocalFrame*, MessageSource, MessageLevel, 74 LocalFrame*, MessageSource, MessageLevel,
75 const WTF::String& message, unsigned lineNumber, 75 const WTF::String& message, unsigned lineNumber,
76 const WTF::String& sourceID, const WTF::String& stackTrace) override; 76 const WTF::String& sourceID, const WTF::String& stackTrace) override;
77 virtual bool tabsToLinks() override;
78 virtual void scheduleAnimation() override; 77 virtual void scheduleAnimation() override;
79 virtual IntRect rootViewToScreen(const IntRect&) const override; 78 virtual IntRect rootViewToScreen(const IntRect&) const override;
80 virtual WebScreenInfo screenInfo() const override; 79 virtual WebScreenInfo screenInfo() const override;
81 virtual void layoutUpdated(LocalFrame*) const override; 80 virtual void layoutUpdated(LocalFrame*) const override;
82 virtual void mouseDidMoveOverElement( 81 virtual void mouseDidMoveOverElement(
83 const HitTestResult&, unsigned modifierFlags) override; 82 const HitTestResult&, unsigned modifierFlags) override;
84 virtual void setCursor(const Cursor&) override; 83 virtual void setCursor(const Cursor&) override;
85 virtual void setTouchAction(TouchAction) override; 84 virtual void setTouchAction(TouchAction) override;
86 85
87 // ChromeClient methods: 86 // ChromeClient methods:
(...skipping 17 matching lines...) Expand all
105 void setCursor(const WebCursorInfo&); 104 void setCursor(const WebCursorInfo&);
106 105
107 WebViewImpl* m_webView; // weak pointer 106 WebViewImpl* m_webView; // weak pointer
108 }; 107 };
109 108
110 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 109 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
111 110
112 } // namespace blink 111 } // namespace blink
113 112
114 #endif // SKY_ENGINE_WEB_CHROMECLIENTIMPL_H_ 113 #endif // SKY_ENGINE_WEB_CHROMECLIENTIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698