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

Side by Side Diff: sky/engine/core/page/Chrome.h

Issue 654693004: Remove meta viewport and @viewport CSS rules. (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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple 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 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 25 matching lines...) Expand all
36 class DateTimeChooser; 36 class DateTimeChooser;
37 class DateTimeChooserClient; 37 class DateTimeChooserClient;
38 class FloatRect; 38 class FloatRect;
39 class LocalFrame; 39 class LocalFrame;
40 class HitTestResult; 40 class HitTestResult;
41 class IntRect; 41 class IntRect;
42 class Node; 42 class Node;
43 class Page; 43 class Page;
44 44
45 struct DateTimeChooserParameters; 45 struct DateTimeChooserParameters;
46 struct ViewportDescription;
47 46
48 class Chrome final : public HostWindow { 47 class Chrome final : public HostWindow {
49 public: 48 public:
50 virtual ~Chrome(); 49 virtual ~Chrome();
51 50
52 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); 51 static PassOwnPtr<Chrome> create(Page*, ChromeClient*);
53 52
54 ChromeClient& client() { return *m_client; } 53 ChromeClient& client() { return *m_client; }
55 54
56 // HostWindow methods. 55 // HostWindow methods.
(...skipping 17 matching lines...) Expand all
74 void takeFocus(FocusType) const; 73 void takeFocus(FocusType) const;
75 74
76 void focusedNodeChanged(Node*) const; 75 void focusedNodeChanged(Node*) const;
77 76
78 void show(NavigationPolicy = NavigationPolicyIgnore) const; 77 void show(NavigationPolicy = NavigationPolicyIgnore) const;
79 78
80 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags); 79 void mouseDidMoveOverElement(const HitTestResult&, unsigned modifierFlags);
81 80
82 void setToolTip(const HitTestResult&); 81 void setToolTip(const HitTestResult&);
83 82
84 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const;
85
86 void willBeDestroyed(); 83 void willBeDestroyed();
87 84
88 private: 85 private:
89 Chrome(Page*, ChromeClient*); 86 Chrome(Page*, ChromeClient*);
90 87
91 Page* m_page; 88 Page* m_page;
92 ChromeClient* m_client; 89 ChromeClient* m_client;
93 }; 90 };
94 91
95 } 92 }
96 93
97 #endif // Chrome_h 94 #endif // Chrome_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698