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

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

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const HitTestResult&, unsigned modifierFlags) override; 86 const HitTestResult&, unsigned modifierFlags) override;
87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide; 87 virtual void setToolTip(const WTF::String& tooltipText, TextDirection) overr ide;
88 virtual void setCursor(const Cursor&) override; 88 virtual void setCursor(const Cursor&) override;
89 virtual void setTouchAction(TouchAction) override; 89 virtual void setTouchAction(TouchAction) override;
90 90
91 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 91 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
92 92
93 // Pass 0 as the GraphicsLayer to detatch the root layer. 93 // Pass 0 as the GraphicsLayer to detatch the root layer.
94 virtual void attachRootGraphicsLayer(GraphicsLayer*) override; 94 virtual void attachRootGraphicsLayer(GraphicsLayer*) override;
95 95
96 virtual void clearCompositedSelectionBounds() override;
97
98 // ChromeClient methods: 96 // ChromeClient methods:
99 virtual String acceptLanguages() override; 97 virtual String acceptLanguages() override;
100 98
101 // ChromeClientImpl: 99 // ChromeClientImpl:
102 void setNewWindowNavigationPolicy(WebNavigationPolicy); 100 void setNewWindowNavigationPolicy(WebNavigationPolicy);
103 101
104 // FIXME: Remove this method once we have input routing in the browser 102 // FIXME: Remove this method once we have input routing in the browser
105 // process. See http://crbug.com/339659. 103 // process. See http://crbug.com/339659.
106 virtual void forwardInputEvent(Frame*, Event*) override; 104 virtual void forwardInputEvent(Frame*, Event*) override;
107 105
108 virtual void willSetInputMethodState() override; 106 virtual void willSetInputMethodState() override;
109 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; 107 virtual void didUpdateTextOfFocusedElementByNonUserInput() override;
110 virtual void showImeIfNeeded() override; 108 virtual void showImeIfNeeded() override;
111 109
112 private: 110 private:
113 virtual bool isChromeClientImpl() const override { return true; } 111 virtual bool isChromeClientImpl() const override { return true; }
114 112
115 WebNavigationPolicy getNavigationPolicy(); 113 WebNavigationPolicy getNavigationPolicy();
116 void setCursor(const WebCursorInfo&); 114 void setCursor(const WebCursorInfo&);
117 115
118 WebViewImpl* m_webView; // weak pointer 116 WebViewImpl* m_webView; // weak pointer
119 }; 117 };
120 118
121 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 119 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
122 120
123 } // namespace blink 121 } // namespace blink
124 122
125 #endif // SKY_ENGINE_WEB_CHROMECLIENTIMPL_H_ 123 #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