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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 2834783002: window.print() should close form validation bubble. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 FloatSize ElasticOverscroll() const override; 220 FloatSize ElasticOverscroll() const override;
221 221
222 void DidObserveNonGetFetchFromScript() const override; 222 void DidObserveNonGetFetchFromScript() const override;
223 223
224 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 224 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
225 BlameContext*) override; 225 BlameContext*) override;
226 226
227 double LastFrameTimeMonotonic() const override; 227 double LastFrameTimeMonotonic() const override;
228 228
229 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override;
230 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override;
229 void NotifyPopupOpeningObservers() const; 231 void NotifyPopupOpeningObservers() const;
230 232
231 void InstallSupplements(LocalFrame&) override; 233 void InstallSupplements(LocalFrame&) override;
232 234
233 WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) override; 235 WebLayerTreeView* GetWebLayerTreeView(LocalFrame*) override;
234 236
235 private: 237 private:
236 explicit ChromeClientImpl(WebViewImpl*); 238 explicit ChromeClientImpl(WebViewImpl*);
237 239
238 bool IsChromeClientImpl() const override { return true; } 240 bool IsChromeClientImpl() const override { return true; }
239 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override;
240 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override;
241 241
242 void SetCursor(const WebCursorInfo&, LocalFrame*); 242 void SetCursor(const WebCursorInfo&, LocalFrame*);
243 243
244 WebViewImpl* web_view_; // Weak pointer. 244 WebViewImpl* web_view_; // Weak pointer.
245 WindowFeatures window_features_; 245 WindowFeatures window_features_;
246 Vector<PopupOpeningObserver*> popup_opening_observers_; 246 Vector<PopupOpeningObserver*> popup_opening_observers_;
247 Cursor last_set_mouse_cursor_for_testing_; 247 Cursor last_set_mouse_cursor_for_testing_;
248 bool cursor_overridden_; 248 bool cursor_overridden_;
249 bool did_request_non_empty_tool_tip_; 249 bool did_request_non_empty_tool_tip_;
250 }; 250 };
251 251
252 DEFINE_TYPE_CASTS(ChromeClientImpl, 252 DEFINE_TYPE_CASTS(ChromeClientImpl,
253 ChromeClient, 253 ChromeClient,
254 client, 254 client,
255 client->IsChromeClientImpl(), 255 client->IsChromeClientImpl(),
256 client.IsChromeClientImpl()); 256 client.IsChromeClientImpl());
257 257
258 } // namespace blink 258 } // namespace blink
259 259
260 #endif 260 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698