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

Side by Side Diff: sky/engine/web/PageWidgetDelegate.h

Issue 687003002: Remove PageOverlays. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/web/PageOverlayList.cpp ('k') | sky/engine/web/PageWidgetDelegate.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define PageWidgetDelegate_h 32 #define PageWidgetDelegate_h
33 33
34 #include "public/platform/WebCanvas.h" 34 #include "public/platform/WebCanvas.h"
35 #include "public/web/WebWidget.h" 35 #include "public/web/WebWidget.h"
36 #include "wtf/OwnPtr.h" 36 #include "wtf/OwnPtr.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class LocalFrame; 40 class LocalFrame;
41 class Page; 41 class Page;
42 class PageOverlayList;
43 class WebGestureEvent; 42 class WebGestureEvent;
44 class WebInputEvent; 43 class WebInputEvent;
45 class WebKeyboardEvent; 44 class WebKeyboardEvent;
46 class WebMouseEvent; 45 class WebMouseEvent;
47 class WebMouseWheelEvent; 46 class WebMouseWheelEvent;
48 class WebTouchEvent; 47 class WebTouchEvent;
49 48
50 class PageWidgetEventHandler { 49 class PageWidgetEventHandler {
51 public: 50 public:
52 virtual void handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent&); 51 virtual void handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent&);
(...skipping 14 matching lines...) Expand all
67 public: 66 public:
68 enum CanvasBackground { 67 enum CanvasBackground {
69 Opaque, 68 Opaque,
70 Translucent, 69 Translucent,
71 }; 70 };
72 // rootFrame arguments indicate a root localFrame from which to start perfor ming the 71 // rootFrame arguments indicate a root localFrame from which to start perfor ming the
73 // specified operation. If rootFrame is 0, these methods will attempt to use the 72 // specified operation. If rootFrame is 0, these methods will attempt to use the
74 // Page's mainFrame(), if it is a LocalFrame. 73 // Page's mainFrame(), if it is a LocalFrame.
75 static void animate(Page*, double monotonicFrameBeginTime, LocalFrame* rootF rame = 0); 74 static void animate(Page*, double monotonicFrameBeginTime, LocalFrame* rootF rame = 0);
76 static void layout(Page*, LocalFrame* rootFrame = 0); 75 static void layout(Page*, LocalFrame* rootFrame = 0);
77 static void paint(Page*, PageOverlayList*, WebCanvas*, const WebRect&, Canva sBackground, LocalFrame* rootFrame = 0); 76 static void paint(Page*, WebCanvas*, const WebRect&, CanvasBackground, Local Frame* rootFrame = 0);
78 static bool handleInputEvent(Page*, PageWidgetEventHandler&, const WebInputE vent&, LocalFrame* rootFrame = 0); 77 static bool handleInputEvent(Page*, PageWidgetEventHandler&, const WebInputE vent&, LocalFrame* rootFrame = 0);
79 78
80 private: 79 private:
81 PageWidgetDelegate() { } 80 PageWidgetDelegate() { }
82 }; 81 };
83 82
84 } 83 }
85 #endif 84 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/PageOverlayList.cpp ('k') | sky/engine/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698