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

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

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed comment Created 8 years, 11 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
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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class GURL; 65 class GURL;
66 class JavaBridgeDispatcher; 66 class JavaBridgeDispatcher;
67 class LoadProgressTracker; 67 class LoadProgressTracker;
68 class MediaStreamDispatcher; 68 class MediaStreamDispatcher;
69 class MediaStreamImpl; 69 class MediaStreamImpl;
70 class NotificationProvider; 70 class NotificationProvider;
71 class PepperDeviceTest; 71 class PepperDeviceTest;
72 struct PP_NetAddress_Private; 72 struct PP_NetAddress_Private;
73 class RenderWidgetFullscreenPepper; 73 class RenderWidgetFullscreenPepper;
74 class RendererAccessibility; 74 class RendererAccessibility;
75 class RendererWebColorChooserImpl;
75 class SkBitmap; 76 class SkBitmap;
76 class SpeechInputDispatcher; 77 class SpeechInputDispatcher;
77 struct ViewMsg_Navigate_Params; 78 struct ViewMsg_Navigate_Params;
78 struct ViewMsg_StopFinding_Params; 79 struct ViewMsg_StopFinding_Params;
79 struct ViewMsg_SwapOut_Params; 80 struct ViewMsg_SwapOut_Params;
80 struct WebDropData; 81 struct WebDropData;
81 class WebIntentsHost; 82 class WebIntentsHost;
82 class WebPluginDelegateProxy; 83 class WebPluginDelegateProxy;
83 class WebUIBindings; 84 class WebUIBindings;
84 85
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 WebKit::WebFileChooserCompletion* chooser_completion); 348 WebKit::WebFileChooserCompletion* chooser_completion);
348 virtual void didStartLoading(); 349 virtual void didStartLoading();
349 virtual void didStopLoading(); 350 virtual void didStopLoading();
350 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, 351 virtual void didChangeLoadProgress(WebKit::WebFrame* frame,
351 double load_progress); 352 double load_progress);
352 virtual bool isSmartInsertDeleteEnabled(); 353 virtual bool isSmartInsertDeleteEnabled();
353 virtual bool isSelectTrailingWhitespaceEnabled(); 354 virtual bool isSelectTrailingWhitespaceEnabled();
354 virtual void didChangeSelection(bool is_selection_empty); 355 virtual void didChangeSelection(bool is_selection_empty);
355 virtual void didExecuteCommand(const WebKit::WebString& command_name); 356 virtual void didExecuteCommand(const WebKit::WebString& command_name);
356 virtual bool handleCurrentKeyboardEvent(); 357 virtual bool handleCurrentKeyboardEvent();
358 virtual WebKit::WebColorChooser* createColorChooser(
359 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color);
360 void endColorChooser();
357 virtual bool runFileChooser( 361 virtual bool runFileChooser(
358 const WebKit::WebFileChooserParams& params, 362 const WebKit::WebFileChooserParams& params,
359 WebKit::WebFileChooserCompletion* chooser_completion); 363 WebKit::WebFileChooserCompletion* chooser_completion);
360 virtual void runModalAlertDialog(WebKit::WebFrame* frame, 364 virtual void runModalAlertDialog(WebKit::WebFrame* frame,
361 const WebKit::WebString& message); 365 const WebKit::WebString& message);
362 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, 366 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame,
363 const WebKit::WebString& message); 367 const WebKit::WebString& message);
364 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, 368 virtual bool runModalPromptDialog(WebKit::WebFrame* frame,
365 const WebKit::WebString& message, 369 const WebKit::WebString& message,
366 const WebKit::WebString& default_value, 370 const WebKit::WebString& default_value,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 1167
1164 DevToolsAgent* devtools_agent_; 1168 DevToolsAgent* devtools_agent_;
1165 1169
1166 RendererAccessibility* renderer_accessibility_; 1170 RendererAccessibility* renderer_accessibility_;
1167 1171
1168 // Java Bridge dispatcher attached to this view; lazily initialized. 1172 // Java Bridge dispatcher attached to this view; lazily initialized.
1169 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_; 1173 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_;
1170 1174
1171 // Misc ---------------------------------------------------------------------- 1175 // Misc ----------------------------------------------------------------------
1172 1176
1177 RendererWebColorChooserImpl* color_chooser_;
1178
1173 // The current and pending file chooser completion objects. If the queue is 1179 // The current and pending file chooser completion objects. If the queue is
1174 // nonempty, the first item represents the currently running file chooser 1180 // nonempty, the first item represents the currently running file chooser
1175 // callback, and the remaining elements are the other file chooser completion 1181 // callback, and the remaining elements are the other file chooser completion
1176 // still waiting to be run (in order). 1182 // still waiting to be run (in order).
1177 struct PendingFileChooser; 1183 struct PendingFileChooser;
1178 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1184 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
1179 1185
1180 // The current directory enumeration callback 1186 // The current directory enumeration callback
1181 std::map<int, WebKit::WebFileChooserCompletion*> enumeration_completions_; 1187 std::map<int, WebKit::WebFileChooserCompletion*> enumeration_completions_;
1182 int enumeration_completion_id_; 1188 int enumeration_completion_id_;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 // bunch of stuff, you should probably create a helper class and put your 1254 // bunch of stuff, you should probably create a helper class and put your
1249 // data and methods on that to avoid bloating RenderView more. You can 1255 // data and methods on that to avoid bloating RenderView more. You can
1250 // use the Observer interface to filter IPC messages and receive frame change 1256 // use the Observer interface to filter IPC messages and receive frame change
1251 // notifications. 1257 // notifications.
1252 // --------------------------------------------------------------------------- 1258 // ---------------------------------------------------------------------------
1253 1259
1254 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1260 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1255 }; 1261 };
1256 1262
1257 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1263 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698