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

Side by Side Diff: chrome/renderer/render_view.h

Issue 5944001: Make Graphics3D::SwapBuffers take a completion callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 const GURL& url, 658 const GURL& url,
659 const gfx::Size& size, 659 const gfx::Size& size,
660 const std::string& json_arguments, 660 const std::string& json_arguments,
661 std::string* json_retval); 661 std::string* json_retval);
662 virtual WebKit::WebCookieJar* GetCookieJar(); 662 virtual WebKit::WebCookieJar* GetCookieJar();
663 663
664 // Please do not add your stuff randomly to the end here. If there is an 664 // Please do not add your stuff randomly to the end here. If there is an
665 // appropriate section, add it there. If not, there are some random functions 665 // appropriate section, add it there. If not, there are some random functions
666 // nearer to the top you can add it to. 666 // nearer to the top you can add it to.
667 667
668 virtual void DidFlushPaint();
668 protected: 669 protected:
669 // RenderWidget overrides: 670 // RenderWidget overrides:
670 virtual void Close(); 671 virtual void Close();
671 virtual void OnResize(const gfx::Size& new_size, 672 virtual void OnResize(const gfx::Size& new_size,
672 const gfx::Rect& resizer_rect); 673 const gfx::Rect& resizer_rect);
673 virtual void DidInitiatePaint(); 674 virtual void DidInitiatePaint();
674 virtual void DidFlushPaint();
675 virtual bool GetBitmapForOptimizedPluginPaint( 675 virtual bool GetBitmapForOptimizedPluginPaint(
676 const gfx::Rect& paint_bounds, 676 const gfx::Rect& paint_bounds,
677 TransportDIB** dib, 677 TransportDIB** dib,
678 gfx::Rect* location, 678 gfx::Rect* location,
679 gfx::Rect* clip); 679 gfx::Rect* clip);
680 virtual void DidHandleKeyEvent(); 680 virtual void DidHandleKeyEvent();
681 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event); 681 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event);
682 virtual void OnSetFocus(bool enable); 682 virtual void OnSetFocus(bool enable);
683 #if OS_MACOSX 683 #if OS_MACOSX
684 virtual void OnWasHidden(); 684 virtual void OnWasHidden();
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1499 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1500 // sections rather than throwing it randomly at the end. If you're adding a 1500 // sections rather than throwing it randomly at the end. If you're adding a
1501 // bunch of stuff, you should probably create a helper class and put your 1501 // bunch of stuff, you should probably create a helper class and put your
1502 // data and methods on that to avoid bloating RenderView more. 1502 // data and methods on that to avoid bloating RenderView more.
1503 // --------------------------------------------------------------------------- 1503 // ---------------------------------------------------------------------------
1504 1504
1505 DISALLOW_COPY_AND_ASSIGN(RenderView); 1505 DISALLOW_COPY_AND_ASSIGN(RenderView);
1506 }; 1506 };
1507 1507
1508 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1508 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698