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

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

Issue 2448833003: Sandbox should prevent 'execCommand("print", ...)'. (Closed)
Patch Set: Created 4 years, 1 month 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual float clampPageScaleFactorToLimits(float scale) const { 196 virtual float clampPageScaleFactorToLimits(float scale) const {
197 return scale; 197 return scale;
198 } 198 }
199 virtual void mainFrameScrollOffsetChanged() const {} 199 virtual void mainFrameScrollOffsetChanged() const {}
200 virtual void layoutUpdated(LocalFrame*) const {} 200 virtual void layoutUpdated(LocalFrame*) const {}
201 201
202 void mouseDidMoveOverElement(LocalFrame&, const HitTestResult&); 202 void mouseDidMoveOverElement(LocalFrame&, const HitTestResult&);
203 virtual void setToolTip(LocalFrame&, const String&, TextDirection) = 0; 203 virtual void setToolTip(LocalFrame&, const String&, TextDirection) = 0;
204 void clearToolTip(LocalFrame&); 204 void clearToolTip(LocalFrame&);
205 205
206 void print(LocalFrame*); 206 bool print(LocalFrame*);
207 207
208 virtual void annotatedRegionsChanged() = 0; 208 virtual void annotatedRegionsChanged() = 0;
209 209
210 virtual ColorChooser* openColorChooser(LocalFrame*, 210 virtual ColorChooser* openColorChooser(LocalFrame*,
211 ColorChooserClient*, 211 ColorChooserClient*,
212 const Color&) = 0; 212 const Color&) = 0;
213 213
214 // This function is used for: 214 // This function is used for:
215 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) 215 // - Mandatory date/time choosers if !ENABLE(INPUT_MULTIPLE_FIELDS_UI)
216 // - Date/time choosers for types for which 216 // - Date/time choosers for types for which
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 LayoutPoint m_lastToolTipPoint; 360 LayoutPoint m_lastToolTipPoint;
361 String m_lastToolTipText; 361 String m_lastToolTipText;
362 362
363 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 363 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
364 }; 364 };
365 365
366 } // namespace blink 366 } // namespace blink
367 367
368 #endif // ChromeClient_h 368 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698