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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 1176423008: Forward mouse down node information to WebWidgetClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Input mehtod editor related functions. 232 // Input mehtod editor related functions.
233 virtual void didCancelCompositionOnSelectionChange() { } 233 virtual void didCancelCompositionOnSelectionChange() { }
234 virtual void willSetInputMethodState() { } 234 virtual void willSetInputMethodState() { }
235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
236 virtual void showImeIfNeeded() { } 236 virtual void showImeIfNeeded() { }
237 237
238 virtual void registerViewportLayers() const { } 238 virtual void registerViewportLayers() const { }
239 239
240 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 240 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
241 241
242 virtual void onClickInput(Node*) { }
please use gerrit instead 2015/06/17 20:07:08 Should this be called "onClickNode(Node*)" instead
Yufeng Shen (Slow to review) 2015/06/17 20:12:57 oh, I think the name actually means the click is a
please use gerrit instead 2015/06/17 20:58:05 Sure.
243
242 virtual void didUpdateTopControls() const { } 244 virtual void didUpdateTopControls() const { }
243 245
244 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 246 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
245 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 247 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
246 248
247 protected: 249 protected:
248 virtual ~ChromeClient() { } 250 virtual ~ChromeClient() { }
249 251
250 virtual void showMouseOverURL(const HitTestResult&) = 0; 252 virtual void showMouseOverURL(const HitTestResult&) = 0;
251 virtual void setWindowRect(const IntRect&) = 0; 253 virtual void setWindowRect(const IntRect&) = 0;
252 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0; 254 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0;
253 virtual void openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; 255 virtual void openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
254 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; 256 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0;
255 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0; 257 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0;
256 virtual void printDelegate(LocalFrame*) = 0; 258 virtual void printDelegate(LocalFrame*) = 0;
257 259
258 private: 260 private:
259 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 261 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
260 void setToolTip(const HitTestResult&); 262 void setToolTip(const HitTestResult&);
261 }; 263 };
262 264
263 } // namespace blink 265 } // namespace blink
264 266
265 #endif // ChromeClient_h 267 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698