OLD | NEW |
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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 bool is_reload) = 0; | 362 bool is_reload) = 0; |
363 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 363 virtual bool OpenJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
364 virtual bool OpenJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; | 364 virtual bool OpenJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; |
365 virtual bool OpenJavaScriptPromptDelegate(LocalFrame*, | 365 virtual bool OpenJavaScriptPromptDelegate(LocalFrame*, |
366 const String& message, | 366 const String& message, |
367 const String& default_value, | 367 const String& default_value, |
368 String& result) = 0; | 368 String& result) = 0; |
369 virtual void PrintDelegate(LocalFrame*) = 0; | 369 virtual void PrintDelegate(LocalFrame*) = 0; |
370 | 370 |
371 private: | 371 private: |
372 bool CanOpenModalIfDuringPageDismissal(Frame* main_frame, | 372 bool CanOpenModalIfDuringPageDismissal(Frame& main_frame, |
373 DialogType, | 373 DialogType, |
374 const String& message); | 374 const String& message); |
375 void SetToolTip(LocalFrame&, const HitTestResult&); | 375 void SetToolTip(LocalFrame&, const HitTestResult&); |
376 | 376 |
377 WeakMember<Node> last_mouse_over_node_; | 377 WeakMember<Node> last_mouse_over_node_; |
378 LayoutPoint last_tool_tip_point_; | 378 LayoutPoint last_tool_tip_point_; |
379 String last_tool_tip_text_; | 379 String last_tool_tip_text_; |
380 | 380 |
381 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 381 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
382 }; | 382 }; |
383 | 383 |
384 } // namespace blink | 384 } // namespace blink |
385 | 385 |
386 #endif // ChromeClient_h | 386 #endif // ChromeClient_h |
OLD | NEW |