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

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

Issue 2929493003: Move handling of DraggableRegionsChanged notification from "view" to "frame". (Closed)
Patch Set: Also add main frame filtering to the browser-side. Created 3 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 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
3 * reserved. 3 * 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 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 virtual void MainFrameScrollOffsetChanged() const {} 200 virtual void MainFrameScrollOffsetChanged() const {}
201 virtual void ResizeAfterLayout() const {} 201 virtual void ResizeAfterLayout() const {}
202 virtual void LayoutUpdated() const {} 202 virtual void LayoutUpdated() const {}
203 203
204 void MouseDidMoveOverElement(LocalFrame&, const HitTestResult&); 204 void MouseDidMoveOverElement(LocalFrame&, const HitTestResult&);
205 virtual void SetToolTip(LocalFrame&, const String&, TextDirection) = 0; 205 virtual void SetToolTip(LocalFrame&, const String&, TextDirection) = 0;
206 void ClearToolTip(LocalFrame&); 206 void ClearToolTip(LocalFrame&);
207 207
208 bool Print(LocalFrame*); 208 bool Print(LocalFrame*);
209 209
210 virtual void AnnotatedRegionsChanged() = 0;
211
212 virtual ColorChooser* OpenColorChooser(LocalFrame*, 210 virtual ColorChooser* OpenColorChooser(LocalFrame*,
213 ColorChooserClient*, 211 ColorChooserClient*,
214 const Color&) = 0; 212 const Color&) = 0;
215 213
216 // This function is used for: 214 // This function is used for:
217 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) 215 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI)
218 // - Date/time choosers for types for which 216 // - Date/time choosers for types for which
219 // LayoutTheme::supportsCalendarPicker returns true, if 217 // LayoutTheme::supportsCalendarPicker returns true, if
220 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) 218 // ENABLE(INPUT_MULTIPLE_FIELDS_UI)
221 // - <datalist> UI for date/time input types regardless of 219 // - <datalist> UI for date/time input types regardless of
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 WeakMember<Node> last_mouse_over_node_; 388 WeakMember<Node> last_mouse_over_node_;
391 LayoutPoint last_tool_tip_point_; 389 LayoutPoint last_tool_tip_point_;
392 String last_tool_tip_text_; 390 String last_tool_tip_text_;
393 391
394 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 392 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
395 }; 393 };
396 394
397 } // namespace blink 395 } // namespace blink
398 396
399 #endif // ChromeClient_h 397 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698