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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1362223002: Cleanup: Remove references to tests that no longer exists / are unused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU Created 5 years, 2 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 | « content/public/test/test_browser_context.h ('k') | crypto/rsa_private_key.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 324
325 // blink::WebWidgetClient implementation ------------------------------------ 325 // blink::WebWidgetClient implementation ------------------------------------
326 326
327 // Most methods are handled by RenderWidget. 327 // Most methods are handled by RenderWidget.
328 virtual void didFocus(); 328 virtual void didFocus();
329 virtual void didBlur(); 329 virtual void didBlur();
330 virtual void show(blink::WebNavigationPolicy policy); 330 virtual void show(blink::WebNavigationPolicy policy);
331 virtual bool requestPointerLock(); 331 virtual bool requestPointerLock();
332 virtual void requestPointerUnlock(); 332 virtual void requestPointerUnlock();
333 virtual bool isPointerLocked(); 333 virtual bool isPointerLocked();
334 virtual void didHandleGestureEvent(const blink::WebGestureEvent& event, 334 void didHandleGestureEvent(const blink::WebGestureEvent& event,
335 bool event_cancelled) override; 335 bool event_cancelled) override;
336 virtual void onMouseDown(const blink::WebNode& mouse_down_node) override; 336 void onMouseDown(const blink::WebNode& mouse_down_node) override;
337 337
338 virtual void initializeLayerTreeView() override; 338 void initializeLayerTreeView() override;
339 339
340 // blink::WebViewClient implementation -------------------------------------- 340 // blink::WebViewClient implementation --------------------------------------
341 341
342 virtual blink::WebView* createView(blink::WebLocalFrame* creator, 342 virtual blink::WebView* createView(blink::WebLocalFrame* creator,
343 const blink::WebURLRequest& request, 343 const blink::WebURLRequest& request,
344 const blink::WebWindowFeatures& features, 344 const blink::WebWindowFeatures& features,
345 const blink::WebString& frame_name, 345 const blink::WebString& frame_name,
346 blink::WebNavigationPolicy policy, 346 blink::WebNavigationPolicy policy,
347 bool suppress_opener); 347 bool suppress_opener);
348 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type); 348 virtual blink::WebWidget* createPopupMenu(blink::WebPopupType popup_type);
349 virtual blink::WebStorageNamespace* createSessionStorageNamespace(); 349 virtual blink::WebStorageNamespace* createSessionStorageNamespace();
350 virtual void printPage(blink::WebLocalFrame* frame); 350 virtual void printPage(blink::WebLocalFrame* frame);
351 virtual bool enumerateChosenDirectory( 351 virtual bool enumerateChosenDirectory(
352 const blink::WebString& path, 352 const blink::WebString& path,
353 blink::WebFileChooserCompletion* chooser_completion); 353 blink::WebFileChooserCompletion* chooser_completion);
354 virtual void saveImageFromDataURL(const blink::WebString& data_url); 354 virtual void saveImageFromDataURL(const blink::WebString& data_url);
355 virtual void didCancelCompositionOnSelectionChange(); 355 virtual void didCancelCompositionOnSelectionChange();
356 virtual bool handleCurrentKeyboardEvent(); 356 virtual bool handleCurrentKeyboardEvent();
357 virtual bool runFileChooser( 357 virtual bool runFileChooser(
358 const blink::WebFileChooserParams& params, 358 const blink::WebFileChooserParams& params,
359 blink::WebFileChooserCompletion* chooser_completion); 359 blink::WebFileChooserCompletion* chooser_completion);
360 void SetValidationMessageDirection(base::string16* main_text, 360 void SetValidationMessageDirection(base::string16* main_text,
361 blink::WebTextDirection main_text_hint, 361 blink::WebTextDirection main_text_hint,
362 base::string16* sub_text, 362 base::string16* sub_text,
363 blink::WebTextDirection sub_text_hint); 363 blink::WebTextDirection sub_text_hint);
364 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, 364 void showValidationMessage(const blink::WebRect& anchor_in_root_view,
365 const blink::WebString& main_text, 365 const blink::WebString& main_text,
366 blink::WebTextDirection main_text_hint, 366 blink::WebTextDirection main_text_hint,
367 const blink::WebString& sub_text, 367 const blink::WebString& sub_text,
368 blink::WebTextDirection hint) override; 368 blink::WebTextDirection hint) override;
369 virtual void hideValidationMessage() override; 369 void hideValidationMessage() override;
370 virtual void moveValidationMessage( 370 void moveValidationMessage(
371 const blink::WebRect& anchor_in_root_view) override; 371 const blink::WebRect& anchor_in_root_view) override;
372 virtual void setStatusText(const blink::WebString& text); 372 virtual void setStatusText(const blink::WebString& text);
373 virtual void setMouseOverURL(const blink::WebURL& url); 373 virtual void setMouseOverURL(const blink::WebURL& url);
374 virtual void setKeyboardFocusURL(const blink::WebURL& url); 374 virtual void setKeyboardFocusURL(const blink::WebURL& url);
375 virtual void startDragging(blink::WebLocalFrame* frame, 375 virtual void startDragging(blink::WebLocalFrame* frame,
376 const blink::WebDragData& data, 376 const blink::WebDragData& data,
377 blink::WebDragOperationsMask mask, 377 blink::WebDragOperationsMask mask,
378 const blink::WebImage& image, 378 const blink::WebImage& image,
379 const blink::WebPoint& imageOffset); 379 const blink::WebPoint& imageOffset);
380 virtual bool acceptsLoadDrops(); 380 virtual bool acceptsLoadDrops();
(...skipping 29 matching lines...) Expand all
410 410
411 // Only used on Android since all other platforms implement 411 // Only used on Android since all other platforms implement
412 // date and time input fields using MULTIPLE_FIELDS_UI 412 // date and time input fields using MULTIPLE_FIELDS_UI
413 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, 413 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&,
414 blink::WebDateTimeChooserCompletion*); 414 blink::WebDateTimeChooserCompletion*);
415 virtual void didScrollWithKeyboard(const blink::WebSize& delta); 415 virtual void didScrollWithKeyboard(const blink::WebSize& delta);
416 #endif 416 #endif
417 417
418 // blink::WebPageSerializerClient implementation ---------------------------- 418 // blink::WebPageSerializerClient implementation ----------------------------
419 419
420 virtual void didSerializeDataForFrame( 420 void didSerializeDataForFrame(
421 const blink::WebURL& frame_url, 421 const blink::WebURL& frame_url,
422 const blink::WebCString& data, 422 const blink::WebCString& data,
423 PageSerializationStatus status) override; 423 PageSerializationStatus status) override;
424 424
425 // RenderView implementation ------------------------------------------------- 425 // RenderView implementation -------------------------------------------------
426 426
427 bool Send(IPC::Message* message) override; 427 bool Send(IPC::Message* message) override;
428 RenderFrameImpl* GetMainRenderFrame() override; 428 RenderFrameImpl* GetMainRenderFrame() override;
429 int GetRoutingID() const override; 429 int GetRoutingID() const override;
430 gfx::Size GetSize() const override; 430 gfx::Size GetSize() const override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset); 552 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset);
553 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); 553 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit);
554 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); 554 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame);
555 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); 555 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame);
556 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); 556 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper);
557 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 557 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
558 MessageOrderInDidChangeSelection); 558 MessageOrderInDidChangeSelection);
559 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendCandidateWindowEvents); 559 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendCandidateWindowEvents);
560 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, RenderFrameClearedAfterClose); 560 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, RenderFrameClearedAfterClose);
561 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, PaintAfterSwapOut); 561 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, PaintAfterSwapOut);
562 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, Suppresses);
563 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, DoesNotSuppress);
564 562
565 typedef std::map<GURL, double> HostZoomLevels; 563 typedef std::map<GURL, double> HostZoomLevels;
566 564
567 enum ErrorPageType { 565 enum ErrorPageType {
568 DNS_ERROR, 566 DNS_ERROR,
569 HTTP_404, 567 HTTP_404,
570 CONNECTION_ERROR, 568 CONNECTION_ERROR,
571 }; 569 };
572 570
573 // Old WebFrameClient implementations ---------------------------------------- 571 // Old WebFrameClient implementations ----------------------------------------
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // use the Observer interface to filter IPC messages and receive frame change 1021 // use the Observer interface to filter IPC messages and receive frame change
1024 // notifications. 1022 // notifications.
1025 // --------------------------------------------------------------------------- 1023 // ---------------------------------------------------------------------------
1026 1024
1027 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1025 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1028 }; 1026 };
1029 1027
1030 } // namespace content 1028 } // namespace content
1031 1029
1032 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1030 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/test_browser_context.h ('k') | crypto/rsa_private_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698