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

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

Issue 2601763002: WebFrame cleanup: Move addMessageToConsole to WebLocalFrame (Closed)
Patch Set: Created 3 years, 12 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 AXObjectCache::AXNotification) {} 272 AXObjectCache::AXNotification) {}
273 virtual String acceptLanguages() = 0; 273 virtual String acceptLanguages() = 0;
274 274
275 enum DialogType { 275 enum DialogType {
276 AlertDialog = 0, 276 AlertDialog = 0,
277 ConfirmDialog = 1, 277 ConfirmDialog = 1,
278 PromptDialog = 2, 278 PromptDialog = 2,
279 HTMLDialog = 3 279 HTMLDialog = 3
280 }; 280 };
281 virtual bool shouldOpenModalDialogDuringPageDismissal( 281 virtual bool shouldOpenModalDialogDuringPageDismissal(
282 const DialogType&, 282 LocalFrame&,
283 DialogType,
283 const String&, 284 const String&,
284 Document::PageDismissalType) const { 285 Document::PageDismissalType) const {
285 return true; 286 return true;
286 } 287 }
287 288
288 virtual bool isSVGImageChromeClient() const { return false; } 289 virtual bool isSVGImageChromeClient() const { return false; }
289 290
290 virtual bool requestPointerLock(LocalFrame*) { return false; } 291 virtual bool requestPointerLock(LocalFrame*) { return false; }
291 virtual void requestPointerUnlock(LocalFrame*) {} 292 virtual void requestPointerUnlock(LocalFrame*) {}
292 293
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 361
361 LayoutPoint m_lastToolTipPoint; 362 LayoutPoint m_lastToolTipPoint;
362 String m_lastToolTipText; 363 String m_lastToolTipText;
363 364
364 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 365 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
365 }; 366 };
366 367
367 } // namespace blink 368 } // namespace blink
368 369
369 #endif // ChromeClient_h 370 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698