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

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

Issue 329943004: Implementation of brand-color (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "public/web/WebRemoteFrame.h" 8 #include "public/web/WebRemoteFrame.h"
9 #include "web/RemoteFrameClient.h" 9 #include "web/RemoteFrameClient.h"
10 #include "wtf/RefCounted.h" 10 #include "wtf/RefCounted.h"
(...skipping 14 matching lines...) Expand all
25 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE; 25 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE;
26 virtual void close() OVERRIDE; 26 virtual void close() OVERRIDE;
27 virtual WebString uniqueName() const OVERRIDE; 27 virtual WebString uniqueName() const OVERRIDE;
28 virtual WebString assignedName() const OVERRIDE; 28 virtual WebString assignedName() const OVERRIDE;
29 virtual void setName(const WebString&) OVERRIDE; 29 virtual void setName(const WebString&) OVERRIDE;
30 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; 30 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE;
31 virtual void setIsRemote(bool) OVERRIDE; 31 virtual void setIsRemote(bool) OVERRIDE;
32 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; 32 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE;
33 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; 33 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE;
34 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE; 34 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE;
35 virtual WebColor brandColor() const OVERRIDE;
35 virtual void setCanHaveScrollbars(bool) OVERRIDE; 36 virtual void setCanHaveScrollbars(bool) OVERRIDE;
36 virtual WebSize scrollOffset() const OVERRIDE; 37 virtual WebSize scrollOffset() const OVERRIDE;
37 virtual void setScrollOffset(const WebSize&) OVERRIDE; 38 virtual void setScrollOffset(const WebSize&) OVERRIDE;
38 virtual WebSize minimumScrollOffset() const OVERRIDE; 39 virtual WebSize minimumScrollOffset() const OVERRIDE;
39 virtual WebSize maximumScrollOffset() const OVERRIDE; 40 virtual WebSize maximumScrollOffset() const OVERRIDE;
40 virtual WebSize contentsSize() const OVERRIDE; 41 virtual WebSize contentsSize() const OVERRIDE;
41 virtual bool hasVisibleContent() const OVERRIDE; 42 virtual bool hasVisibleContent() const OVERRIDE;
42 virtual WebRect visibleContentRect() const OVERRIDE; 43 virtual WebRect visibleContentRect() const OVERRIDE;
43 virtual bool hasHorizontalScrollbar() const OVERRIDE; 44 virtual bool hasHorizontalScrollbar() const OVERRIDE;
44 virtual bool hasVerticalScrollbar() const OVERRIDE; 45 virtual bool hasVerticalScrollbar() const OVERRIDE;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 RemoteFrameClient m_frameClient; 177 RemoteFrameClient m_frameClient;
177 RefPtr<WebCore::RemoteFrame> m_frame; 178 RefPtr<WebCore::RemoteFrame> m_frame;
178 }; 179 };
179 180
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 181 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
181 182
182 183
183 } // namespace blink 184 } // namespace blink
184 185
185 #endif // WebRemoteFrameImpl_h 186 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698